mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
83b2d4b112
This is a preparation for event package, that will have key enum. Updates #926
129 lines
1.6 KiB
Go
129 lines
1.6 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 driver
|
|
|
|
type Key int
|
|
|
|
const (
|
|
Key0 Key = iota
|
|
Key1
|
|
Key2
|
|
Key3
|
|
Key4
|
|
Key5
|
|
Key6
|
|
Key7
|
|
Key8
|
|
Key9
|
|
KeyA
|
|
KeyB
|
|
KeyC
|
|
KeyD
|
|
KeyE
|
|
KeyF
|
|
KeyG
|
|
KeyH
|
|
KeyI
|
|
KeyJ
|
|
KeyK
|
|
KeyL
|
|
KeyM
|
|
KeyN
|
|
KeyO
|
|
KeyP
|
|
KeyQ
|
|
KeyR
|
|
KeyS
|
|
KeyT
|
|
KeyU
|
|
KeyV
|
|
KeyW
|
|
KeyX
|
|
KeyY
|
|
KeyZ
|
|
KeyApostrophe
|
|
KeyBackslash
|
|
KeyBackspace
|
|
KeyCapsLock
|
|
KeyComma
|
|
KeyDelete
|
|
KeyDown
|
|
KeyEnd
|
|
KeyEnter
|
|
KeyEqual
|
|
KeyEscape
|
|
KeyF1
|
|
KeyF2
|
|
KeyF3
|
|
KeyF4
|
|
KeyF5
|
|
KeyF6
|
|
KeyF7
|
|
KeyF8
|
|
KeyF9
|
|
KeyF10
|
|
KeyF11
|
|
KeyF12
|
|
KeyGraveAccent
|
|
KeyHome
|
|
KeyInsert
|
|
KeyKP0
|
|
KeyKP1
|
|
KeyKP2
|
|
KeyKP3
|
|
KeyKP4
|
|
KeyKP5
|
|
KeyKP6
|
|
KeyKP7
|
|
KeyKP8
|
|
KeyKP9
|
|
KeyKPAdd
|
|
KeyKPDecimal
|
|
KeyKPDivide
|
|
KeyKPEnter
|
|
KeyKPEqual
|
|
KeyKPMultiply
|
|
KeyKPSubtract
|
|
KeyLeft
|
|
KeyLeftAlt
|
|
KeyLeftBracket
|
|
KeyLeftControl
|
|
KeyLeftShift
|
|
KeyMenu
|
|
KeyMinus
|
|
KeyNumLock
|
|
KeyPageDown
|
|
KeyPageUp
|
|
KeyPause
|
|
KeyPeriod
|
|
KeyPrintScreen
|
|
KeyRight
|
|
KeyRightAlt
|
|
KeyRightBracket
|
|
KeyRightControl
|
|
KeyRightShift
|
|
KeyScrollLock
|
|
KeySemicolon
|
|
KeySlash
|
|
KeySpace
|
|
KeyTab
|
|
KeyUp
|
|
KeyReserved0
|
|
KeyReserved1
|
|
KeyReserved2
|
|
)
|