Add new keycodes to vial_ensure_keycode.h.
This commit is contained in:
parent
aebc8f0b24
commit
40b2edf19c
2 changed files with 4 additions and 2 deletions
|
|
@ -765,7 +765,8 @@ uint16_t get_alt_repeat_key_keycode_user(uint16_t keycode, uint8_t mods) {
|
|||
|
||||
// If this entry is the default alt key and allowed mods are satisfied,
|
||||
// use it if no there is no other match.
|
||||
if ((options & vial_arep_option_default_to_this_alt_key) != 0 && best_fit < 0 &&
|
||||
if ((options & vial_arep_option_default_to_this_alt_key) != 0 &&
|
||||
best_fit == -1 && alt_keycode == KC_TRNS &&
|
||||
alt_repeat_key_mods_match(mods, 0, entry->allowed_mods, options)) {
|
||||
alt_keycode = (entry->alt_required_mods << 8) | entry->alt_keycode;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -815,7 +815,8 @@ _Static_assert(QK_CAPS_WORD_TOGGLE == 0x7C73, "");
|
|||
|
||||
_Static_assert(FN_MO13 == 0x7C77, "");
|
||||
_Static_assert(FN_MO23 == 0x7C78, "");
|
||||
|
||||
_Static_assert(QK_REPEAT_KEY == 0x7C79, "");
|
||||
_Static_assert(QK_ALT_REPEAT_KEY == 0x7C7A, "");
|
||||
_Static_assert(QK_LAYER_LOCK == 0x7C7B, "");
|
||||
|
||||
/* Ensure that we have 64 USERxx keycodes */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue