go generate

Updates #2025
This commit is contained in:
Hajime Hoshi 2022-03-24 02:42:49 +09:00
parent aee391e8d7
commit 60e9ff35b2
2 changed files with 3 additions and 1 deletions

View File

@ -375,7 +375,7 @@ func init() {
"KP7": "Numpad7", "KP7": "Numpad7",
"KP8": "Numpad8", "KP8": "Numpad8",
"KP9": "Numpad9", "KP9": "Numpad9",
"KPAdd": "NumpadAdd", "KPAdd": "NumpadAdd",
"KPDecimal": "NumpadDecimal", "KPDecimal": "NumpadDecimal",
"KPDivide": "NumpadDivide", "KPDivide": "NumpadDivide",
"KPMultiply": "NumpadMultiply", "KPMultiply": "NumpadMultiply",

View File

@ -827,6 +827,8 @@ func keyNameToKeyCode(name string) (Key, bool) {
return KeyKP8, true return KeyKP8, true
case "kp9": case "kp9":
return KeyKP9, true return KeyKP9, true
case "kpadd":
return KeyKPAdd, true
case "kpdecimal": case "kpdecimal":
return KeyKPDecimal, true return KeyKPDecimal, true
case "kpdivide": case "kpdivide":