Add xbows/nature keyboard
This commit is contained in:
13
keyboards/xbows/nature/keymaps/custom/keymap.h
Normal file
13
keyboards/xbows/nature/keymaps/custom/keymap.h
Normal file
@ -0,0 +1,13 @@
|
||||
bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case LT(2,KC_SPC):
|
||||
case LT(3,KC_ENT):
|
||||
case RALT_T(KC_ESC):
|
||||
case LT(2,KC_TAB):
|
||||
// Immediately select the hold action when another key is tapped.
|
||||
return true;
|
||||
default:
|
||||
// Do not select the hold action when another key is tapped.
|
||||
return false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user