mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
mouse: Return float movement for precise scrolling where possible (#1397)
This commit is contained in:
@ -436,7 +436,7 @@
|
||||
</Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="GetMouseWheelMove" func="yes">
|
||||
<Overload retVal="int" descr="Returns mouse wheel movement Y"></Overload>
|
||||
<Overload retVal="float" descr="Returns mouse wheel movement Y"></Overload>
|
||||
</KeyWord>
|
||||
|
||||
<!-- Input-related functions: touch -->
|
||||
|
||||
@ -571,7 +571,7 @@
|
||||
</Overload>
|
||||
</KeyWord>
|
||||
<KeyWord name="GetMouseWheelMove" func="yes">
|
||||
<Overload retVal="int" descr="Returns mouse wheel movement Y"></Overload>
|
||||
<Overload retVal="float" descr="Returns mouse wheel movement Y"></Overload>
|
||||
</KeyWord>
|
||||
|
||||
<!-- Input-related functions: touch -->
|
||||
|
||||
@ -147,7 +147,7 @@ RLAPI Vector2 GetMousePosition(void); // Returns mouse p
|
||||
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 int GetMouseWheelMove(void); // Returns mouse wheel movement Y
|
||||
RLAPI float GetMouseWheelMove(void); // Returns mouse wheel movement Y
|
||||
|
||||
// Input-related functions: touch
|
||||
RLAPI int GetTouchX(void); // Returns touch position X for touch point 0 (relative to screen size)
|
||||
|
||||
Reference in New Issue
Block a user