ffctl/ffscript/keys.go

99 lines
1.3 KiB
Go
Raw Normal View History

2024-02-09 08:05:39 +00:00
package main
const (
KeyNull = '\ue000' + iota
KeyCancel
KeyHelp
KeyBackspace
KeyTab
KeyClear
KeyReturn
KeyEnter
KeyLeftShift
KeyLeftControl
KeyLeftAlt
KeyPause
KeyEscape
KeySpace
KeyPageUp
KeyPageDown
KeyEnd // 0xE010
KeyHome
KeyArrowLeft
KeyArrowUp
KeyArrowRight
KeyArrowDown
KeyInsert
KeyDelete
KeySemicolon
KeyEquals
KeyNumpad0
KeyNumpad1
KeyNumpad2
KeyNumpad3
KeyNumpad4
KeyNumpad5
KeyNumpad6 // 0xE020
KeyNumpad7
KeyNumpad8
KeyNumpad9
KeyNumpadMultiply
KeyNumpadAdd
KeyNumpadSeparator
KeyNumpadSubtract
KeyNumpadDecimal
KeyNumpadDivide
_KeyUnusedE02A
_KeyUnusedE02B
_KeyUnusedE02C
_KeyUnusedE02D
_KeyUnusedE02E
_KeyUnusedE02F
_KeyUnusedE030 // 0xE030
KeyF1
KeyF2
KeyF3
KeyF4
KeyF5
KeyF6
KeyF7
KeyF8
KeyF9
KeyF10
KeyF11
KeyF12
KeyLeftMeta
_KeyUnusedE03E
_KeyUnusedE03F
KeyZenkakuHankaku // 0xE040
_KeyUnusedE041
_KeyUnusedE042
_KeyUnusedE043
_KeyUnusedE044
_KeyUnusedE045
_KeyUnusedE046
_KeyUnusedE047
_KeyUnusedE048
_KeyUnusedE049
_KeyUnusedE04a
_KeyUnusedE04b
_KeyUnusedE04c
_KeyUnusedE04d
_KeyUnusedE04e
_KeyUnusedE04f
KeyRightShift // 0xE050
KeyRightControl
KeyRightAlt
KeyRightMeta
KeyNumpadPageUp
KeyNumpadPageDown
KeyNumpadEnd
KeyNumpadHome
KeyNumpadLeft
KeyNumpadUp
KeyNumpadRight
KeyNumpadDown
KeyNumpadInsert
KeyNumpadDelete
)