- Function
Return the state of the mouse buttons and the position of the mouse.
- Header
- Declaration
void __fastcall__ mouse_info (struct mouse_info* info);
- Description
The function returns the state of the mouse buttons and the position of the mouse in the
mouse_info
structure passed as parameter.- Limits
- The
mouse_info
struct is a superset of themouse_pos
struct, so if you just need the mouse position, callmouse_pos
instead.- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
cc65
- See also
- Example
None.