Add function to read both X and Y mouse scrolling from a trackpad (#2517)
(GetMouseWheelMoveV).
This commit is contained in:
parent
875601c4cc
commit
e1e0bc4266
2 changed files with 39 additions and 14 deletions
|
@ -1124,7 +1124,8 @@ RLAPI Vector2 GetMouseDelta(void); // Get mouse delta
|
|||
RLAPI void SetMousePosition(int x, int y); // Set mouse position XY
|
||||
RLAPI void SetMouseOffset(int offsetX, int offsetY); // Set mouse offset
|
||||
RLAPI void SetMouseScale(float scaleX, float scaleY); // Set mouse scaling
|
||||
RLAPI float GetMouseWheelMove(void); // Get mouse wheel movement Y
|
||||
RLAPI float GetMouseWheelMove(void); // Get mouse wheel movement for X or Y, whichever is larger
|
||||
RLAPI Vector2 GetMouseWheelMoveV(void); // Get mouse wheel movement for both X and Y
|
||||
RLAPI void SetMouseCursor(int cursor); // Set mouse cursor
|
||||
|
||||
// Input-related functions: touch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue