MCPcopy Create free account
hub / github.com/microsoft/SandDance / TouchMouseInput

Function TouchMouseInput

docs/app/js/sanddance-app.js:93297–93304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93295 */ var DEDUP_TIMEOUT = 2500;
93296 var DEDUP_DISTANCE = 25;
93297 function TouchMouseInput() {
93298 Input.apply(this, arguments);
93299 var handler = bindFn(this.handler, this);
93300 this.touch = new TouchInput(this.manager, handler);
93301 this.mouse = new MouseInput(this.manager, handler);
93302 this.primaryTouch = null;
93303 this.lastTouches = [];
93304 }
93305 inherit(TouchMouseInput, Input, {
93306 /**
93307 * handle mouse and touch events

Callers

nothing calls this directly

Calls 1

bindFnFunction · 0.70

Tested by

no test coverage detected