2022-11-18 21:38:41 +01:00

12 lines
227 B
JavaScript

/** Names of the possible directions. */
export var directionNames = {
x: ['Right', 'Left'],
y: ['Down', 'Up']
};
/** States for the gesture. */
export var state = {
inactive: 0,
watching: 1,
dragging: 2
};