chore: EiKeyState, use auto where possible
This commit is contained in:
parent
02b2b82c7f
commit
6d9c66b03f
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ KeyID EiKeyState::map_key_from_keyval(uint32_t keyval) const
|
||||||
{
|
{
|
||||||
// FIXME: That might be a bit crude...?
|
// FIXME: That might be a bit crude...?
|
||||||
xkb_keysym_t xkb_keysym = xkb_state_key_get_one_sym(xkb_state_, keyval);
|
xkb_keysym_t xkb_keysym = xkb_state_key_get_one_sym(xkb_state_, keyval);
|
||||||
KeySym keysym = static_cast<KeySym>(xkb_keysym);
|
auto keysym = static_cast<KeySym>(xkb_keysym);
|
||||||
|
|
||||||
KeyID keyid = XWindowsUtil::mapKeySymToKeyID(keysym);
|
KeyID keyid = XWindowsUtil::mapKeySymToKeyID(keysym);
|
||||||
LOG_DEBUG1("mapped key: code=%d keysym=0x%04lx to keyID=%d", keyval, keysym, keyid);
|
LOG_DEBUG1("mapped key: code=%d keysym=0x%04lx to keyID=%d", keyval, keysym, keyid);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue