mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Added mouse_ioctl
git-svn-id: svn://svn.cc65.org/cc65/trunk@2898 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d923233a53
commit
18a2904921
@ -52,6 +52,7 @@
|
||||
#define MOUSE_ERR_CANNOT_LOAD 2 /* Error loading driver */
|
||||
#define MOUSE_ERR_INV_DRIVER 3 /* Invalid driver */
|
||||
#define MOUSE_ERR_NO_DEVICE 4 /* Mouse hardware not found */
|
||||
#define MOUSE_ERR_INV_IOCTL 5 /* Invalid ioctl code */
|
||||
|
||||
/* Mouse button masks */
|
||||
#define MOUSE_BTN_LEFT 0x10
|
||||
@ -153,6 +154,11 @@ void __fastcall__ mouse_pos (struct mouse_pos* pos);
|
||||
void __fastcall__ mouse_info (struct mouse_info* info);
|
||||
/* Return the state of the mouse buttons and the position of the mouse */
|
||||
|
||||
unsigned char __fastcall__ mouse_ioctl (unsigned char code, void* data);
|
||||
/* Call the driver specific ioctl function. NON PORTABLE! Returns an error
|
||||
* code.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* End of mouse.h */
|
||||
|
Loading…
Reference in New Issue
Block a user