mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
4398a5e227
Closes #1394
130 lines
3.2 KiB
Go
130 lines
3.2 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.KeyDigit0,
|
|
8: driver.KeyDigit1,
|
|
9: driver.KeyDigit2,
|
|
10: driver.KeyDigit3,
|
|
11: driver.KeyDigit4,
|
|
12: driver.KeyDigit5,
|
|
13: driver.KeyDigit6,
|
|
14: driver.KeyDigit7,
|
|
15: driver.KeyDigit8,
|
|
16: driver.KeyDigit9,
|
|
19: driver.KeyArrowUp,
|
|
20: driver.KeyArrowDown,
|
|
21: driver.KeyArrowLeft,
|
|
22: driver.KeyArrowRight,
|
|
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.KeyAltLeft,
|
|
58: driver.KeyAltRight,
|
|
59: driver.KeyShiftLeft,
|
|
60: driver.KeyShiftRight,
|
|
61: driver.KeyTab,
|
|
62: driver.KeySpace,
|
|
66: driver.KeyEnter,
|
|
67: driver.KeyBackspace,
|
|
68: driver.KeyBackquote,
|
|
69: driver.KeyMinus,
|
|
70: driver.KeyEqual,
|
|
71: driver.KeyBracketLeft,
|
|
72: driver.KeyBracketRight,
|
|
73: driver.KeyBackslash,
|
|
74: driver.KeySemicolon,
|
|
75: driver.KeyQuote,
|
|
76: driver.KeySlash,
|
|
82: driver.KeyContextMenu,
|
|
92: driver.KeyPageUp,
|
|
93: driver.KeyPageDown,
|
|
111: driver.KeyEscape,
|
|
112: driver.KeyDelete,
|
|
113: driver.KeyControlLeft,
|
|
114: driver.KeyControlRight,
|
|
115: driver.KeyCapsLock,
|
|
116: driver.KeyScrollLock,
|
|
117: driver.KeyMetaLeft,
|
|
118: driver.KeyMetaRight,
|
|
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.KeyNumpad0,
|
|
145: driver.KeyNumpad1,
|
|
146: driver.KeyNumpad2,
|
|
147: driver.KeyNumpad3,
|
|
148: driver.KeyNumpad4,
|
|
149: driver.KeyNumpad5,
|
|
150: driver.KeyNumpad6,
|
|
151: driver.KeyNumpad7,
|
|
152: driver.KeyNumpad8,
|
|
153: driver.KeyNumpad9,
|
|
154: driver.KeyNumpadDivide,
|
|
155: driver.KeyNumpadMultiply,
|
|
156: driver.KeyNumpadSubtract,
|
|
157: driver.KeyNumpadAdd,
|
|
158: driver.KeyNumpadDecimal,
|
|
160: driver.KeyNumpadEnter,
|
|
161: driver.KeyNumpadEqual,
|
|
}
|