added a keybind todo

This commit is contained in:
vaxerski 2022-03-23 16:52:43 +01:00
parent f108ec78e2
commit 1923b0d170

View file

@ -36,6 +36,8 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const xkb_keysym_t
// this little maneouver is gonna cost us 4µs // this little maneouver is gonna cost us 4µs
const auto KBKEY = xkb_keysym_from_name(k.key.c_str(), XKB_KEYSYM_CASE_INSENSITIVE); const auto KBKEY = xkb_keysym_from_name(k.key.c_str(), XKB_KEYSYM_CASE_INSENSITIVE);
const auto KBKEYUPPER = xkb_keysym_to_upper(KBKEY); const auto KBKEYUPPER = xkb_keysym_to_upper(KBKEY);
// TODO: fix 0-9 keys and other modified ones with shift
// or mention in the fucking wiki
if (key != KBKEY && key != KBKEYUPPER) if (key != KBKEY && key != KBKEYUPPER)
continue; continue;