UNPKG

@theatrejs/theatrejs

Version:

🎮 A JavaScript 2D Game Engine focused on creating pixel art games.

68 lines (59 loc) • 1.39 kB
/** * @module EVENT_CODES/GYROSCOPE */ /** * The gyroscope 'ROTATION_X_NEGATIVE' event code. * @type {'RotationXNegative'} * @constant * * @memberof module:EVENT_CODES/GYROSCOPE */ const ROTATION_X_NEGATIVE = 'RotationXNegative'; /** * The gyroscope 'ROTATION_X_POSITIVE' event code. * @type {'RotationXPositive'} * @constant * * @memberof module:EVENT_CODES/GYROSCOPE */ const ROTATION_X_POSITIVE = 'RotationXPositive'; /** * The gyroscope 'ROTATION_Y_NEGATIVE' event code. * @type {'RotationYNegative'} * @constant * * @memberof module:EVENT_CODES/GYROSCOPE */ const ROTATION_Y_NEGATIVE = 'RotationYNegative'; /** * The gyroscope 'ROTATION_Y_POSITIVE' event code. * @type {'RotationYPositive'} * @constant * * @memberof module:EVENT_CODES/GYROSCOPE */ const ROTATION_Y_POSITIVE = 'RotationYPositive'; /** * The gyroscope 'ROTATION_Z_NEGATIVE' event code. * @type {'RotationZNegative'} * @constant * * @memberof module:EVENT_CODES/GYROSCOPE */ const ROTATION_Z_NEGATIVE = 'RotationZNegative'; /** * The gyroscope 'ROTATION_Z_POSITIVE' event code. * @type {'RotationZPositive'} * @constant * * @memberof module:EVENT_CODES/GYROSCOPE */ const ROTATION_Z_POSITIVE = 'RotationZPositive'; export { ROTATION_X_NEGATIVE, ROTATION_X_POSITIVE, ROTATION_Y_NEGATIVE, ROTATION_Y_POSITIVE, ROTATION_Z_NEGATIVE, ROTATION_Z_POSITIVE };