UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

7 lines 313 B
/** * * @param {TouchEvent|MouseEvent} event * @returns {number} index of touch or mouse button that corresponded to this event, multiplexed with the device ID in MSB area */ export function eventToSourceIdentifier(event: TouchEvent | MouseEvent): number; //# sourceMappingURL=eventToSourceIdentifier.d.ts.map