Skip to content

Commit 700c9da

Browse files
committed
New input const (and changed order to be numeric order)
1 parent 8968b21 commit 700c9da

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

src/input/const.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ var INPUT_CONST = {
6060
*/
6161
TOUCH_END: 5,
6262

63+
/**
64+
* The pointer lock has changed.
65+
*
66+
* @name Phaser.Input.POINTER_LOCK_CHANGE
67+
* @type {integer}
68+
* @since 3.10.0
69+
*/
70+
POINTER_LOCK_CHANGE: 6,
71+
6372
/**
6473
* A touch pointer has been been cancelled by the browser.
6574
*
@@ -70,13 +79,13 @@ var INPUT_CONST = {
7079
TOUCH_CANCEL: 7,
7180

7281
/**
73-
* The pointer lock has changed.
82+
* The mouse wheel changes.
7483
*
75-
* @name Phaser.Input.POINTER_LOCK_CHANGE
84+
* @name Phaser.Input.MOUSE_WHEEL
7685
* @type {integer}
77-
* @since 3.10.0
86+
* @since 3.18.0
7887
*/
79-
POINTER_LOCK_CHANGE: 6
88+
MOUSE_WHEEL: 8
8089

8190
};
8291

0 commit comments

Comments
 (0)