mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
5ee3fdf628
Fixes #1382
130 lines
3.1 KiB
Go
130 lines
3.1 KiB
Go
// Copyright 2013 The Ebiten Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
|
|
|
|
package ebitenmobileview
|
|
|
|
import (
|
|
"github.com/hajimehoshi/ebiten/v2/internal/driver"
|
|
)
|
|
|
|
var androidKeyToDriverKey = map[int]driver.Key{
|
|
7: driver.Key0,
|
|
8: driver.Key1,
|
|
9: driver.Key2,
|
|
10: driver.Key3,
|
|
11: driver.Key4,
|
|
12: driver.Key5,
|
|
13: driver.Key6,
|
|
14: driver.Key7,
|
|
15: driver.Key8,
|
|
16: driver.Key9,
|
|
19: driver.KeyUp,
|
|
20: driver.KeyDown,
|
|
21: driver.KeyLeft,
|
|
22: driver.KeyRight,
|
|
29: driver.KeyA,
|
|
30: driver.KeyB,
|
|
31: driver.KeyC,
|
|
32: driver.KeyD,
|
|
33: driver.KeyE,
|
|
34: driver.KeyF,
|
|
35: driver.KeyG,
|
|
36: driver.KeyH,
|
|
37: driver.KeyI,
|
|
38: driver.KeyJ,
|
|
39: driver.KeyK,
|
|
40: driver.KeyL,
|
|
41: driver.KeyM,
|
|
42: driver.KeyN,
|
|
43: driver.KeyO,
|
|
44: driver.KeyP,
|
|
45: driver.KeyQ,
|
|
46: driver.KeyR,
|
|
47: driver.KeyS,
|
|
48: driver.KeyT,
|
|
49: driver.KeyU,
|
|
50: driver.KeyV,
|
|
51: driver.KeyW,
|
|
52: driver.KeyX,
|
|
53: driver.KeyY,
|
|
54: driver.KeyZ,
|
|
55: driver.KeyComma,
|
|
56: driver.KeyPeriod,
|
|
57: driver.KeyLeftAlt,
|
|
58: driver.KeyRightAlt,
|
|
59: driver.KeyLeftShift,
|
|
60: driver.KeyRightShift,
|
|
61: driver.KeyTab,
|
|
62: driver.KeySpace,
|
|
66: driver.KeyEnter,
|
|
67: driver.KeyBackspace,
|
|
68: driver.KeyGraveAccent,
|
|
69: driver.KeyMinus,
|
|
70: driver.KeyEqual,
|
|
71: driver.KeyLeftBracket,
|
|
72: driver.KeyRightBracket,
|
|
73: driver.KeyBackslash,
|
|
74: driver.KeySemicolon,
|
|
75: driver.KeyApostrophe,
|
|
76: driver.KeySlash,
|
|
82: driver.KeyMenu,
|
|
92: driver.KeyPageUp,
|
|
93: driver.KeyPageDown,
|
|
111: driver.KeyEscape,
|
|
112: driver.KeyDelete,
|
|
113: driver.KeyLeftControl,
|
|
114: driver.KeyRightControl,
|
|
115: driver.KeyCapsLock,
|
|
116: driver.KeyScrollLock,
|
|
117: driver.KeyLeftSuper,
|
|
118: driver.KeyRightSuper,
|
|
120: driver.KeyPrintScreen,
|
|
121: driver.KeyPause,
|
|
122: driver.KeyHome,
|
|
123: driver.KeyEnd,
|
|
124: driver.KeyInsert,
|
|
131: driver.KeyF1,
|
|
132: driver.KeyF2,
|
|
133: driver.KeyF3,
|
|
134: driver.KeyF4,
|
|
135: driver.KeyF5,
|
|
136: driver.KeyF6,
|
|
137: driver.KeyF7,
|
|
138: driver.KeyF8,
|
|
139: driver.KeyF9,
|
|
140: driver.KeyF10,
|
|
141: driver.KeyF11,
|
|
142: driver.KeyF12,
|
|
143: driver.KeyNumLock,
|
|
144: driver.KeyKP0,
|
|
145: driver.KeyKP1,
|
|
146: driver.KeyKP2,
|
|
147: driver.KeyKP3,
|
|
148: driver.KeyKP4,
|
|
149: driver.KeyKP5,
|
|
150: driver.KeyKP6,
|
|
151: driver.KeyKP7,
|
|
152: driver.KeyKP8,
|
|
153: driver.KeyKP9,
|
|
154: driver.KeyKPDivide,
|
|
155: driver.KeyKPMultiply,
|
|
156: driver.KeyKPSubtract,
|
|
157: driver.KeyKPAdd,
|
|
158: driver.KeyKPDecimal,
|
|
160: driver.KeyKPEnter,
|
|
161: driver.KeyKPEqual,
|
|
}
|