aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/split_3x6_3
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-12-29 20:17:34 -0800
committerGitHub <noreply@github.com>2021-12-29 20:17:34 -0800
commitc4551d7ef1ed2c1069f23cc8499b7c7fc30f3ecf (patch)
tree67dc381a45d59626132c4c59b71c4b36fa971f8b /layouts/community/split_3x6_3
parent1a8a842cfb3e87a82afb57ba29ca59c5fa6fe97b (diff)
downloadqmk_firmware-c4551d7ef1ed2c1069f23cc8499b7c7fc30f3ecf.tar.gz
qmk_firmware-c4551d7ef1ed2c1069f23cc8499b7c7fc30f3ecf.zip
[Keymap] Reorganization, cleanup and readmes for drashna code (#15617)
Diffstat (limited to 'layouts/community/split_3x6_3')
-rw-r--r--layouts/community/split_3x6_3/drashna/config.h4
-rw-r--r--layouts/community/split_3x6_3/drashna/keymap.c5
-rw-r--r--layouts/community/split_3x6_3/drashna/rules.mk35
3 files changed, 23 insertions, 21 deletions
diff --git a/layouts/community/split_3x6_3/drashna/config.h b/layouts/community/split_3x6_3/drashna/config.h
index b86448c67..cfcb873a8 100644
--- a/layouts/community/split_3x6_3/drashna/config.h
+++ b/layouts/community/split_3x6_3/drashna/config.h
@@ -93,3 +93,7 @@
93#endif 93#endif
94 94
95#define TAPPING_TERM_PER_KEY 95#define TAPPING_TERM_PER_KEY
96#ifdef TAPPING_TERM
97# undef TAPPING_TERM
98#endif
99#define TAPPING_TERM 200
diff --git a/layouts/community/split_3x6_3/drashna/keymap.c b/layouts/community/split_3x6_3/drashna/keymap.c
index 7c31972e3..476ca5fce 100644
--- a/layouts/community/split_3x6_3/drashna/keymap.c
+++ b/layouts/community/split_3x6_3/drashna/keymap.c
@@ -90,7 +90,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
90 KC_MAKE, _________________ADJUST_L1_________________, _________________ADJUST_R1_________________, KC_RESET, 90 KC_MAKE, _________________ADJUST_L1_________________, _________________ADJUST_R1_________________, KC_RESET,
91 VRSN, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, EEP_RST, 91 VRSN, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, EEP_RST,
92 KEYLOCK, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, RGB_IDL, 92 KEYLOCK, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, RGB_IDL,
93 HPT_TOG, KC_NUKE, _______, _______, TG_MODS, HPT_FBK 93 AUTO_CTN,KC_NUKE, _______, _______, TG_MODS, HPT_FBK
94 ) 94 )
95}; 95};
96// clang-format on 96// clang-format on
@@ -265,7 +265,7 @@ void check_default_layer(uint8_t mode, uint8_t type, uint8_t led_min, uint8_t le
265 } 265 }
266} 266}
267 267
268void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { 268bool rgb_matrix_indicators_advanced_keymap(uint8_t led_min, uint8_t led_max) {
269 if (userspace_config.rgb_layer_change) { 269 if (userspace_config.rgb_layer_change) {
270 switch (get_highest_layer(layer_state)) { 270 switch (get_highest_layer(layer_state)) {
271 case _GAMEPAD: 271 case _GAMEPAD:
@@ -291,5 +291,6 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
291 } 291 }
292 check_default_layer(0, LED_FLAG_MODIFIER, led_min, led_max); 292 check_default_layer(0, LED_FLAG_MODIFIER, led_min, led_max);
293 } 293 }
294 return false;
294} 295}
295#endif 296#endif
diff --git a/layouts/community/split_3x6_3/drashna/rules.mk b/layouts/community/split_3x6_3/drashna/rules.mk
index cf2dfbdc8..9164dcdeb 100644
--- a/layouts/community/split_3x6_3/drashna/rules.mk
+++ b/layouts/community/split_3x6_3/drashna/rules.mk
@@ -1,9 +1,8 @@
1
2# Build Options 1# Build Options
3# change to "no" to disable the options, or define them in the Makefile in 2# change to "no" to disable the options
4# the appropriate keymap folder that will get included automatically
5# 3#
6BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite 4
5BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
7MOUSEKEY_ENABLE = no # Mouse keys 6MOUSEKEY_ENABLE = no # Mouse keys
8EXTRAKEY_ENABLE = yes # Audio control and System control 7EXTRAKEY_ENABLE = yes # Audio control and System control
9CONSOLE_ENABLE = no # Console for debug 8CONSOLE_ENABLE = no # Console for debug
@@ -12,27 +11,25 @@ NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see her
12BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 11BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
13AUDIO_ENABLE = no # Audio output 12AUDIO_ENABLE = no # Audio output
14UNICODE_ENABLE = no # Unicode 13UNICODE_ENABLE = no # Unicode
15BLUETOOTH_ENABLE = no # Enable Bluetooth
16RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. 14RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
17SWAP_HANDS_ENABLE = no # Enable one-hand typing 15SWAP_HANDS_ENABLE = no # Enable one-hand typing
18 16
19# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
20SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
21
22ifeq ($(strip $(KEYBOARD)), crkbd/rev1) 17ifeq ($(strip $(KEYBOARD)), crkbd/rev1)
23 OLED_ENABLE = yes 18 OLED_ENABLE = yes
24 RGB_MATRIX_ENABLE = yes 19 RGB_MATRIX_ENABLE = yes
25 HAPTIC_ENABLE = no 20 HAPTIC_ENABLE = no
26endif 21endif
27 22
28ifeq ($(strip $(CTPC)), yes) 23ifeq ($(strip $(CTPC)), yes)
29 HAPTIC_ENABLE = no 24 HAPTIC_ENABLE = no
30 WS2812_DRIVER = pwm # won't work without a patch to the ctpc mk file 25 WS2812_DRIVER = pwm # won't work without a patch to the ctpc mk file
31 SERIAL_DRIVER = usart 26 SERIAL_DRIVER = usart
32 SWAP_HANDS_ENABLE = yes 27 SWAP_HANDS_ENABLE = yes
33 WPM_ENABLE = yes 28 WPM_ENABLE = yes
29 AUTOCORRECTION_ENABLE = yes
30 CAPS_WORD_ENABLE = yes
34else 31else
35 CUSTOM_UNICODE_ENABLE = no 32 CUSTOM_UNICODE_ENABLE = no
36 BOOTLOADER = qmk-hid 33 BOOTLOADER = qmk-hid
37 BOOTLOADER_SIZE = 512 34 BOOTLOADER_SIZE = 512
38endif 35endif