mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-12 22:17:26 +01:00
parent
5ee3fdf628
commit
3c21246db5
@ -338,8 +338,8 @@ func init() {
|
|||||||
0x13: "Pause",
|
0x13: "Pause",
|
||||||
0x91: "ScrollLock",
|
0x91: "ScrollLock",
|
||||||
0x5d: "Menu",
|
0x5d: "Menu",
|
||||||
0x5b: "LeftSuper", // "OSLeft" for macOS 10.10 or newer
|
0x5b: "LeftSuper",
|
||||||
0xe0: "LeftSuper", // "DOM_VK_META" for macOS 10.9 or older
|
0x5c: "RightSuper",
|
||||||
|
|
||||||
// On Edge, this key does not work. PrintScreen works only on keyup event.
|
// On Edge, this key does not work. PrintScreen works only on keyup event.
|
||||||
// 0x2C: "PrintScreen",
|
// 0x2C: "PrintScreen",
|
||||||
|
@ -186,6 +186,7 @@ var edgeKeyCodeToDriverKey = map[int]driver.Key{
|
|||||||
89: driver.KeyY,
|
89: driver.KeyY,
|
||||||
90: driver.KeyZ,
|
90: driver.KeyZ,
|
||||||
91: driver.KeyLeftSuper,
|
91: driver.KeyLeftSuper,
|
||||||
|
92: driver.KeyRightSuper,
|
||||||
93: driver.KeyMenu,
|
93: driver.KeyMenu,
|
||||||
96: driver.KeyKP0,
|
96: driver.KeyKP0,
|
||||||
97: driver.KeyKP1,
|
97: driver.KeyKP1,
|
||||||
@ -227,5 +228,4 @@ var edgeKeyCodeToDriverKey = map[int]driver.Key{
|
|||||||
220: driver.KeyBackslash,
|
220: driver.KeyBackslash,
|
||||||
221: driver.KeyRightBracket,
|
221: driver.KeyRightBracket,
|
||||||
222: driver.KeyApostrophe,
|
222: driver.KeyApostrophe,
|
||||||
224: driver.KeyLeftSuper,
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user