mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 19:58:54 +01:00
142 lines
5.5 KiB
Go
142 lines
5.5 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 ui
|
|
|
|
import (
|
|
"syscall/js"
|
|
)
|
|
|
|
var uiKeyToJSCode = map[Key]js.Value{
|
|
KeyA: js.ValueOf("KeyA"),
|
|
KeyAltLeft: js.ValueOf("AltLeft"),
|
|
KeyAltRight: js.ValueOf("AltRight"),
|
|
KeyArrowDown: js.ValueOf("ArrowDown"),
|
|
KeyArrowLeft: js.ValueOf("ArrowLeft"),
|
|
KeyArrowRight: js.ValueOf("ArrowRight"),
|
|
KeyArrowUp: js.ValueOf("ArrowUp"),
|
|
KeyB: js.ValueOf("KeyB"),
|
|
KeyBackquote: js.ValueOf("Backquote"),
|
|
KeyBackslash: js.ValueOf("Backslash"),
|
|
KeyBackspace: js.ValueOf("Backspace"),
|
|
KeyBracketLeft: js.ValueOf("BracketLeft"),
|
|
KeyBracketRight: js.ValueOf("BracketRight"),
|
|
KeyC: js.ValueOf("KeyC"),
|
|
KeyCapsLock: js.ValueOf("CapsLock"),
|
|
KeyComma: js.ValueOf("Comma"),
|
|
KeyContextMenu: js.ValueOf("ContextMenu"),
|
|
KeyControlLeft: js.ValueOf("ControlLeft"),
|
|
KeyControlRight: js.ValueOf("ControlRight"),
|
|
KeyD: js.ValueOf("KeyD"),
|
|
KeyDelete: js.ValueOf("Delete"),
|
|
KeyDigit0: js.ValueOf("Digit0"),
|
|
KeyDigit1: js.ValueOf("Digit1"),
|
|
KeyDigit2: js.ValueOf("Digit2"),
|
|
KeyDigit3: js.ValueOf("Digit3"),
|
|
KeyDigit4: js.ValueOf("Digit4"),
|
|
KeyDigit5: js.ValueOf("Digit5"),
|
|
KeyDigit6: js.ValueOf("Digit6"),
|
|
KeyDigit7: js.ValueOf("Digit7"),
|
|
KeyDigit8: js.ValueOf("Digit8"),
|
|
KeyDigit9: js.ValueOf("Digit9"),
|
|
KeyE: js.ValueOf("KeyE"),
|
|
KeyEnd: js.ValueOf("End"),
|
|
KeyEnter: js.ValueOf("Enter"),
|
|
KeyEqual: js.ValueOf("Equal"),
|
|
KeyEscape: js.ValueOf("Escape"),
|
|
KeyF: js.ValueOf("KeyF"),
|
|
KeyF1: js.ValueOf("F1"),
|
|
KeyF10: js.ValueOf("F10"),
|
|
KeyF11: js.ValueOf("F11"),
|
|
KeyF12: js.ValueOf("F12"),
|
|
KeyF13: js.ValueOf("F13"),
|
|
KeyF14: js.ValueOf("F14"),
|
|
KeyF15: js.ValueOf("F15"),
|
|
KeyF16: js.ValueOf("F16"),
|
|
KeyF17: js.ValueOf("F17"),
|
|
KeyF18: js.ValueOf("F18"),
|
|
KeyF19: js.ValueOf("F19"),
|
|
KeyF2: js.ValueOf("F2"),
|
|
KeyF20: js.ValueOf("F20"),
|
|
KeyF21: js.ValueOf("F21"),
|
|
KeyF22: js.ValueOf("F22"),
|
|
KeyF23: js.ValueOf("F23"),
|
|
KeyF24: js.ValueOf("F24"),
|
|
KeyF3: js.ValueOf("F3"),
|
|
KeyF4: js.ValueOf("F4"),
|
|
KeyF5: js.ValueOf("F5"),
|
|
KeyF6: js.ValueOf("F6"),
|
|
KeyF7: js.ValueOf("F7"),
|
|
KeyF8: js.ValueOf("F8"),
|
|
KeyF9: js.ValueOf("F9"),
|
|
KeyG: js.ValueOf("KeyG"),
|
|
KeyH: js.ValueOf("KeyH"),
|
|
KeyHome: js.ValueOf("Home"),
|
|
KeyI: js.ValueOf("KeyI"),
|
|
KeyInsert: js.ValueOf("Insert"),
|
|
KeyJ: js.ValueOf("KeyJ"),
|
|
KeyK: js.ValueOf("KeyK"),
|
|
KeyL: js.ValueOf("KeyL"),
|
|
KeyM: js.ValueOf("KeyM"),
|
|
KeyMetaLeft: js.ValueOf("MetaLeft"),
|
|
KeyMetaRight: js.ValueOf("MetaRight"),
|
|
KeyMinus: js.ValueOf("Minus"),
|
|
KeyN: js.ValueOf("KeyN"),
|
|
KeyNumLock: js.ValueOf("NumLock"),
|
|
KeyNumpad0: js.ValueOf("Numpad0"),
|
|
KeyNumpad1: js.ValueOf("Numpad1"),
|
|
KeyNumpad2: js.ValueOf("Numpad2"),
|
|
KeyNumpad3: js.ValueOf("Numpad3"),
|
|
KeyNumpad4: js.ValueOf("Numpad4"),
|
|
KeyNumpad5: js.ValueOf("Numpad5"),
|
|
KeyNumpad6: js.ValueOf("Numpad6"),
|
|
KeyNumpad7: js.ValueOf("Numpad7"),
|
|
KeyNumpad8: js.ValueOf("Numpad8"),
|
|
KeyNumpad9: js.ValueOf("Numpad9"),
|
|
KeyNumpadAdd: js.ValueOf("NumpadAdd"),
|
|
KeyNumpadDecimal: js.ValueOf("NumpadDecimal"),
|
|
KeyNumpadDivide: js.ValueOf("NumpadDivide"),
|
|
KeyNumpadEnter: js.ValueOf("NumpadEnter"),
|
|
KeyNumpadEqual: js.ValueOf("NumpadEqual"),
|
|
KeyNumpadMultiply: js.ValueOf("NumpadMultiply"),
|
|
KeyNumpadSubtract: js.ValueOf("NumpadSubtract"),
|
|
KeyO: js.ValueOf("KeyO"),
|
|
KeyP: js.ValueOf("KeyP"),
|
|
KeyPageDown: js.ValueOf("PageDown"),
|
|
KeyPageUp: js.ValueOf("PageUp"),
|
|
KeyPause: js.ValueOf("Pause"),
|
|
KeyPeriod: js.ValueOf("Period"),
|
|
KeyPrintScreen: js.ValueOf("PrintScreen"),
|
|
KeyQ: js.ValueOf("KeyQ"),
|
|
KeyQuote: js.ValueOf("Quote"),
|
|
KeyR: js.ValueOf("KeyR"),
|
|
KeyS: js.ValueOf("KeyS"),
|
|
KeyScrollLock: js.ValueOf("ScrollLock"),
|
|
KeySemicolon: js.ValueOf("Semicolon"),
|
|
KeyShiftLeft: js.ValueOf("ShiftLeft"),
|
|
KeyShiftRight: js.ValueOf("ShiftRight"),
|
|
KeySlash: js.ValueOf("Slash"),
|
|
KeySpace: js.ValueOf("Space"),
|
|
KeyT: js.ValueOf("KeyT"),
|
|
KeyTab: js.ValueOf("Tab"),
|
|
KeyU: js.ValueOf("KeyU"),
|
|
KeyV: js.ValueOf("KeyV"),
|
|
KeyW: js.ValueOf("KeyW"),
|
|
KeyX: js.ValueOf("KeyX"),
|
|
KeyY: js.ValueOf("KeyY"),
|
|
KeyZ: js.ValueOf("KeyZ"),
|
|
}
|