mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add input.get_mouse_scroll()
This commit is contained in:
parent
6b915b33a4
commit
c83a73102e
3 changed files with 18 additions and 0 deletions
|
|
@ -63,6 +63,13 @@ input.get_mouse_delta() --> {int, int}
|
|||
|
||||
Returns cursor movement delta.
|
||||
|
||||
```lua
|
||||
input.get_mouse_scroll() --> int
|
||||
```
|
||||
|
||||
Returns the vertical mouse wheel offset accumulated during the current frame.
|
||||
A positive value indicates scrolling up; a negative value indicates scrolling down.
|
||||
|
||||
```lua
|
||||
input.get_bindings() --> strings array
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue