Liking cljdoc? Tell your friends :D

quip.input


default-key-pressedclj

(default-key-pressed state e)

Prevent the default behaviour of esc closing the sketch and add the pressed key to the list of currently held keys.

Prevent the default behaviour of esc closing the sketch and add the
pressed key to the list of currently held keys.
sourceraw docstring

default-key-releasedclj

(default-key-released state e)

Remove the released key from the list of currently held keys.

Remove the released key from the list of currently held keys.
sourceraw docstring

default-mouse-pressedclj

(default-mouse-pressed state e)
source

default-mouse-releasedclj

(default-mouse-released state e)
source

key-pressedclj

(key-pressed {:keys [input-enabled? scenes current-scene] :as state} e)

Reduce applying a handler function: (f state e) accross the collection of :key-pressed-fns in the current scene.

Reduce applying a handler function:
  (f state e)
accross the collection of `:key-pressed-fns` in the current scene.
sourceraw docstring

key-releasedclj

(key-released {:keys [input-enabled? scenes current-scene] :as state} e)

Reduce applying a handler function: (f state e) accross the collection of :key-released-fns in the current scene.

Reduce applying a handler function:
  (f state e)
accross the collection of `:key-released-fns` in the current scene.
sourceraw docstring

mouse-pressedclj

(mouse-pressed {:keys [input-enabled? scenes current-scene] :as state} e)

Reduce applying a handler function: (f state e) accross the collection of :mouse-pressed-fns in the current scene.

Reduce applying a handler function:
  (f state e)
accross the collection of `:mouse-pressed-fns` in the current scene.
sourceraw docstring

mouse-releasedclj

(mouse-released {:keys [input-enabled? scenes current-scene] :as state} e)

Reduce applying a handler function: (f state e) accross the collection of :mouse-released-fns in the current scene.

Reduce applying a handler function:
  (f state e)
accross the collection of `:mouse-released-fns` in the current scene.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close