webkeys.keys

Cross browser key event mangement in ClojureScript

ALT_KEY

ALT_OFFSET

CAPS_LOCK

CTRL_KEY

CTRL_OFFSET

default-key-fn

(default-key-fn key)

event->key

(event->key kc)

extra-keys

extra-keys-initial

extra-keys-set

extra-keys-text

(extra-keys-text)

key-translation

keydown

(keydown e)

keyup

(keyup e)

META_KEY

META_OFFSET

register-key-fn

(register-key-fn id key-fn)

shift?

(shift?)

SHIFT_KEY

SHIFT_OFFSET

xor

(xor a b)