Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Keychron Q3 #21995

Merged
merged 21 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
77c6a5d
Update Keychron Q3
adophoxia Sep 13, 2023
d16db44
Move custom matrix back to `config.h` and `rules.mk`
adophoxia Sep 13, 2023
737a5d6
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 14, 2023
cb9d93e
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 21, 2023
7e6972b
Update keyboards/keychron/q3/readme.md
adophoxia Sep 21, 2023
860f899
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 22, 2023
eb59b39
Merge branch 'keychron-q3-update' of https://github.com/adophoxia/qmk…
adophoxia Sep 22, 2023
aa62ac3
Move eeprom config. to `info.json`, remove unused `features`, and add…
adophoxia Sep 22, 2023
bcb8eee
Remove redundant "features" schema from `<kb>/info.json`.
adophoxia Sep 22, 2023
fffcdb3
Update keyboards/keychron/q3/ansi_encoder/info.json
adophoxia Sep 22, 2023
aef49f5
Update keyboards/keychron/q3/ansi/info.json
adophoxia Sep 22, 2023
193de41
Update keyboards/keychron/q3/iso/info.json
adophoxia Sep 22, 2023
7cbd5f3
Update keyboards/keychron/q3/iso_encoder/info.json
adophoxia Sep 22, 2023
805597a
Update keyboards/keychron/q3/jis/info.json
adophoxia Sep 22, 2023
ae058d5
Update keyboards/keychron/q3/jis_encoder/info.json
adophoxia Sep 22, 2023
473187c
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 23, 2023
f99f56a
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 25, 2023
d8e307b
Update keyboards/keychron/q3/config.h
adophoxia Sep 25, 2023
9ae4e98
Merge branch 'keychron-q3-update' of https://github.com/adophoxia/qmk…
adophoxia Sep 23, 2023
528f04c
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 30, 2023
58b252d
Merge branch 'keychron-q3-update' of https://github.com/adophoxia/qmk…
adophoxia Sep 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions keyboards/keychron/q3/ansi/ansi.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,36 +119,4 @@ const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
{1, C_15, A_15, B_15},
};

#define __ NO_LED

led_config_t g_led_config = {
{
// Key Matrix to LED Index
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, __, 13, 14 },
{ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 },
{ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48 },
{ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 49, 62, 15, 32 },
{ 63, __, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, __, 74, 86, 75 },
{ 76, 77, 78, __, __, __, 79, __, __, __, 80, 81, 82, 83, 84, 85 },
},
{
// LED Index to Physical Position
{0,0}, {26,0}, {39,0}, {52,0}, {65,0}, {85,0}, {98,0}, {111,0}, {124,0}, {143,0}, {156,0}, {169,0}, {182,0}, {198,0}, {211,0}, {224,0},
{0,15}, {13,15}, {26,15}, {39,15}, {52,15}, {65,15}, {78,15}, {91,15}, {104,15}, {117,15}, {130,15}, {143,15}, {156,15}, {176,15}, {198,15}, {211,15}, {224,15},
{3,28}, {20,28}, {33,28}, {46,28}, {59,28}, {72,28}, {85,28}, {98,28}, {111,28}, {124,28}, {137,28}, {150,28}, {163,28}, {179,28}, {198,28}, {211,28}, {224,28},
{5,40}, {23,40}, {36,40}, {49,40}, {62,40}, {75,40}, {88,40}, {101,40}, {114,40}, {127,40}, {140,40}, {153,40}, {174,40},
{8,52}, {29,52}, {42,52}, {55,52}, {68,52}, {81,52}, {94,52}, {107,52}, {120,52}, {133,52}, {146,52}, {171,52}, {211,52},
{2,64}, {18,64}, {34,64}, {83,64}, {131,64}, {148,64}, {164,64}, {180,64}, {198,64}, {211,64}, {224,64},
},
{
// RGB LED Index to Flag
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1,
8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1,
1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
}
};

#endif // RGB_MATRIX_ENABLE
10 changes: 2 additions & 8 deletions keyboards/keychron/q3/ansi/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,11 @@

#pragma once

/* key matrix pins */
#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 }
#define MATRIX_COL_PINS { C14, C15, A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, A8, A9, A10, H3 }

/* We uses a pin with a stronger pull resistor than the internal MCU pins */
/* We use a pin with a stronger pull resistor than the internal MCU pins */
// #define MATRIX_UNSELECT_DRIVE_HIGH

/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 48
#define DRIVER_2_LED_TOTAL 39
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
#define RGB_MATRIX_LED_COUNT 87

#define CKLED2001_CURRENT_TUNE \
{ 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 }
Expand Down
107 changes: 99 additions & 8 deletions keyboards/keychron/q3/ansi/info.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,109 @@
{
"keyboard_name": "Keychron Q3",
"manufacturer": "Keychron",
"url": "https://github.com/Keychron",
"maintainer": "lalalademaxiya1",
"usb": {
"vid": "0x3434",
"pid": "0x0120",
"device_version": "1.0.0"
},
"rgb_matrix": {
"driver": "ckled2001"
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
{"matrix": [0, 1], "x": 26, "y": 0, "flags": 1},
{"matrix": [0, 2], "x": 39, "y": 0, "flags": 1},
{"matrix": [0, 3], "x": 52, "y": 0, "flags": 1},
{"matrix": [0, 4], "x": 65, "y": 0, "flags": 1},
{"matrix": [0, 5], "x": 85, "y": 0, "flags": 1},
{"matrix": [0, 6], "x": 98, "y": 0, "flags": 1},
{"matrix": [0, 7], "x": 111, "y": 0, "flags": 1},
{"matrix": [0, 8], "x": 124, "y": 0, "flags": 1},
{"matrix": [0, 9], "x": 143, "y": 0, "flags": 1},
{"matrix": [0, 10], "x": 156, "y": 0, "flags": 1},
{"matrix": [0, 11], "x": 169, "y": 0, "flags": 1},
{"matrix": [0, 12], "x": 182, "y": 0, "flags": 1},
{"matrix": [0, 14], "x": 198, "y": 0, "flags": 1},
{"matrix": [0, 15], "x": 211, "y": 0, "flags": 1},
{"matrix": [3, 14], "x": 224, "y": 0, "flags": 1},

{"matrix": [1, 0], "x": 0, "y": 15, "flags": 1},
{"matrix": [1, 1], "x": 13, "y": 15, "flags": 4},
{"matrix": [1, 2], "x": 26, "y": 15, "flags": 4},
{"matrix": [1, 3], "x": 39, "y": 15, "flags": 4},
{"matrix": [1, 4], "x": 52, "y": 15, "flags": 4},
{"matrix": [1, 5], "x": 65, "y": 15, "flags": 4},
{"matrix": [1, 6], "x": 78, "y": 15, "flags": 4},
{"matrix": [1, 7], "x": 91, "y": 15, "flags": 4},
{"matrix": [1, 8], "x": 104, "y": 15, "flags": 4},
{"matrix": [1, 9], "x": 117, "y": 15, "flags": 4},
{"matrix": [1, 10], "x": 130, "y": 15, "flags": 4},
{"matrix": [1, 11], "x": 143, "y": 15, "flags": 4},
{"matrix": [1, 12], "x": 156, "y": 15, "flags": 4},
{"matrix": [1, 13], "x": 176, "y": 15, "flags": 1},
{"matrix": [1, 14], "x": 198, "y": 15, "flags": 1},
{"matrix": [1, 15], "x": 211, "y": 15, "flags": 1},
{"matrix": [3, 15], "x": 224, "y": 15, "flags": 1},

{"matrix": [2, 0], "x": 3, "y": 28, "flags": 1},
{"matrix": [2, 1], "x": 20, "y": 28, "flags": 4},
{"matrix": [2, 2], "x": 33, "y": 28, "flags": 4},
{"matrix": [2, 3], "x": 46, "y": 28, "flags": 4},
{"matrix": [2, 4], "x": 59, "y": 28, "flags": 4},
{"matrix": [2, 5], "x": 72, "y": 28, "flags": 4},
{"matrix": [2, 6], "x": 85, "y": 28, "flags": 4},
{"matrix": [2, 7], "x": 98, "y": 28, "flags": 4},
{"matrix": [2, 8], "x": 111, "y": 28, "flags": 4},
{"matrix": [2, 9], "x": 124, "y": 28, "flags": 4},
{"matrix": [2, 10], "x": 137, "y": 28, "flags": 4},
{"matrix": [2, 11], "x": 150, "y": 28, "flags": 4},
{"matrix": [2, 12], "x": 163, "y": 28, "flags": 4},
{"matrix": [2, 13], "x": 179, "y": 28, "flags": 4},
{"matrix": [2, 14], "x": 198, "y": 28, "flags": 1},
{"matrix": [2, 15], "x": 211, "y": 28, "flags": 1},
{"matrix": [3, 12], "x": 224, "y": 28, "flags": 1},

{"matrix": [3, 0], "x": 5, "y": 40, "flags": 8},
{"matrix": [3, 1], "x": 23, "y": 40, "flags": 4},
{"matrix": [3, 2], "x": 36, "y": 40, "flags": 4},
{"matrix": [3, 3], "x": 49, "y": 40, "flags": 4},
{"matrix": [3, 4], "x": 62, "y": 40, "flags": 4},
{"matrix": [3, 5], "x": 75, "y": 40, "flags": 4},
{"matrix": [3, 6], "x": 88, "y": 40, "flags": 4},
{"matrix": [3, 7], "x": 101, "y": 40, "flags": 4},
{"matrix": [3, 8], "x": 114, "y": 40, "flags": 4},
{"matrix": [3, 9], "x": 127, "y": 40, "flags": 4},
{"matrix": [3, 10], "x": 140, "y": 40, "flags": 4},
{"matrix": [3, 11], "x": 153, "y": 40, "flags": 4},
{"matrix": [3, 13], "x": 174, "y": 40, "flags": 1},

{"matrix": [4, 0], "x": 8, "y": 52, "flags": 1},
{"matrix": [4, 2], "x": 29, "y": 52, "flags": 4},
{"matrix": [4, 3], "x": 42, "y": 52, "flags": 4},
{"matrix": [4, 4], "x": 55, "y": 52, "flags": 4},
{"matrix": [4, 5], "x": 68, "y": 52, "flags": 4},
{"matrix": [4, 6], "x": 81, "y": 52, "flags": 4},
{"matrix": [4, 7], "x": 94, "y": 52, "flags": 4},
{"matrix": [4, 8], "x": 107, "y": 52, "flags": 4},
{"matrix": [4, 9], "x": 120, "y": 52, "flags": 4},
{"matrix": [4, 10], "x": 133, "y": 52, "flags": 4},
{"matrix": [4, 11], "x": 146, "y": 52, "flags": 4},
{"matrix": [4, 13], "x": 171, "y": 52, "flags": 1},
{"matrix": [4, 15], "x": 211, "y": 52, "flags": 1},

{"matrix": [5, 0], "x": 2, "y": 64, "flags": 1},
{"matrix": [5, 1], "x": 18, "y": 64, "flags": 1},
{"matrix": [5, 2], "x": 34, "y": 64, "flags": 1},
{"matrix": [5, 6], "x": 83, "y": 64, "flags": 4},
{"matrix": [5, 10], "x": 131, "y": 64, "flags": 1},
{"matrix": [5, 11], "x": 148, "y": 64, "flags": 1},
{"matrix": [5, 12], "x": 164, "y": 64, "flags": 1},
{"matrix": [5, 13], "x": 180, "y": 64, "flags": 1},
{"matrix": [5, 14], "x": 198, "y": 64, "flags": 1},
{"matrix": [5, 15], "x": 211, "y": 64, "flags": 1},
{"matrix": [4, 14], "x": 224, "y": 64, "flags": 1}
]
},
"matrix_pins": {
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
"cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9", "A10", "H3"]
},
adophoxia marked this conversation as resolved.
Show resolved Hide resolved
"processor": "STM32L432",
"bootloader": "stm32-dfu",
"community_layouts": ["tkl_ansi"],
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [
Expand Down
16 changes: 1 addition & 15 deletions keyboards/keychron/q3/ansi/rules.mk
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable USB N-key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
DIP_SWITCH_ENABLE = yes
RGB_MATRIX_ENABLE = yes
LTO_ENABLE = yes
# This file intentionally left blank
32 changes: 0 additions & 32 deletions keyboards/keychron/q3/ansi_encoder/ansi_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,36 +119,4 @@ const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
{1, C_15, A_15, B_15},
};

#define __ NO_LED

led_config_t g_led_config = {
{
// Key Matrix to LED Index
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, __, 13, 14 },
{ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 },
{ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48 },
{ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 49, 62, 15, 32 },
{ 63, __, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, __, 74, 86, 75 },
{ 76, 77, 78, __, __, __, 79, __, __, __, 80, 81, 82, 83, 84, 85 },
},
{
// LED Index to Physical Position
{0,0}, {16,0}, {29,0}, {42,0}, {55,0}, {71,0}, {84,0}, {97,0}, {110,0}, {126,0}, {139,0}, {152,0}, {165,0}, {198,0}, {211,0}, {224,0},
{0,15}, {13,15}, {26,15}, {39,15}, {52,15}, {65,15}, {78,15}, {91,15}, {104,15}, {117,15}, {130,15}, {143,15}, {156,15}, {176,15}, {198,15}, {211,15}, {224,15},
{3,28}, {19,28}, {32,28}, {45,28}, {59,28}, {72,28}, {85,28}, {98,28}, {111,28}, {124,28}, {137,28}, {150,28}, {163,28}, {179,28}, {198,28}, {211,28}, {224,28},
{5,40}, {23,40}, {36,40}, {49,40}, {62,40}, {75,40}, {88,40}, {101,40}, {114,40}, {127,40}, {140,40}, {153,40}, {174,40},
{8,52}, {29,52}, {42,52}, {55,52}, {68,52}, {81,52}, {94,52}, {107,52}, {120,52}, {133,52}, {146,52}, {171,52}, {211,52},
{2,64}, {18,64}, {34,64}, {83,64}, {131,64}, {148,64}, {164,64}, {180,64}, {198,64}, {211,64}, {224,64},
},
{
// RGB LED Index to Flag
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1,
8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1,
1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
}
};

#endif // RGB_MATRIX_ENABLE
7 changes: 1 addition & 6 deletions keyboards/keychron/q3/ansi_encoder/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@
#define MATRIX_COL_PINS { C14, C15, A0, A1, A2, A3, A4, A5, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }

/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 48
#define DRIVER_2_LED_TOTAL 39
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)

/* Encoder Configuration */
#define ENCODER_DEFAULT_POS 0x3
#define RGB_MATRIX_LED_COUNT 87

#define CKLED2001_CURRENT_TUNE \
{ 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 }
Expand Down
108 changes: 98 additions & 10 deletions keyboards/keychron/q3/ansi_encoder/info.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,111 @@
{
"keyboard_name": "Keychron Q3",
"manufacturer": "Keychron",
"url": "https://github.com/Keychron",
"maintainer": "lalalademaxiya1",
"usb": {
"vid": "0x3434",
"pid": "0x0121",
"device_version": "1.0.0"
},
"rgb_matrix": {
"driver": "ckled2001"
},
"encoder": {
"enabled": true,
"rotary": [
{"pin_a": "A10", "pin_b": "A8"}
]
},
"processor": "STM32L432",
"bootloader": "stm32-dfu",
"rgb_matrix": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
{"matrix": [0, 1], "x": 16, "y": 0, "flags": 1},
{"matrix": [0, 2], "x": 29, "y": 0, "flags": 1},
{"matrix": [0, 3], "x": 42, "y": 0, "flags": 1},
{"matrix": [0, 4], "x": 55, "y": 0, "flags": 1},
{"matrix": [0, 5], "x": 71, "y": 0, "flags": 1},
{"matrix": [0, 6], "x": 84, "y": 0, "flags": 1},
{"matrix": [0, 7], "x": 97, "y": 0, "flags": 1},
{"matrix": [0, 8], "x": 110, "y": 0, "flags": 1},
{"matrix": [0, 9], "x": 126, "y": 0, "flags": 1},
{"matrix": [0, 10], "x": 139, "y": 0, "flags": 1},
{"matrix": [0, 11], "x": 152, "y": 0, "flags": 1},
{"matrix": [0, 12], "x": 165, "y": 0, "flags": 1},
{"matrix": [0, 14], "x": 198, "y": 0, "flags": 1},
{"matrix": [0, 15], "x": 211, "y": 0, "flags": 1},
{"matrix": [3, 14], "x": 224, "y": 0, "flags": 1},

{"matrix": [1, 0], "x": 0, "y": 15, "flags": 1},
{"matrix": [1, 1], "x": 13, "y": 15, "flags": 4},
{"matrix": [1, 2], "x": 26, "y": 15, "flags": 4},
{"matrix": [1, 3], "x": 39, "y": 15, "flags": 4},
{"matrix": [1, 4], "x": 52, "y": 15, "flags": 4},
{"matrix": [1, 5], "x": 65, "y": 15, "flags": 4},
{"matrix": [1, 6], "x": 78, "y": 15, "flags": 4},
{"matrix": [1, 7], "x": 91, "y": 15, "flags": 4},
{"matrix": [1, 8], "x": 104, "y": 15, "flags": 4},
{"matrix": [1, 9], "x": 117, "y": 15, "flags": 4},
{"matrix": [1, 10], "x": 130, "y": 15, "flags": 4},
{"matrix": [1, 11], "x": 143, "y": 15, "flags": 4},
{"matrix": [1, 12], "x": 156, "y": 15, "flags": 4},
{"matrix": [1, 13], "x": 176, "y": 15, "flags": 1},
{"matrix": [1, 14], "x": 198, "y": 15, "flags": 1},
{"matrix": [1, 15], "x": 211, "y": 15, "flags": 1},
{"matrix": [3, 15], "x": 224, "y": 15, "flags": 1},

{"matrix": [2, 0], "x": 3, "y": 28, "flags": 1},
{"matrix": [2, 1], "x": 19, "y": 28, "flags": 4},
{"matrix": [2, 2], "x": 32, "y": 28, "flags": 4},
{"matrix": [2, 3], "x": 45, "y": 28, "flags": 4},
{"matrix": [2, 4], "x": 59, "y": 28, "flags": 4},
{"matrix": [2, 5], "x": 72, "y": 28, "flags": 4},
{"matrix": [2, 6], "x": 85, "y": 28, "flags": 4},
{"matrix": [2, 7], "x": 98, "y": 28, "flags": 4},
{"matrix": [2, 8], "x": 111, "y": 28, "flags": 4},
{"matrix": [2, 9], "x": 124, "y": 28, "flags": 4},
{"matrix": [2, 10], "x": 137, "y": 28, "flags": 4},
{"matrix": [2, 11], "x": 150, "y": 28, "flags": 4},
{"matrix": [2, 12], "x": 163, "y": 28, "flags": 4},
{"matrix": [2, 13], "x": 179, "y": 28, "flags": 4},
{"matrix": [2, 14], "x": 198, "y": 28, "flags": 1},
{"matrix": [2, 15], "x": 211, "y": 28, "flags": 1},
{"matrix": [3, 12], "x": 224, "y": 28, "flags": 1},

{"matrix": [3, 0], "x": 5, "y": 40, "flags": 8},
{"matrix": [3, 1], "x": 23, "y": 40, "flags": 4},
{"matrix": [3, 2], "x": 36, "y": 40, "flags": 4},
{"matrix": [3, 3], "x": 49, "y": 40, "flags": 4},
{"matrix": [3, 4], "x": 62, "y": 40, "flags": 4},
{"matrix": [3, 5], "x": 75, "y": 40, "flags": 4},
{"matrix": [3, 6], "x": 88, "y": 40, "flags": 4},
{"matrix": [3, 7], "x": 101, "y": 40, "flags": 4},
{"matrix": [3, 8], "x": 114, "y": 40, "flags": 4},
{"matrix": [3, 9], "x": 127, "y": 40, "flags": 4},
{"matrix": [3, 10], "x": 140, "y": 40, "flags": 4},
{"matrix": [3, 11], "x": 153, "y": 40, "flags": 4},
{"matrix": [3, 13], "x": 174, "y": 40, "flags": 1},

{"matrix": [4, 0], "x": 8, "y": 52, "flags": 1},
{"matrix": [4, 2], "x": 29, "y": 52, "flags": 4},
{"matrix": [4, 3], "x": 42, "y": 52, "flags": 4},
{"matrix": [4, 4], "x": 55, "y": 52, "flags": 4},
{"matrix": [4, 5], "x": 68, "y": 52, "flags": 4},
{"matrix": [4, 6], "x": 81, "y": 52, "flags": 4},
{"matrix": [4, 7], "x": 94, "y": 52, "flags": 4},
{"matrix": [4, 8], "x": 107, "y": 52, "flags": 4},
{"matrix": [4, 9], "x": 120, "y": 52, "flags": 4},
{"matrix": [4, 10], "x": 133, "y": 52, "flags": 4},
{"matrix": [4, 11], "x": 146, "y": 52, "flags": 4},
{"matrix": [4, 13], "x": 171, "y": 52, "flags": 1},
{"matrix": [4, 15], "x": 211, "y": 52, "flags": 1},

{"matrix": [5, 0], "x": 2, "y": 64, "flags": 1},
{"matrix": [5, 1], "x": 18, "y": 64, "flags": 1},
{"matrix": [5, 2], "x": 34, "y": 64, "flags": 1},
{"matrix": [5, 6], "x": 83, "y": 64, "flags": 4},
{"matrix": [5, 10], "x": 131, "y": 64, "flags": 1},
{"matrix": [5, 11], "x": 148, "y": 64, "flags": 1},
{"matrix": [5, 12], "x": 164, "y": 64, "flags": 1},
{"matrix": [5, 13], "x": 180, "y": 64, "flags": 1},
{"matrix": [5, 14], "x": 198, "y": 64, "flags": 1},
{"matrix": [5, 15], "x": 211, "y": 64, "flags": 1},
{"matrix": [4, 14], "x": 224, "y": 64, "flags": 1}
]
},
adophoxia marked this conversation as resolved.
Show resolved Hide resolved
"community_layouts": ["tkl_f13_ansi"],
"layouts": {
"LAYOUT_tkl_f13_ansi": {
"layout": [
Expand Down
19 changes: 1 addition & 18 deletions keyboards/keychron/q3/ansi_encoder/rules.mk
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable USB N-key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable Encoder
DIP_SWITCH_ENABLE = yes
RGB_MATRIX_ENABLE = yes
LTO_ENABLE = yes

# custom matrix setup
# Custom matrix setup
CUSTOM_MATRIX = lite

SRC += matrix.c
Loading