mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
130 lines
2.8 KiB
Go
130 lines
2.8 KiB
Go
// Copyright 2013 The Ebitengine 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/ui"
|
|
)
|
|
|
|
var androidKeyToUIKey = map[int]ui.Key{
|
|
7: ui.KeyDigit0,
|
|
8: ui.KeyDigit1,
|
|
9: ui.KeyDigit2,
|
|
10: ui.KeyDigit3,
|
|
11: ui.KeyDigit4,
|
|
12: ui.KeyDigit5,
|
|
13: ui.KeyDigit6,
|
|
14: ui.KeyDigit7,
|
|
15: ui.KeyDigit8,
|
|
16: ui.KeyDigit9,
|
|
19: ui.KeyArrowUp,
|
|
20: ui.KeyArrowDown,
|
|
21: ui.KeyArrowLeft,
|
|
22: ui.KeyArrowRight,
|
|
29: ui.KeyA,
|
|
30: ui.KeyB,
|
|
31: ui.KeyC,
|
|
32: ui.KeyD,
|
|
33: ui.KeyE,
|
|
34: ui.KeyF,
|
|
35: ui.KeyG,
|
|
36: ui.KeyH,
|
|
37: ui.KeyI,
|
|
38: ui.KeyJ,
|
|
39: ui.KeyK,
|
|
40: ui.KeyL,
|
|
41: ui.KeyM,
|
|
42: ui.KeyN,
|
|
43: ui.KeyO,
|
|
44: ui.KeyP,
|
|
45: ui.KeyQ,
|
|
46: ui.KeyR,
|
|
47: ui.KeyS,
|
|
48: ui.KeyT,
|
|
49: ui.KeyU,
|
|
50: ui.KeyV,
|
|
51: ui.KeyW,
|
|
52: ui.KeyX,
|
|
53: ui.KeyY,
|
|
54: ui.KeyZ,
|
|
55: ui.KeyComma,
|
|
56: ui.KeyPeriod,
|
|
57: ui.KeyAltLeft,
|
|
58: ui.KeyAltRight,
|
|
59: ui.KeyShiftLeft,
|
|
60: ui.KeyShiftRight,
|
|
61: ui.KeyTab,
|
|
62: ui.KeySpace,
|
|
66: ui.KeyEnter,
|
|
67: ui.KeyBackspace,
|
|
68: ui.KeyBackquote,
|
|
69: ui.KeyMinus,
|
|
70: ui.KeyEqual,
|
|
71: ui.KeyBracketLeft,
|
|
72: ui.KeyBracketRight,
|
|
73: ui.KeyBackslash,
|
|
74: ui.KeySemicolon,
|
|
75: ui.KeyQuote,
|
|
76: ui.KeySlash,
|
|
82: ui.KeyContextMenu,
|
|
92: ui.KeyPageUp,
|
|
93: ui.KeyPageDown,
|
|
111: ui.KeyEscape,
|
|
112: ui.KeyDelete,
|
|
113: ui.KeyControlLeft,
|
|
114: ui.KeyControlRight,
|
|
115: ui.KeyCapsLock,
|
|
116: ui.KeyScrollLock,
|
|
117: ui.KeyMetaLeft,
|
|
118: ui.KeyMetaRight,
|
|
120: ui.KeyPrintScreen,
|
|
121: ui.KeyPause,
|
|
122: ui.KeyHome,
|
|
123: ui.KeyEnd,
|
|
124: ui.KeyInsert,
|
|
131: ui.KeyF1,
|
|
132: ui.KeyF2,
|
|
133: ui.KeyF3,
|
|
134: ui.KeyF4,
|
|
135: ui.KeyF5,
|
|
136: ui.KeyF6,
|
|
137: ui.KeyF7,
|
|
138: ui.KeyF8,
|
|
139: ui.KeyF9,
|
|
140: ui.KeyF10,
|
|
141: ui.KeyF11,
|
|
142: ui.KeyF12,
|
|
143: ui.KeyNumLock,
|
|
144: ui.KeyNumpad0,
|
|
145: ui.KeyNumpad1,
|
|
146: ui.KeyNumpad2,
|
|
147: ui.KeyNumpad3,
|
|
148: ui.KeyNumpad4,
|
|
149: ui.KeyNumpad5,
|
|
150: ui.KeyNumpad6,
|
|
151: ui.KeyNumpad7,
|
|
152: ui.KeyNumpad8,
|
|
153: ui.KeyNumpad9,
|
|
154: ui.KeyNumpadDivide,
|
|
155: ui.KeyNumpadMultiply,
|
|
156: ui.KeyNumpadSubtract,
|
|
157: ui.KeyNumpadAdd,
|
|
158: ui.KeyNumpadDecimal,
|
|
160: ui.KeyNumpadEnter,
|
|
161: ui.KeyNumpadEqual,
|
|
}
|