- Function
Return the position of the mouse.
- Header
- Declaration
void __fastcall__ mouse_pos (struct mouse_pos* pos);- Description
The function returns the position of the mouse in the
mouse_posstructure passed as parameter.- Limits
- The
mouse_posstruct is a subset of themouse_infostruct, so if you do also need the mouse buttons, callmouse_infoinstead.- 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.