aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/massdrop/alt/keymaps/mac_md
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/mac_md
parente3f9569acd42854bbadfbf27a0f8b59271d09284 (diff)
downloadfirmware-bc8fe91fd10b290c43c25c2890ad64e73948db47.tar.gz
firmware-bc8fe91fd10b290c43c25c2890ad64e73948db47.tar.bz2
firmware-bc8fe91fd10b290c43c25c2890ad64e73948db47.zip
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/mac_md')
-rw-r--r--keyboards/massdrop/alt/keymaps/mac_md/keymap.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/keyboards/massdrop/alt/keymaps/mac_md/keymap.c b/keyboards/massdrop/alt/keymaps/mac_md/keymap.c
index 439e79399..b3626c1b6 100644
--- a/keyboards/massdrop/alt/keymaps/mac_md/keymap.c
+++ b/keyboards/massdrop/alt/keymaps/mac_md/keymap.c
@@ -21,8 +21,6 @@ enum alt_keycodes {
MD_BOOT //Restart into bootloader after hold timeout //Working
};
-keymap_config_t keymap_config;
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
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, \
@@ -49,14 +47,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))