mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
Mouse input engine handlers
This commit is contained in:
parent
3301ebb2cb
commit
c68dee214e
4 changed files with 44 additions and 2 deletions
|
@ -124,6 +124,15 @@ Engine handler is a function defined by a script, that can be called by the engi
|
|||
* - onTouchMove(touchEvent)
|
||||
- | A finger moved on a touch device.
|
||||
| `Touch event <openmw_input.html##(TouchEvent)>`_.
|
||||
* - onMouseButtonPress(button)
|
||||
- | A mouse button was pressed
|
||||
| Button id
|
||||
* - onMouseButtonRelease(button)
|
||||
- | A mouse button was released
|
||||
| Button id
|
||||
* - onMouseWheel(vertical, horizontal)
|
||||
- | Mouse wheel was scrolled
|
||||
| vertical and horizontal mouse wheel change
|
||||
* - | onConsoleCommand(
|
||||
| mode, command, selectedObject)
|
||||
- | User entered `command` in in-game console. Called if either
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue