diff options
author | Salt-Peanuts <hajimeokuda@gmail.com> | 2019-04-19 12:23:11 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-19 09:23:11 -0700 |
commit | 7fa854729c4391e5ae3b09e134eccd73f1307ac1 (patch) | |
tree | 95ec96898b92eeefc974344e03c160b206fe6036 /keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c | |
parent | 5ed7d9c9ca48e1b6f3610f62bb12668d1f75a845 (diff) | |
download | qmk_firmware-7fa854729c4391e5ae3b09e134eccd73f1307ac1.tar.gz qmk_firmware-7fa854729c4391e5ae3b09e134eccd73f1307ac1.zip |
[Keymap] Added personal keymap to BFO-9000; cleaned up personal files in Kinesis and Rorschach (#5638)
* Added personal keymap to BFO-9000; cleaned up personal Kinesis and Rorschach files
Added personal keymap to BFO-9000; cleaned up personal Kinesis and Rorschach files
* Update keymap.c
* Update keymap.c
* Update keymap.c
* Update readme.md
* Update readme.md
* Update readme.md
* Update readme.md
* Update readme.md
* Update readme.md
Diffstat (limited to 'keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c')
-rw-r--r-- | keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c b/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c index 81c163a028..e345ce4a38 100644 --- a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c +++ b/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c @@ -246,16 +246,11 @@ uint32_t layer_state_set_user(uint32_t state) { return update_tri_layer_state(state, _NUMBERS, _NUMBERS2, _ADJUST); } -void persistent_default_layer_set(uint16_t default_layer) { - eeconfig_update_default_layer(default_layer); - default_layer_set(default_layer); -} - bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case COLEMAK: if (record->event.pressed) { - persistent_default_layer_set(1UL << _COLEMAK); + default_layer_set(1UL << _COLEMAK); layer_off ( _QWERTY); layer_off ( _NUMBERS); layer_off ( _NUMBERS2); @@ -269,7 +264,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { break; case QWERTY: if (record->event.pressed) { - persistent_default_layer_set(1UL << _QWERTY); + default_layer_set(1UL << _QWERTY); layer_off ( _COLEMAK); layer_off ( _NUMBERS); layer_off ( _NUMBERS2); |