MCPcopy Create free account
hub / github.com/SpringRoll/SpringRoll / onKeyDown

Method onKeyDown

src/controller/Controller.js:47–49  ·  view source on GitHub ↗

* Called on keyup. Sets flag to 1 if key is being watched. * @param {KeyboardEvent} e * @memberof Controller

(e)

Source from the content-addressed store, hash-verified

45 * @memberof Controller
46 */
47 onKeyDown(e) {
48 this.onKey(e, 1);
49 }
50
51 /**
52 * Called on keyup. Sets flag to 2 if key is being watched.

Callers

nothing calls this directly

Calls 1

onKeyMethod · 0.95

Tested by

no test coverage detected