diff options
| author | Joel Challis <git@zvecr.com> | 2024-04-08 02:56:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-08 02:56:46 +0100 |
| commit | ad8d934d3cb325d5ad2ed98167a8aa869ccc5e9e (patch) | |
| tree | ae7808dfc856ca9782309ee62d471b7eaedbde6f /keyboards/maple_computing/the_ruler | |
| parent | 11deaf60b43235acc15aa7c8b1e901cba78503e6 (diff) | |
Tidy up default layer handling in keymaps (#23436)
Diffstat (limited to 'keyboards/maple_computing/the_ruler')
| -rw-r--r-- | keyboards/maple_computing/the_ruler/keymaps/default/keymap.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c b/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c index 87190f0b3f..6ef57fd895 100644 --- a/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c +++ b/keyboards/maple_computing/the_ruler/keymaps/default/keymap.c | |||
| @@ -9,12 +9,6 @@ | |||
| 9 | #define _FN_1 1 | 9 | #define _FN_1 1 |
| 10 | #define _FN_2 2 | 10 | #define _FN_2 2 |
| 11 | 11 | ||
| 12 | enum custom_keycodes { | ||
| 13 | DEFAULT = SAFE_RANGE, | ||
| 14 | FN_1, | ||
| 15 | FN_2 | ||
| 16 | }; | ||
| 17 | |||
| 18 | // Defines for task manager and such | 12 | // Defines for task manager and such |
| 19 | #define CALTDEL LCTL(LALT(KC_DEL)) | 13 | #define CALTDEL LCTL(LALT(KC_DEL)) |
| 20 | #define TSKMGR LCTL(LSFT(KC_ESC)) | 14 | #define TSKMGR LCTL(LSFT(KC_ESC)) |
| @@ -49,15 +43,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 49 | ) | 43 | ) |
| 50 | 44 | ||
| 51 | }; | 45 | }; |
| 52 | |||
| 53 | void persistant_default_layer_set(uint16_t default_layer) { | ||
| 54 | eeconfig_update_default_layer(default_layer); | ||
| 55 | default_layer_set(default_layer); | ||
| 56 | } | ||
| 57 | |||
| 58 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 59 | switch (keycode) { | ||
| 60 | // NONE | ||
| 61 | } | ||
| 62 | return true; | ||
| 63 | } | ||
