From 18a29049215bfe62ac329e939e71567823afc8fa Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 5 Mar 2004 18:33:56 +0000 Subject: [PATCH] Added mouse_ioctl git-svn-id: svn://svn.cc65.org/cc65/trunk@2898 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/mouse.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/mouse.h b/include/mouse.h index cdc305315..a27cdf857 100644 --- a/include/mouse.h +++ b/include/mouse.h @@ -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 */ -- 2.39.5