Moved PREVENT_STUCK_MODIFIERS to config.h

pull/990/head
Joshua T 8 years ago
parent 0064f1f84c
commit cf795a6f93

@ -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)) \ 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 * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

@ -42,9 +42,6 @@
#define KX_PAST LCTL(KC_V) #define KX_PAST LCTL(KC_V)
#define KX_UNDO LCTL(KC_Z) #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. ; // 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] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

Loading…
Cancel
Save