ebiten/mobile/ebitenmobileview/keys_ios.go

149 lines
3.1 KiB
Go
Raw Normal View History

// 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 iosKeyToUIKey = map[int]ui.Key{
4: ui.KeyA,
5: ui.KeyB,
6: ui.KeyC,
7: ui.KeyD,
8: ui.KeyE,
9: ui.KeyF,
10: ui.KeyG,
11: ui.KeyH,
12: ui.KeyI,
13: ui.KeyJ,
14: ui.KeyK,
15: ui.KeyL,
16: ui.KeyM,
17: ui.KeyN,
18: ui.KeyO,
19: ui.KeyP,
20: ui.KeyQ,
21: ui.KeyR,
22: ui.KeyS,
23: ui.KeyT,
24: ui.KeyU,
25: ui.KeyV,
26: ui.KeyW,
27: ui.KeyX,
28: ui.KeyY,
29: ui.KeyZ,
30: ui.KeyDigit1,
31: ui.KeyDigit2,
32: ui.KeyDigit3,
33: ui.KeyDigit4,
34: ui.KeyDigit5,
35: ui.KeyDigit6,
36: ui.KeyDigit7,
37: ui.KeyDigit8,
38: ui.KeyDigit9,
39: ui.KeyDigit0,
40: ui.KeyEnter,
41: ui.KeyEscape,
42: ui.KeyBackspace,
43: ui.KeyTab,
44: ui.KeySpace,
45: ui.KeyMinus,
46: ui.KeyEqual,
47: ui.KeyBracketLeft,
48: ui.KeyBracketRight,
49: ui.KeyBackslash,
50: ui.KeyBackslash,
51: ui.KeySemicolon,
52: ui.KeyQuote,
53: ui.KeyBackquote,
54: ui.KeyComma,
55: ui.KeyPeriod,
56: ui.KeySlash,
57: ui.KeyCapsLock,
58: ui.KeyF1,
59: ui.KeyF2,
60: ui.KeyF3,
61: ui.KeyF4,
62: ui.KeyF5,
63: ui.KeyF6,
64: ui.KeyF7,
65: ui.KeyF8,
66: ui.KeyF9,
67: ui.KeyF10,
68: ui.KeyF11,
69: ui.KeyF12,
70: ui.KeyPrintScreen,
71: ui.KeyScrollLock,
72: ui.KeyPause,
73: ui.KeyInsert,
74: ui.KeyHome,
75: ui.KeyPageUp,
76: ui.KeyDelete,
77: ui.KeyEnd,
78: ui.KeyPageDown,
79: ui.KeyArrowRight,
80: ui.KeyArrowLeft,
81: ui.KeyArrowDown,
82: ui.KeyArrowUp,
83: ui.KeyNumLock,
84: ui.KeyNumpadDivide,
85: ui.KeyNumpadMultiply,
86: ui.KeyNumpadSubtract,
87: ui.KeyNumpadAdd,
88: ui.KeyNumpadEnter,
89: ui.KeyNumpad1,
90: ui.KeyNumpad2,
91: ui.KeyNumpad3,
92: ui.KeyNumpad4,
93: ui.KeyNumpad5,
94: ui.KeyNumpad6,
95: ui.KeyNumpad7,
96: ui.KeyNumpad8,
97: ui.KeyNumpad9,
98: ui.KeyNumpad0,
99: ui.KeyNumpadDecimal,
100: ui.KeyBackslash,
103: ui.KeyNumpadEqual,
104: ui.KeyF13,
105: ui.KeyF14,
106: ui.KeyF15,
107: ui.KeyF16,
108: ui.KeyF17,
109: ui.KeyF18,
110: ui.KeyF19,
111: ui.KeyF20,
112: ui.KeyF21,
113: ui.KeyF22,
114: ui.KeyF23,
115: ui.KeyF24,
118: ui.KeyContextMenu,
130: ui.KeyCapsLock,
131: ui.KeyNumLock,
132: ui.KeyScrollLock,
133: ui.KeyNumpadDecimal,
134: ui.KeyNumpadEqual,
224: ui.KeyControlLeft,
225: ui.KeyShiftLeft,
226: ui.KeyAltLeft,
227: ui.KeyMetaLeft,
228: ui.KeyControlRight,
229: ui.KeyShiftRight,
230: ui.KeyAltRight,
231: ui.KeyMetaRight,
}