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
80 changed files with 286 additions and 1705 deletions
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -56,13 +55,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -56,13 +55,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -58,13 +57,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -62,13 +61,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -62,13 +61,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -62,13 +61,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -68,13 +67,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -68,13 +67,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -15,8 +15,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -70,13 +69,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);
@@ -13,8 +13,7 @@ enum layer_number {
};
enum custom_keycodes {
QWERTY = SAFE_RANGE,
ADJUST,
ADJUST = SAFE_RANGE,
RGBRST
};
@@ -68,13 +67,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) {
print("mode just switched to qwerty and this is a huge string\n");
set_single_persistent_default_layer(_QWERTY);
}
break;
case ADJUST:
if (record->event.pressed) {
layer_on(_ADJUST);