Fixed numpad lookup
@@ -20,16 +20,26 @@ public class SdlScanmap{
case 86: return KeyCode.MINUS;
case 55: return KeyCode.PERIOD;
case 56: return KeyCode.SLASH;
- case 98: return KeyCode.NUM_0;
- case 89: return KeyCode.NUM_1;
- case 90: return KeyCode.NUM_2;
- case 91: return KeyCode.NUM_3;
- case 92: return KeyCode.NUM_4;
- case 93: return KeyCode.NUM_5;
- case 94: return KeyCode.NUM_6;
- case 95: return KeyCode.NUM_7;
- case 96: return KeyCode.NUM_8;
- case 97: return KeyCode.NUM_9;
+ case 98: return KeyCode.NUMPAD_0;
+ case 89: return KeyCode.NUMPAD_1;
+ case 90: return KeyCode.NUMPAD_2;
+ case 91: return KeyCode.NUMPAD_3;
+ case 92: return KeyCode.NUMPAD_4;
+ case 93: return KeyCode.NUMPAD_5;
+ case 94: return KeyCode.NUMPAD_6;
+ case 95: return KeyCode.NUMPAD_7;
+ case 96: return KeyCode.NUMPAD_8;
+ case 97: return KeyCode.NUMPAD_9;
+ case 39: return KeyCode.NUM_0;
+ case 30: return KeyCode.NUM_1;
+ case 31: return KeyCode.NUM_2;
+ case 32: return KeyCode.NUM_3;
+ case 33: return KeyCode.NUM_4;
+ case 34: return KeyCode.NUM_5;
+ case 35: return KeyCode.NUM_6;
+ case 36: return KeyCode.NUM_7;
+ case 37: return KeyCode.NUM_8;
+ case 38: return KeyCode.NUM_9;
case 203: return KeyCode.COLON;
case 51: return KeyCode.SEMICOLON;
case 46: return KeyCode.EQUALS;
