diff options
author | Josh Colbeck <skrymir@gmail.com> | 2016-07-04 22:44:26 -0500 |
---|---|---|
committer | Josh Colbeck <skrymir@gmail.com> | 2016-07-04 22:44:26 -0500 |
commit | 74d848c942984334f82d84acfecc3cce9716cd82 (patch) | |
tree | 902c8fc54be6a272a86cec2e0e3b0195a4e227a1 /keyboards/preonic/keymaps/default/keymap.c | |
parent | a5fb2b58a5fc328da7eea42cb73c668f3b5d0f7e (diff) | |
parent | 94d3159d9dbdf711b830c6d7c5a53324097be0a5 (diff) |
Merge remote-tracking branch 'jackhumbert/master' into patch-1
Diffstat (limited to 'keyboards/preonic/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/preonic/keymaps/default/keymap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/preonic/keymaps/default/keymap.c b/keyboards/preonic/keymaps/default/keymap.c index 6d8ef634dd..9a957f7ee1 100644 --- a/keyboards/preonic/keymaps/default/keymap.c +++ b/keyboards/preonic/keymaps/default/keymap.c @@ -191,8 +191,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { #endif persistant_default_layer_set(1UL<<_QWERTY); } - break; return false; + break; case COLEMAK: if (record->event.pressed) { #ifdef AUDIO_ENABLE @@ -200,8 +200,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { #endif persistant_default_layer_set(1UL<<_COLEMAK); } - break; return false; + break; case DVORAK: if (record->event.pressed) { #ifdef AUDIO_ENABLE @@ -209,8 +209,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { #endif persistant_default_layer_set(1UL<<_DVORAK); } - break; return false; + break; case LOWER: if (record->event.pressed) { layer_on(_LOWER); @@ -219,8 +219,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { layer_off(_LOWER); update_tri_layer(_LOWER, _RAISE, _ADJUST); } - break; return false; + break; case RAISE: if (record->event.pressed) { layer_on(_RAISE); @@ -229,8 +229,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { layer_off(_RAISE); update_tri_layer(_LOWER, _RAISE, _ADJUST); } - break; return false; + break; case BACKLIT: if (record->event.pressed) { register_code(KC_RSFT); @@ -240,8 +240,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } else { unregister_code(KC_RSFT); } - break; return false; + break; } return true; }; |