1
0
Fork 0

Update keymaps to use PDF keycode (#24633)

This commit is contained in:
Joel Challis 2024-11-23 13:35:34 +00:00 committed by GitHub
parent 4a5bae51cd
commit e4e015c0c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
80 changed files with 286 additions and 1705 deletions

View file

@ -24,8 +24,7 @@ enum waldo_layers {
};
enum waldo_keycodes {
QWERTY = SAFE_RANGE,
BACKLIT
BACKLIT = SAFE_RANGE,
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -78,12 +77,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case QWERTY:
if (record->event.pressed) {
set_single_persistent_default_layer(_QWERTY);
}
return false;
break;
case BACKLIT:
if (record->event.pressed) {
#ifdef BACKLIGHT_ENABLE