Make getKeyFromEvent more robust for Decimal (Numpad)

This commit is contained in:
kimci86 2022-02-15 12:00:51 +01:00 committed by Lukas Dürrenberger
parent 1754f24609
commit 08d1095314

View File

@ -75,6 +75,7 @@ Keyboard::Key keySymToKey(KeySym symbol)
case XK_KP_Subtract: return Keyboard::Subtract; case XK_KP_Subtract: return Keyboard::Subtract;
case XK_KP_Multiply: return Keyboard::Multiply; case XK_KP_Multiply: return Keyboard::Multiply;
case XK_KP_Divide: return Keyboard::Divide; case XK_KP_Divide: return Keyboard::Divide;
case XK_KP_Delete: return Keyboard::Period;
case XK_Pause: return Keyboard::Pause; case XK_Pause: return Keyboard::Pause;
case XK_F1: return Keyboard::F1; case XK_F1: return Keyboard::F1;
case XK_F2: return Keyboard::F2; case XK_F2: return Keyboard::F2;