mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
parent
aee391e8d7
commit
60e9ff35b2
@ -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",
|
||||||
|
2
keys.go
2
keys.go
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user