new Mouse()
- See:
-
- {Input}
Properties:
Name | Type | Description |
---|---|---|
sensitivityX |
The horizontal mouse movement sensitivity |
|
sensitivityY |
The vertical mouse movement sensitivity |
|
sensitivityScroll |
The scroll wheel sensitivity |
Members
-
<static> BUTTON_LEFT
-
The left button name
-
<static> BUTTON_MIDDLE
-
The middle (usually scroll) button name
-
<static> BUTTON_RIGHT
-
The right button name
-
<static> DRAG_X
-
The axis name for when the mouse moves over the canvas with the left mouse button down
-
<static> DRAG_Y
-
The axis name for when the mouse moves over the canvas with the left mouse button down
-
<static> MOVE_X
-
The axis name for when the mouse moves horizontally over the canvas
-
<static> MOVE_Y
-
The axis name for when the mouse moves vertically over the canvas
-
<static> POS_X
-
The axis name for the mouse position on the canvas. 0 means all the way left, 1 means all the way right.
-
<static> POS_Y
-
The axis name for the mouse position on the canvas. 0 means all the way to the top, 1 means all the way to the bottom.
-
<static> WHEEL_X
-
The axis name when the horizontal scroll wheel moves
-
<static> WHEEL_Y
-
The axis name when the vertical scroll wheel moves
Methods
-
map()
-
-
unmap()
-