From bb183c986971cf75e1913fb8f8344db8f44bd839 Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Tue, 19 Mar 2013 21:46:55 -0400 Subject: [PATCH] support more keys --- src/hottub/slick.clj | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/hottub/slick.clj b/src/hottub/slick.clj index d88dcf9..342041e 100644 --- a/src/hottub/slick.clj +++ b/src/hottub/slick.clj @@ -57,7 +57,23 @@ Input/KEY_UP :up Input/KEY_DOWN :down 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 {Input/MOUSE_LEFT_BUTTON :left