Only send DBG message for non-empty mods
This commit is contained in:
parent
425777c57c
commit
b12681458c
1 changed files with 1 additions and 1 deletions
|
@ -134,8 +134,8 @@ static void caps_word_enhance_usage(const struct behavior_caps_word_config *conf
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_DBG("Enhancing usage 0x%02X with modifiers: 0x%02X", ev->keycode, config->mods);
|
|
||||||
if (config->mods != 0) {
|
if (config->mods != 0) {
|
||||||
|
LOG_DBG("Enhancing usage 0x%02X with modifiers: 0x%02X", ev->keycode, config->mods);
|
||||||
ev->implicit_modifiers |= config->mods;
|
ev->implicit_modifiers |= config->mods;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue