Browse Source

Moved PREVENT_STUCK_MODIFIERS to config.h

pull/990/head
Joshua T 7 years ago
parent
commit
cf795a6f93
2 changed files with 3 additions and 3 deletions
  1. +3
    -0
      keyboards/atreus/config.h
  2. +0
    -3
      keyboards/atreus/keymaps/replicaJunction/keymap.c

+ 3
- 0
keyboards/atreus/config.h 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.


+ 0
- 3
keyboards/atreus/keymaps/replicaJunction/keymap.c 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] = {


Loading…
Cancel
Save