ebiten/internal/ui/keys.go

89 lines
1.1 KiB
Go
Raw Normal View History

2015-01-01 19:29:51 +01:00
// Copyright 2015 Hajime Hoshi
//
// 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.
package ui
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
KeyCapsLock
KeyComma
KeyD
KeyDelete
2015-01-01 19:29:51 +01:00
KeyDown
2015-01-06 18:25:26 +01:00
KeyE
KeyEnd
KeyEnter
KeyEscape
KeyF
KeyF1
KeyF10
KeyF11
KeyF12
KeyF2
KeyF3
KeyF4
KeyF5
KeyF6
KeyF7
KeyF8
KeyF9
KeyG
KeyH
KeyHome
KeyI
KeyInsert
KeyJ
KeyK
KeyL
2015-01-01 19:29:51 +01:00
KeyLeft
2015-01-06 18:25:26 +01:00
KeyLeftAlt
KeyLeftControl
KeyLeftShift
KeyM
KeyN
KeyO
KeyP
KeyPageDown
KeyPageUp
KeyPeriod
KeyQ
KeyR
2015-01-01 19:29:51 +01:00
KeyRight
2015-01-06 18:25:26 +01:00
KeyS
2015-01-01 19:29:51 +01:00
KeySpace
2015-01-06 18:25:26 +01:00
KeyT
KeyTab
KeyU
KeyUp
KeyV
KeyW
KeyX
KeyY
KeyZ
2015-01-01 19:29:51 +01:00
)