2016-08-26 17:50:26 +02:00
|
|
|
// Copyright 2013 The Ebiten Authors
|
2015-01-01 19:29:51 +01:00
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
|
2018-04-20 09:54:33 +02:00
|
|
|
// Code generated by genkeys.go using 'go generate'. DO NOT EDIT.
|
2015-01-07 15:21:52 +01:00
|
|
|
|
2019-03-30 15:28:07 +01:00
|
|
|
package driver
|
2015-01-01 19:29:51 +01:00
|
|
|
|
|
|
|
type Key int
|
|
|
|
|
|
|
|
const (
|
2015-01-06 18:25:26 +01:00
|
|
|
Key0 Key = iota
|
|
|
|
Key1
|
|
|
|
Key2
|
|
|
|
Key3
|
|
|
|
Key4
|
|
|
|
Key5
|
|
|
|
Key6
|
|
|
|
Key7
|
|
|
|
Key8
|
|
|
|
Key9
|
|
|
|
KeyA
|
|
|
|
KeyB
|
|
|
|
KeyC
|
2015-01-07 03:00:15 +01:00
|
|
|
KeyD
|
|
|
|
KeyE
|
|
|
|
KeyF
|
|
|
|
KeyG
|
|
|
|
KeyH
|
|
|
|
KeyI
|
|
|
|
KeyJ
|
|
|
|
KeyK
|
|
|
|
KeyL
|
|
|
|
KeyM
|
|
|
|
KeyN
|
|
|
|
KeyO
|
|
|
|
KeyP
|
|
|
|
KeyQ
|
|
|
|
KeyR
|
|
|
|
KeyS
|
|
|
|
KeyT
|
|
|
|
KeyU
|
|
|
|
KeyV
|
|
|
|
KeyW
|
|
|
|
KeyX
|
|
|
|
KeyY
|
|
|
|
KeyZ
|
2017-04-13 20:09:00 +02:00
|
|
|
KeyApostrophe
|
|
|
|
KeyBackslash
|
2015-01-07 03:22:25 +01:00
|
|
|
KeyBackspace
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyCapsLock
|
|
|
|
KeyComma
|
|
|
|
KeyDelete
|
2015-01-01 19:29:51 +01:00
|
|
|
KeyDown
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyEnd
|
|
|
|
KeyEnter
|
2017-04-13 20:09:00 +02:00
|
|
|
KeyEqual
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyEscape
|
|
|
|
KeyF1
|
|
|
|
KeyF2
|
|
|
|
KeyF3
|
|
|
|
KeyF4
|
|
|
|
KeyF5
|
|
|
|
KeyF6
|
|
|
|
KeyF7
|
|
|
|
KeyF8
|
|
|
|
KeyF9
|
2015-01-07 03:00:15 +01:00
|
|
|
KeyF10
|
|
|
|
KeyF11
|
|
|
|
KeyF12
|
2017-04-13 20:09:00 +02:00
|
|
|
KeyGraveAccent
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyHome
|
|
|
|
KeyInsert
|
2018-04-12 16:56:50 +02:00
|
|
|
KeyKP0
|
|
|
|
KeyKP1
|
|
|
|
KeyKP2
|
|
|
|
KeyKP3
|
|
|
|
KeyKP4
|
|
|
|
KeyKP5
|
|
|
|
KeyKP6
|
|
|
|
KeyKP7
|
|
|
|
KeyKP8
|
|
|
|
KeyKP9
|
|
|
|
KeyKPAdd
|
|
|
|
KeyKPDecimal
|
|
|
|
KeyKPDivide
|
|
|
|
KeyKPEnter
|
|
|
|
KeyKPEqual
|
|
|
|
KeyKPMultiply
|
|
|
|
KeyKPSubtract
|
2015-01-01 19:29:51 +01:00
|
|
|
KeyLeft
|
2019-09-01 15:47:40 +02:00
|
|
|
KeyLeftAlt
|
2017-04-13 20:09:00 +02:00
|
|
|
KeyLeftBracket
|
2019-09-01 15:47:40 +02:00
|
|
|
KeyLeftControl
|
|
|
|
KeyLeftShift
|
2018-04-21 18:36:28 +02:00
|
|
|
KeyMenu
|
2017-04-13 20:09:00 +02:00
|
|
|
KeyMinus
|
2018-04-12 18:18:54 +02:00
|
|
|
KeyNumLock
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyPageDown
|
|
|
|
KeyPageUp
|
2018-04-21 18:36:28 +02:00
|
|
|
KeyPause
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyPeriod
|
2018-04-21 18:36:28 +02:00
|
|
|
KeyPrintScreen
|
2015-01-01 19:29:51 +01:00
|
|
|
KeyRight
|
2019-09-01 15:47:40 +02:00
|
|
|
KeyRightAlt
|
2017-04-13 20:09:00 +02:00
|
|
|
KeyRightBracket
|
2019-09-01 15:47:40 +02:00
|
|
|
KeyRightControl
|
|
|
|
KeyRightShift
|
2018-04-21 18:36:28 +02:00
|
|
|
KeyScrollLock
|
2017-04-13 20:09:00 +02:00
|
|
|
KeySemicolon
|
|
|
|
KeySlash
|
2015-01-01 19:29:51 +01:00
|
|
|
KeySpace
|
2015-01-06 18:25:26 +01:00
|
|
|
KeyTab
|
|
|
|
KeyUp
|
2019-09-01 15:47:40 +02:00
|
|
|
KeyReserved0
|
|
|
|
KeyReserved1
|
|
|
|
KeyReserved2
|
2015-01-01 19:29:51 +01:00
|
|
|
)
|