1
0
Fork 0

Tidy up default layer handling in keymaps (#23436)

This commit is contained in:
Joel Challis 2024-04-08 02:56:46 +01:00 committed by GitHub
parent 11deaf60b4
commit ad8d934d3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 50 additions and 417 deletions

View file

@ -9,12 +9,6 @@
#define _FN_1 1
#define _FN_2 2
enum custom_keycodes {
DEFAULT = SAFE_RANGE,
FN_1,
FN_2
};
// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))
#define TSKMGR LCTL(LSFT(KC_ESC))
@ -49,15 +43,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
void persistant_default_layer_set(uint16_t default_layer) {
eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
// NONE
}
return true;
}