diff options
author | Joshua Colbeck <Skrymir@users.noreply.github.com> | 2016-07-06 20:29:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-06 20:29:29 -0500 |
commit | e0e1c119f0c54ff7b69bf8eaa9e641b60610b4d9 (patch) | |
tree | 67aebd55b1538035a1e5839eff3bb66f89d2aca2 /keyboards/preonic/keymaps | |
parent | 21ee3eb569caffdf2ad581c668682c0109c978e5 (diff) | |
parent | 5ed673d82d6cf91aa966a3e903ac37adb519f12c (diff) |
Merge pull request #1 from Skrymir/patch-1
add ergodox layout
Diffstat (limited to 'keyboards/preonic/keymaps')
-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; }; |