[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
This commit is contained in:
parent
5ed7d9c9ca
commit
7fa854729c
9 changed files with 499 additions and 67 deletions
|
@ -12,7 +12,7 @@
|
|||
#define EE_HANDS
|
||||
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
#define TAPPING_TERM 175
|
||||
#define TAPPING_TERM 150
|
||||
#define TAPPING_TOGGLE 2
|
||||
|
||||
// #undef RGBLED_NUM
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue