summaryrefslogtreecommitdiff
path: root/keyboards/massdrop/alt/keymaps/default
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2020-09-21 20:29:04 -0400
committerGitHub <noreply@github.com>2020-09-21 17:29:04 -0700
commitbc8fe91fd10b290c43c25c2890ad64e73948db47 (patch)
tree8fb98d6dfdc4e6897e5356da48ea5c58b10a43da /keyboards/massdrop/alt/keymaps/default
parente3f9569acd42854bbadfbf27a0f8b59271d09284 (diff)
massdrop/alt: Remove unused user functions and config in default keymaps (#10313)
The default keymaps don't make use of the global `keymap_config` variable nor the `matrix_*_user()` functions. Therefore, remove them to avoid confusion for future keymap authors.
Diffstat (limited to 'keyboards/massdrop/alt/keymaps/default')
-rw-r--r--keyboards/massdrop/alt/keymaps/default/keymap.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/keyboards/massdrop/alt/keymaps/default/keymap.c b/keyboards/massdrop/alt/keymaps/default/keymap.c
index 52fd35b454..0d3e7ccb7a 100644
--- a/keyboards/massdrop/alt/keymaps/default/keymap.c
+++ b/keyboards/massdrop/alt/keymaps/default/keymap.c
@@ -10,8 +10,6 @@ enum alt_keycodes {
MD_BOOT, //Restart into bootloader after hold timeout
};
-keymap_config_t keymap_config;
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_65_ansi_blocker(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, \
@@ -38,14 +36,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
};
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-};
-
-// Runs constantly in the background, in a loop.
-void matrix_scan_user(void) {
-};
-
#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT))
#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTRL))
#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT))