diff options
author | lokher <lokher@gmail.com> | 2023-03-16 12:07:35 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2023-03-16 12:07:35 +0800 |
commit | 77cbe1469a6a83ef00a5eaffce318a176bfacdd4 (patch) | |
tree | ccdf99aba0b4e1cbcbf152be0cd200dc73fa3f1b /keyboards/keychron/k6_pro | |
parent | ee715fc26ade41e56f47e60527f17d5cbdfb584b (diff) |
add q1_pro;add 'encoder_inerrupt_read' to encoder.c;change factory test key definition to config.h
Diffstat (limited to 'keyboards/keychron/k6_pro')
-rw-r--r-- | keyboards/keychron/k6_pro/config.h | 5 | ||||
-rw-r--r-- | keyboards/keychron/k6_pro/iso/rgb/keymaps/default/keymap.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/k6_pro/config.h b/keyboards/keychron/k6_pro/config.h index 025d1fe783..af5ab56dd5 100644 --- a/keyboards/keychron/k6_pro/config.h +++ b/keyboards/keychron/k6_pro/config.h @@ -95,5 +95,6 @@ #define FEE_DENSITY_BYTES FEE_PAGE_SIZE #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047 - -//#define NO_PRINT +/* Factory test keys */ +#define FN_KEY1 MO(2) +#define FN_KEY2 MO(3) diff --git a/keyboards/keychron/k6_pro/iso/rgb/keymaps/default/keymap.c b/keyboards/keychron/k6_pro/iso/rgb/keymaps/default/keymap.c index 96bd8fbaf1..61fddbc1c6 100644 --- a/keyboards/keychron/k6_pro/iso/rgb/keymaps/default/keymap.c +++ b/keyboards/keychron/k6_pro/iso/rgb/keymaps/default/keymap.c @@ -30,14 +30,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 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, RGB_MOD, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, KC_LCTL, KC_LOPTN, KC_LCMMD, KC_SPC, KC_RCMMD,MO(MAC_FN1),MO(FN2), KC_LEFT, KC_DOWN, KC_RGHT), [WIN_BASE] = LAYOUT_iso_69( 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, RGB_MOD, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(WIN_FN1),MO(FN2), KC_LEFT, KC_DOWN, KC_RGHT), [MAC_FN1] = LAYOUT_iso_69( |