- key->int keyprocedure
key may be one of the following symbols:
- a
- b
- c
- d
- e
- f
- g
- h
- i
- j
- k
- l
- m
- n
- o
- p
- q
- r
- s
- t
- u
- v
- w
- x
- y
- z
- one
- two
- three
- four
- five
- six
- seven
- eight
- nine
- zero
- pad-one
- pad-two
- pad-three
- pad-four
- pad-five
- pad-six
- pad-seven
- pad-eight
- pad-nine
- pad-zerp
- f1
- f2
- f3
- f4
- f5
- f6
- f7
- f9
- f9
- f10
- f11
- f12
- escape
- tilde
- minus
- equals
- backspace
- tab
- openbrace
- enter
- semicolon
- quote
- backslash
- backslash2
- comma
- fullstop
- slash
- space
- insert
- delete
- home
- end
- pgup
- pgdn
- left
- right
- up
- down
- pad-slash
- pad-asterisk
- pad-minus
- pad-plus
- pad-delete
- pad-enter
- printscreen
- pause
- abnt-c1
- yen
- kana
- convert
- noconvert
- at
- circumflex
- colon2
- kanji
- pad-equals
- backquote
- semicolon2
- command
- unknown
- lshift
- rshift
- lctrl
- rctrl
- alt
- altgr
- lwin
- rwin
- menu
- scrolllock
- numlock
- capslock