mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/glfwwin: bug fix: MapVirtualKeyW is not defined on Xbox
This commit is contained in:
parent
7736161d8d
commit
cba6905c57
@ -152,6 +152,11 @@ func createKeyTables() {
|
||||
}
|
||||
|
||||
func updateKeyNamesWin32() {
|
||||
// MapVirtualKeyW is not implemented in Xbox.
|
||||
if microsoftgdk.IsXbox() {
|
||||
return
|
||||
}
|
||||
|
||||
for i := range _glfw.win32.keynames {
|
||||
_glfw.win32.keynames[i] = ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user