@theatrejs/theatrejs
Version:
🎮 A JavaScript 2D Game Engine focused on creating pixel art games.
68 lines (59 loc) • 1.18 kB
JavaScript
/**
* @module EVENT_TYPES/POINTER
*/
/**
* The pointer 'POINTER_ANALOG' event type.
* @type {'pointeranalog'}
* @constant
*
* @memberof module:EVENT_TYPES/POINTER
*/
const POINTER_ANALOG = 'pointeranalog';
/**
* The pointer 'POINTER_DOWN' event type.
* @type {'pointerdown'}
* @constant
*
* @memberof module:EVENT_TYPES/POINTER
*/
const POINTER_DOWN = 'pointerdown';
/**
* The pointer 'POINTER_ENTER' event type.
* @type {'pointerenter'}
* @constant
*
* @memberof module:EVENT_TYPES/POINTER
*/
const POINTER_ENTER = 'pointerenter';
/**
* The pointer 'POINTER_LEAVE' event type.
* @type {'pointerleave'}
* @constant
*
* @memberof module:EVENT_TYPES/POINTER
*/
const POINTER_LEAVE = 'pointerleave';
/**
* The pointer 'POINTER_MOVE' event type.
* @type {'pointermove'}
* @constant
*
* @memberof module:EVENT_TYPES/POINTER
*/
const POINTER_MOVE = 'pointermove';
/**
* The pointer 'POINTER_UP' event type.
* @type {'pointerup'}
* @constant
*
* @memberof module:EVENT_TYPES/POINTER
*/
const POINTER_UP = 'pointerup';
export {
POINTER_ANALOG,
POINTER_DOWN,
POINTER_ENTER,
POINTER_LEAVE,
POINTER_MOVE,
POINTER_UP
};