mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +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",
|
||||
"KP8": "Numpad8",
|
||||
"KP9": "Numpad9",
|
||||
"KPAdd": "NumpadAdd",
|
||||
"KPDecimal": "NumpadDecimal",
|
||||
"KPDivide": "NumpadDivide",
|
||||
"KPMultiply": "NumpadMultiply",
|
||||
|
1
keys.go
1
keys.go
@ -165,6 +165,7 @@ const (
|
||||
KeyKP7 Key = Key(ui.KeyNumpad7)
|
||||
KeyKP8 Key = Key(ui.KeyNumpad8)
|
||||
KeyKP9 Key = Key(ui.KeyNumpad9)
|
||||
KeyKPAdd Key = Key(ui.KeyNumpadAdd)
|
||||
KeyKPDecimal Key = Key(ui.KeyNumpadDecimal)
|
||||
KeyKPDivide Key = Key(ui.KeyNumpadDivide)
|
||||
KeyKPEnter Key = Key(ui.KeyNumpadEnter)
|
||||
|
Loading…
Reference in New Issue
Block a user