support more keys

This commit is contained in:
Jeremy Penner 2013-03-19 21:46:55 -04:00
parent 2fd394b6c1
commit bb183c9869

View file

@ -57,7 +57,23 @@
Input/KEY_UP :up Input/KEY_UP :up
Input/KEY_DOWN :down Input/KEY_DOWN :down
Input/KEY_LEFT :left Input/KEY_LEFT :left
Input/KEY_RIGHT :right }) Input/KEY_RIGHT :right
Input/KEY_ESCAPE :esc
Input/KEY_TAB :tab
Input/KEY_SPACE " "
Input/KEY_COMMA ","
Input/KEY_PERIOD "."
Input/KEY_SLASH "/"
Input/KEY_SEMICOLON ";"
Input/KEY_APOSTROPHE "'"
Input/KEY_LBRACKET "["
Input/KEY_RBRACKET "]"
Input/KEY_BACKSLASH "\\"
Input/KEY_GRAVE "`"
Input/KEY_MINUS "-"
Input/KEY_EQUALS "="})
(def slick-mouse-to-mouse (def slick-mouse-to-mouse
{Input/MOUSE_LEFT_BUTTON :left {Input/MOUSE_LEFT_BUTTON :left