Moved PREVENT_STUCK_MODIFIERS to config.h

This commit is contained in:
Joshua T 2016-07-30 09:19:17 -05:00
parent 0064f1f84c
commit cf795a6f93
2 changed files with 3 additions and 3 deletions

View file

@ -67,6 +67,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* Prevent modifiers from sticking when switching layers */
#define PREVENT_STUCK_MODIFIERS
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -42,9 +42,6 @@
#define KX_PAST LCTL(KC_V)
#define KX_UNDO LCTL(KC_Z)
// Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers
#define PREVENT_STUCK_MODIFIERS
; // This doesn't do anything. It's just for VSCode because its syntax highlighting is weird for the above #define statements.
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {