87 #endif // SFML_MOUSE_H
Keep last – the total number of mouse buttons.
2-component vector of integers
The second extra mouse button.
The middle (wheel) mouse button.
CSFML_WINDOW_API void sfMouse_setPosition(sfVector2i position, const sfWindow *relativeTo)
Set the current position of the mouse.
CSFML_WINDOW_API sfVector2i sfMouse_getPosition(const sfWindow *relativeTo)
Get the current position of the mouse.
sfMouseButton
Mouse buttons.
The first extra mouse button.
CSFML_WINDOW_API sfBool sfMouse_isButtonPressed(sfMouseButton button)
Check if a mouse button is pressed.