Improve key transform functions and add scaling macro
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
|
||||
(defmacro key-code
|
||||
[key]
|
||||
`~(symbol (str u/main-package ".Input$Keys/" (u/key->static-field key true))))
|
||||
`~(symbol (str u/main-package ".Input$Keys/" (u/key->upper key))))
|
||||
|
||||
(defmacro is-pressed?
|
||||
[key]
|
||||
|
||||
Reference in New Issue
Block a user