mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
ebiten: add missing backward compatibility Add key (#2024)
Closes #2025
This commit is contained in:
parent
3074dca670
commit
de8c02a00f
@ -375,6 +375,7 @@ func init() {
|
|||||||
"KP7": "Numpad7",
|
"KP7": "Numpad7",
|
||||||
"KP8": "Numpad8",
|
"KP8": "Numpad8",
|
||||||
"KP9": "Numpad9",
|
"KP9": "Numpad9",
|
||||||
|
"KPAdd": "NumpadAdd",
|
||||||
"KPDecimal": "NumpadDecimal",
|
"KPDecimal": "NumpadDecimal",
|
||||||
"KPDivide": "NumpadDivide",
|
"KPDivide": "NumpadDivide",
|
||||||
"KPMultiply": "NumpadMultiply",
|
"KPMultiply": "NumpadMultiply",
|
||||||
|
1
keys.go
1
keys.go
@ -165,6 +165,7 @@ const (
|
|||||||
KeyKP7 Key = Key(ui.KeyNumpad7)
|
KeyKP7 Key = Key(ui.KeyNumpad7)
|
||||||
KeyKP8 Key = Key(ui.KeyNumpad8)
|
KeyKP8 Key = Key(ui.KeyNumpad8)
|
||||||
KeyKP9 Key = Key(ui.KeyNumpad9)
|
KeyKP9 Key = Key(ui.KeyNumpad9)
|
||||||
|
KeyKPAdd Key = Key(ui.KeyNumpadAdd)
|
||||||
KeyKPDecimal Key = Key(ui.KeyNumpadDecimal)
|
KeyKPDecimal Key = Key(ui.KeyNumpadDecimal)
|
||||||
KeyKPDivide Key = Key(ui.KeyNumpadDivide)
|
KeyKPDivide Key = Key(ui.KeyNumpadDivide)
|
||||||
KeyKPEnter Key = Key(ui.KeyNumpadEnter)
|
KeyKPEnter Key = Key(ui.KeyNumpadEnter)
|
||||||
|
Loading…
Reference in New Issue
Block a user