mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
128 lines
3.1 KiB
Go
128 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/internal/driver"
|
|
)
|
|
|
|
var androidKeyToDriverKeyName = 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.KeyKeyUp,
|
|
20: driver.KeyKeyDown,
|
|
21: driver.KeyKeyLeft,
|
|
22: driver.KeyKeyRight,
|
|
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.KeyKeyComma,
|
|
56: driver.KeyKeyPeriod,
|
|
57: driver.KeyKeyLeftAlt,
|
|
58: driver.KeyKeyRightAlt,
|
|
59: driver.KeyKeyLeftShift,
|
|
60: driver.KeyKeyRightShift,
|
|
61: driver.KeyKeyTab,
|
|
62: driver.KeyKeySpace,
|
|
66: driver.KeyKeyEnter,
|
|
67: driver.KeyKeyBackspace,
|
|
68: driver.KeyKeyGraveAccent,
|
|
69: driver.KeyKeyMinus,
|
|
70: driver.KeyKeyEqual,
|
|
71: driver.KeyKeyLeftBracket,
|
|
72: driver.KeyKeyRightBracket,
|
|
73: driver.KeyKeyBackslash,
|
|
74: driver.KeyKeySemicolon,
|
|
75: driver.KeyKeyApostrophe,
|
|
76: driver.KeyKeySlash,
|
|
82: driver.KeyKeyMenu,
|
|
92: driver.KeyKeyPageUp,
|
|
93: driver.KeyKeyPageDown,
|
|
111: driver.KeyKeyEscape,
|
|
112: driver.KeyKeyDelete,
|
|
113: driver.KeyKeyLeftControl,
|
|
114: driver.KeyKeyRightControl,
|
|
115: driver.KeyKeyCapsLock,
|
|
116: driver.KeyKeyScrollLock,
|
|
120: driver.KeyKeyPrintScreen,
|
|
121: driver.KeyKeyPause,
|
|
122: driver.KeyKeyHome,
|
|
123: driver.KeyKeyEnd,
|
|
124: driver.KeyKeyInsert,
|
|
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.KeyKeyNumLock,
|
|
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.KeyKeyKPDivide,
|
|
155: driver.KeyKeyKPMultiply,
|
|
156: driver.KeyKeyKPSubtract,
|
|
157: driver.KeyKeyKPAdd,
|
|
158: driver.KeyKeyKPDecimal,
|
|
160: driver.KeyKeyKPEnter,
|
|
161: driver.KeyKeyKPEqual,
|
|
}
|