Permalink
Browse files

Make `PREVENT_STUCK_MODIFIERS` the default (#3107)

* Remove chording as it is not documented, not used, and needs work.

* Make Leader Key an optional feature.

* Switch from `PREVENT_STUCK_MODIFIERS` to `STRICT_LAYER_RELEASE`

* Remove `#define PREVENT_STUCK_MODIFIERS` from keymaps.
  • Loading branch information...
Talljoe authored and jackhumbert committed Sep 17, 2018
1 parent b65e214 commit 743449472e58651ec8111e6f70811103fb0a28bd
Showing with 91 additions and 599 deletions.
  1. +7 −4 common_features.mk
  2. +2 −2 docs/config_options.md
  3. +8 −0 docs/feature_leader_key.md
  4. +1 −1 docs/understanding_qmk.md
  5. +0 −3 keyboards/1upkeyboards/1up60rgb/config.h
  6. +2 −5 keyboards/1upkeyboards/sweet16/config.h
  7. +0 −3 keyboards/acr60/config.h
  8. +1 −4 keyboards/alf/x2/config.h
  9. +0 −2 keyboards/alpha/config.h
  10. +0 −3 keyboards/alu84/config.h
  11. +0 −3 keyboards/at101_blackheart/config.h
  12. +0 −2 keyboards/atreus/keymaps/jeremy/keymap.c
  13. +1 −3 keyboards/atreus/keymaps/khitsule/config.h
  14. +1 −2 keyboards/atreus/keymaps/xk/config.h
  15. +0 −1 keyboards/atreus62/keymaps/mneme/config.h
  16. +1 −0 keyboards/atreus62/keymaps/mneme/rules.mk
  17. +0 −3 keyboards/bfo9000/keymaps/andylikescandy6x18/config.h
  18. +0 −3 keyboards/bigseries/1key/config.h
  19. +0 −3 keyboards/bigseries/2key/config.h
  20. +0 −3 keyboards/bigseries/3key/config.h
  21. +0 −3 keyboards/bigseries/4key/config.h
  22. +0 −2 keyboards/bigswitch/config.h
  23. +0 −3 keyboards/catch22/config.h
  24. +0 −2 keyboards/chimera_ergo/config.h
  25. +0 −2 keyboards/chimera_ls/config.h
  26. +0 −2 keyboards/chimera_ortho/config.h
  27. +1 −5 keyboards/chocopad/config.h
  28. +0 −3 keyboards/clueboard/60/config.h
  29. +0 −1 keyboards/clueboard/66/keymaps/bloodlvst/config.h
  30. +0 −2 keyboards/comet46/config.h
  31. +0 −4 keyboards/contra/config.h
  32. +2 −3 keyboards/contra/keymaps/ryanm101/config.h
  33. +0 −3 keyboards/crawlpad/config.h
  34. +0 −1 keyboards/crkbd/keymaps/default/config.h
  35. +0 −2 keyboards/dichotemy/config.h
  36. +1 −5 keyboards/dilly/config.h
  37. +0 −3 keyboards/dz60/config.h
  38. +0 −3 keyboards/dz60/keymaps/LEdiodes/config.h
  39. +0 −2 keyboards/ergodone/config.h
  40. +0 −2 keyboards/ergodox_ez/config.h
  41. +2 −1 keyboards/ergodox_ez/keymaps/heartrobotninja/rules.mk
  42. +0 −1 keyboards/ergodox_ez/keymaps/vim/vim.h
  43. +0 −2 keyboards/ergodox_infinity/keymaps/gordon/config.h
  44. +0 −1 keyboards/ergodox_infinity/keymaps/narze/config.h
  45. +2 −1 keyboards/ergodox_infinity/keymaps/not-quite-neo/rules.mk
  46. +0 −2 keyboards/ergoinu/config.h
  47. +0 −3 keyboards/ergotravel/keymaps/ckofy/config.h
  48. +1 −3 keyboards/felix/config.h
  49. +1 −4 keyboards/four_banger/config.h
  50. +1 −4 keyboards/fourier/keymaps/jennetters/config.h
  51. +0 −4 keyboards/fractal/config.h
  52. +2 −1 keyboards/frosty_flake/keymaps/nikchi/rules.mk
  53. +1 −5 keyboards/gh80_3000/config.h
  54. +1 −5 keyboards/gherkin/config.h
  55. +1 −3 keyboards/gherkin/keymaps/talljoe_gherkin/config.h
  56. +0 −1 keyboards/gonnerd/keymaps/gam3cat/config.h
  57. +0 −1 keyboards/hadron/keymaps/default/config.h
  58. +0 −1 keyboards/hadron/keymaps/side_numpad/config.h
  59. +3 −5 keyboards/handwired/MS_sculpt_mobile/config.h
  60. +0 −2 keyboards/handwired/atreus50/keymaps/ajp10304/config.h
  61. +0 −2 keyboards/handwired/dactyl/config.h
  62. +1 −3 keyboards/handwired/kbod/config.h
  63. +0 −2 keyboards/handwired/promethium/keymaps/default/config.h
  64. +0 −2 keyboards/handwired/promethium/keymaps/priyadi/config.h
  65. +0 −4 keyboards/handwired/space_oddity/config.h
  66. +0 −1 keyboards/helix/pico/config.h
  67. +2 −1 keyboards/helix/rev1/keymaps/OLED_sample/config.h
  68. +0 −1 keyboards/helix/rev2/config.h
  69. +1 −0 keyboards/hhkb/keymaps/blakedietz/rules.mk
  70. +0 −2 keyboards/infinity60/config.h
  71. +0 −1 keyboards/iris/keymaps/davidrambo/config.h
  72. +1 −4 keyboards/iris/keymaps/jennetters/config.h
  73. +0 −2 keyboards/iris/keymaps/krusli/config.h
  74. +0 −2 keyboards/iris/keymaps/xyverz/config.h
  75. +0 −1 keyboards/jc65/v32u4/keymaps/gam3cat/config.h
  76. +0 −8 keyboards/jj40/keymaps/ajp10304/config.h
  77. +0 −1 keyboards/jj40/keymaps/fun40/config.h
  78. +0 −1 keyboards/jj40/keymaps/krusli/config.h
  79. +0 −1 keyboards/jj40/keymaps/oscillope/config.h
  80. +0 −1 keyboards/jj40/keymaps/suzuken/config.h
  81. +0 −1 keyboards/jj40/keymaps/waples/config.h
  82. +0 −2 keyboards/jm60/config.h
  83. +0 −2 keyboards/k_type/config.h
  84. +1 −2 keyboards/katana60/config.h
  85. +0 −3 keyboards/kbd75/config.h
  86. +0 −1 keyboards/kinesis/keymaps/insertsnideremarks/config.h
  87. +0 −2 keyboards/lets_split/keymaps/OLED_sample/config.h
  88. +0 −1 keyboards/lets_split/keymaps/adam/config.h
  89. +0 −3 keyboards/lets_split/keymaps/khord/config.h
  90. +0 −1 keyboards/lets_split/keymaps/piemod/config.h
  91. +0 −2 keyboards/lets_split/keymaps/waples/config.h
  92. +0 −1 keyboards/lets_split/keymaps/xk/config.h
  93. +0 −2 keyboards/m10a/keymaps/gam3cat/config.h
  94. +0 −3 keyboards/mechmini/v2/config.h
  95. +0 −3 keyboards/melody96/config.h
  96. +0 −1 keyboards/minidox/keymaps/alairock/config.h
  97. +1 −3 keyboards/minidox/keymaps/khitsule/config.h
  98. +0 −1 keyboards/mint60/config.h
  99. +0 −2 keyboards/mitosis/config.h
  100. +0 −3 keyboards/niu_mini/config.h
  101. +0 −3 keyboards/novelpad/config.h
  102. +1 −4 keyboards/noxary/268/config.h
  103. +0 −3 keyboards/ok60/config.h
  104. +1 −5 keyboards/omnikey_blackheart/config.h
  105. +0 −2 keyboards/paladin64/config.h
  106. +0 −3 keyboards/pegasushoof/keymaps/citadel/config.h
  107. +0 −8 keyboards/planck/keymaps/ajp10304/config.h
  108. +0 −3 keyboards/planck/keymaps/altgr/config.h
  109. +0 −3 keyboards/planck/keymaps/am/config.h
  110. +0 −3 keyboards/planck/keymaps/andylikescandy/config.h
  111. +0 −8 keyboards/planck/keymaps/bone2planck/config.h
  112. +2 −3 keyboards/planck/keymaps/davidrambo/config.h
  113. +0 −1 keyboards/planck/keymaps/dshields/config.h
  114. +0 −1 keyboards/planck/keymaps/espynn/keymap.c
  115. +0 −2 keyboards/planck/keymaps/experimental/config.h
  116. +2 −1 keyboards/planck/keymaps/experimental/rules.mk
  117. +0 −3 keyboards/planck/keymaps/hiea/config.h
  118. +0 −3 keyboards/planck/keymaps/hieax/config.h
  119. +0 −2 keyboards/planck/keymaps/ishtob/config.h
  120. +1 −3 keyboards/planck/keymaps/jarred/config.h
  121. +0 −1 keyboards/planck/keymaps/jeremy-dev/keymap.c
  122. +1 −0 keyboards/planck/keymaps/kmontag42/rules.mk
  123. +0 −8 keyboards/planck/keymaps/lae3/config.h
  124. +1 −2 keyboards/planck/keymaps/mitch/config.h
  125. +0 −4 keyboards/planck/keymaps/mitch/readme.md
  126. +1 −2 keyboards/planck/keymaps/narze/config.h
  127. +0 −8 keyboards/planck/keymaps/neo2planck/config.h
  128. +0 −2 keyboards/planck/keymaps/priyadi/config.h
  129. +0 −3 keyboards/planck/keymaps/sdothum/config.h
  130. +1 −3 keyboards/planck/keymaps/steno/config.h
  131. +1 −3 keyboards/planck/keymaps/tehwalris/config.h
  132. +0 −3 keyboards/planck/keymaps/vifon/config.h
  133. +0 −11 keyboards/planck/keymaps/yale/config.h
  134. +0 −1 keyboards/planck/keymaps/zach/config.h
  135. +0 −3 keyboards/planck/rev6/config.h
  136. +0 −2 keyboards/playkbtw/ca66/config.h
  137. +1 −4 keyboards/playkbtw/pk60/config.h
  138. +0 −1 keyboards/preonic/keymaps/bucktooth/config.h
  139. +0 −1 keyboards/preonic/keymaps/jacwib/config.h
  140. +1 −0 keyboards/preonic/keymaps/kuatsure/rules.mk
  141. +0 −8 keyboards/preonic/keymaps/that_canadian/config.h
  142. +0 −1 keyboards/preonic/keymaps/zach/config.h
  143. +0 −3 keyboards/preonic/rev3/config.h
  144. +0 −4 keyboards/prime_r/config.h
  145. +0 −1 keyboards/rorschach/keymaps/insertsnideremarks/config.h
  146. +0 −3 keyboards/s60_x/keymaps/bluebear/config.h
  147. +1 −4 keyboards/s60_x/rgb/config.h
  148. +0 −3 keyboards/s65_plus/config.h
  149. +0 −4 keyboards/s65_x/config.h
  150. +0 −4 keyboards/sx60/config.h
  151. +0 −2 keyboards/telophase/config.h
  152. +1 −4 keyboards/tetris/config.h
  153. +0 −1 keyboards/thevankeyboards/bananasplit/keymaps/talljoe/config.h
  154. +0 −3 keyboards/tokyo60/config.h
  155. +0 −3 keyboards/tomato/config.h
  156. +0 −3 keyboards/uk78/config.h
  157. +1 −1 keyboards/viterbi/keymaps/drashna/config.h
  158. +0 −2 keyboards/whitefox/config.h
  159. +1 −0 keyboards/xd60/keymaps/kmontag42/rules.mk
  160. +1 −2 keyboards/xd75/keymaps/davidrambo/config.h
  161. +0 −1 keyboards/xd75/keymaps/tdl-jturner/config.h
  162. +1 −5 keyboards/xmmx/config.h
  163. +0 −1 keyboards/ymd96/keymaps/hgoel89/config.h
  164. +1 −5 keyboards/z150_blackheart/config.h
  165. +0 −4 keyboards/zeal60/keymaps/tusing/config.h
  166. +0 −3 keyboards/zlant/config.h
  167. +0 −1 layouts/community/60_ansi/talljoe-ansi/config.h
  168. +0 −1 layouts/community/60_ansi_split_bs_rshift/talljoe/config.h
  169. +0 −1 layouts/community/60_hhkb/talljoe-hhkb/config.h
  170. +0 −1 layouts/community/ergodox/adam/config.h
  171. +1 −2 layouts/community/ergodox/albert/rules.mk
  172. +1 −0 layouts/community/ergodox/algernon/rules.mk
  173. +0 −1 layouts/community/ergodox/alphadox/config.h
  174. +1 −0 layouts/community/ergodox/deadcyclo/rules.mk
  175. +1 −2 layouts/community/ergodox/erez_experimental/rules.mk
  176. +1 −0 layouts/community/ergodox/familiar/rules.mk
  177. +2 −2 layouts/community/ergodox/mclennon_osx/README.md
  178. +1 −1 layouts/community/ergodox/techtomas/readme.md
  179. +0 −4 layouts/community/ortho_4x12/symbolic/config.h
  180. +0 −1 layouts/community/tkl_ansi/talljoe-tkl/config.h
  181. +0 −76 quantum/process_keycode/process_chording.c
  182. +0 −32 quantum/process_keycode/process_chording.h
  183. +1 −1 quantum/process_keycode/process_leader.c
  184. +2 −5 quantum/quantum.c
  185. +1 −6 quantum/quantum.h
  186. +1 −5 quantum/quantum_keycodes.h
  187. +1 −1 tmk_core/common/action.c
  188. +1 −1 tmk_core/common/action.h
  189. +2 −2 tmk_core/common/action_layer.c
  190. +1 −1 tmk_core/common/action_layer.h
  191. +0 −1 users/333fred/333fred_config.h
  192. +0 −1 users/bocaj/config.h
  193. +0 −5 users/drashna/config.h
  194. +1 −2 users/ishtob/config.h
  195. +0 −6 users/replicaJunction/config.h
  196. +0 −1 users/talljoe/config.h
  197. +0 −2 users/wanleg/config.h
  198. +1 −1 users/zer09/config.h
@@ -221,7 +221,6 @@ ifeq ($(strip $(USB_HID_ENABLE)), yes)
include $(TMK_DIR)/protocol/usb_hid.mk
endif
ifeq ($(strip $(HD44780_ENABLE)), yes)
SRC += drivers/avr/hd44780.c
OPT_DEFS += -DHD44780_ENABLE
@@ -232,11 +231,15 @@ ifeq ($(strip $(DYNAMIC_KEYMAP_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/dynamic_keymap.c
endif
ifeq ($(strip $(LEADER_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/process_keycode/process_leader.c
OPT_DEFS += -DLEADER_ENABLE
endif
QUANTUM_SRC:= \
$(QUANTUM_DIR)/quantum.c \
$(QUANTUM_DIR)/keymap_common.c \
$(QUANTUM_DIR)/keycode_config.c \
$(QUANTUM_DIR)/process_keycode/process_leader.c
$(QUANTUM_DIR)/keycode_config.c
ifndef CUSTOM_MATRIX
ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
@@ -251,5 +254,5 @@ ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
QUANTUM_SRC += $(QUANTUM_DIR)/split_common/split_flags.c \
$(QUANTUM_DIR)/split_common/split_util.c \
$(QUANTUM_DIR)/split_common/i2c.c \
$(QUANTUM_DIR)/split_common/serial.c
$(QUANTUM_DIR)/split_common/serial.c
endif
@@ -119,8 +119,8 @@ If you define these options you will enable the associated feature, which may in
* `#define FORCE_NKRO`
* NKRO by default requires to be turned on, this forces it on during keyboard startup regardless of EEPROM setting. NKRO can still be turned off but will be turned on again if the keyboard reboots.
* `#define PREVENT_STUCK_MODIFIERS`
* stores the layer a key press came from so the same layer is used when the key is released, regardless of which layers are enabled
* `#define STRICT_LAYER_RELEASE`
* force a key release to be evaluated using the current layer stack instead of remembering which layer it came from (used for advanced cases)
## Behaviors That Can Be Configured
@@ -39,3 +39,11 @@ void matrix_scan_user(void) {
As you can see, you have a few function. You can use `SEQ_ONE_KEY` for single-key sequences (Leader followed by just one key), and `SEQ_TWO_KEYS`, `SEQ_THREE_KEYS` up to `SEQ_FIVE_KEYS` for longer sequences.
Each of these accepts one or more keycodes as arguments. This is an important point: You can use keycodes from **any layer on your keyboard**. That layer would need to be active for the leader macro to fire, obviously.
## Adding Leader Key Support in the `rules.mk`
To add support for Leader Key you simply need to add a single line to your keymap's `rules.mk`:
```
LEADER_ENABLE = yes
```
@@ -129,6 +129,7 @@ Comparing against our keymap we can see that the pressed key is KC_NLCK. From he
<!-- FIXME: Magic happens between here and process_record -->
##### Process Record
The `process_record()` function itself is deceptively simple, but hidden within is a gateway to overriding functionality at various levels of QMK. The chain of events is listed below, using cluecard whenever we need to look at the keyboard/keymap level functions. Depending on options set in rule.mk or elsewhere, only a subset of the functions below will be included in final firmware.
* [`void process_record(keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/08c682c193f43e5d54df990680ae93fc2e06150a/tmk_core/common/action.c#L172)
@@ -146,7 +147,6 @@ The `process_record()` function itself is deceptively simple, but hidden within
* [`bool process_music(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_music.c#L114)
* [`bool process_tap_dance(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_tap_dance.c#L136)
* [`bool process_leader(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_leader.c#L38)
* [`bool process_chording(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_chording.c#L41)
* [`bool process_combo(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_combo.c#L115)
* [`bool process_unicode(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_unicode.c#L22)
* [`bool process_ucis(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/661ca4440cc42f3b60697e98985c44b0571ccfc1/quantum/process_keycode/process_ucis.c#L91)
@@ -43,9 +43,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
@@ -9,7 +9,7 @@
#define DEVICE_VER 0x0001
#define MANUFACTURER 1up Keyboards
#define PRODUCT Sweet16
#define DESCRIPTION 4x4 grid
#define DESCRIPTION 4x4 grid
/* key matrix size */
#define MATRIX_ROWS 4
@@ -43,9 +43,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#define RGB_DI_PIN B1
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
@@ -55,4 +52,4 @@
#define RGBLIGHT_VAL_STEP 8
#endif
#endif
#endif
@@ -41,9 +41,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#define RGB_DI_PIN E2
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 20
@@ -43,9 +43,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
@@ -55,4 +52,4 @@
#define RGBLIGHT_VAL_STEP 8
#endif
#endif
#endif
@@ -43,8 +43,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#define RGB_DI_PIN F4
#ifdef RGB_DI_PIN
@@ -59,9 +59,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16
@@ -38,6 +38,3 @@
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
@@ -4,8 +4,6 @@
#include "action_layer.h"
#include "keymap_colemak.h"
#define PREVENT_STUCK_MODIFIERS
// Each layer gets a name for readability, which is then used in the keymap matrix below.
#define ALPH 0
#define NUMS 1
@@ -3,8 +3,6 @@
#include "../../config.h"
#define PREVENT_STUCK_MODIFIERS
#define IGNORE_MOD_TAP_INTERRUPT
#endif
#endif
@@ -30,8 +30,7 @@ the Free Software Foundation, either version 2 of the License, or
#define MOUSEKEY_WHEEL_MAX_SPEED 8
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
#define PREVENT_STUCK_MODIFIERS
#define IGNORE_MOD_TAP_INTERRUPT
#define PERMISSIVE_HOLD
#endif
#endif
@@ -1,6 +1,5 @@
#define ONESHOT_TIMEOUT 3000
#define TAPPING_TERM 200
#define PREVENT_STUCK_MODIFIERS
#define FORCE_NKRO
#define LEADER_TIMEOUT 1000
@@ -3,3 +3,4 @@ NKRO_ENABLE = true
MOUSEKEY_ENABLE = no
EXTRAKEY_ENABLE = yes
CONSOLE_ENABLE = no
LEADER_ENABLE = yes
@@ -37,7 +37,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PERMISSIVE_HOLD
#define PREVENT_STUCK_MODIFIERS
#endif
@@ -47,9 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
@@ -47,9 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
@@ -47,9 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
@@ -47,9 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
@@ -47,8 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
@@ -46,9 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN F6
#define RGBLIGHT_ANIMATIONS
@@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* These options are also useful to firmware size reduction.
*/
#define PREVENT_STUCK_MODIFIERS
/* disable debug print */
//#define NO_DEBUG
@@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* These options are also useful to firmware size reduction.
*/
#define PREVENT_STUCK_MODIFIERS
/* disable debug print */
//#define NO_DEBUG
@@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* These options are also useful to firmware size reduction.
*/
#define PREVENT_STUCK_MODIFIERS
/* disable debug print */
//#define NO_DEBUG
@@ -40,10 +40,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_HUE_STEP 8
@@ -56,4 +52,4 @@
#define ws2812_PORTREG PORTD
#define ws2812_DDRREG DDRD
#endif
#endif
@@ -49,9 +49,6 @@
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 6
/* Prevent modifiers from being stuck on after layer changes. */
#define PREVENT_STUCK_MODIFIERS
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
//#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
@@ -3,6 +3,5 @@
#include "../../config.h"
#define PREVENT_STUCK_MODIFIERS
#define DISABLE_SPACE_CADET_ROLLOVER
#endif
@@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* These options are also useful to firmware size reduction.
*/
#define PREVENT_STUCK_MODIFIERS
/* disable debug print */
//#define NO_DEBUG
@@ -43,10 +43,6 @@
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 0
@@ -3,7 +3,6 @@
#include "config_common.h"
#define PREVENT_STUCK_MODIFIERS
#define TAPPING_TERM 200
#ifdef AUDIO_ENABLE
@@ -28,7 +27,7 @@
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
#define MIDI_BASIC
/* enable advanced MIDI features:
@@ -42,4 +41,4 @@
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2
#endif
#endif
@@ -40,9 +40,6 @@
false \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_SERIAL_PD2
#define PREVENT_STUCK_MODIFIERS
#define TAPPING_FORCE_HOLD
#define TAPPING_TERM 100
Oops, something went wrong.

0 comments on commit 7434494

Please sign in to comment.