Clang format
This commit is contained in:
parent
c26ba2c61a
commit
0a76d3119d
1 changed files with 5 additions and 5 deletions
|
@ -138,7 +138,6 @@ static void caps_word_enhance_usage(const struct behavior_caps_word_config *conf
|
|||
if (config->mods != 0) {
|
||||
ev->implicit_modifiers |= config->mods;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static int caps_word_keycode_state_changed_listener(const zmk_event_t *eh) {
|
||||
|
@ -162,7 +161,8 @@ static int caps_word_keycode_state_changed_listener(const zmk_event_t *eh) {
|
|||
|
||||
caps_word_enhance_usage(config, ev);
|
||||
|
||||
if ((!caps_word_is_alpha(ev->keycode) || !config->ignore_alphas) && (!caps_word_is_numeric(ev->keycode) || !config->ignore_numbers) &&
|
||||
if ((!caps_word_is_alpha(ev->keycode) || !config->ignore_alphas) &&
|
||||
(!caps_word_is_numeric(ev->keycode) || !config->ignore_numbers) &&
|
||||
(!is_mod(ev->usage_page, ev->keycode) || !config->ignore_modifiers) &&
|
||||
!caps_word_is_caps_includelist(config, ev->usage_page, ev->keycode,
|
||||
ev->implicit_modifiers)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue