From: cuz Date: Sat, 8 Sep 2001 20:04:21 +0000 (+0000) Subject: Minor changes X-Git-Tag: V2.12.0~2705 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fee7b6dc3bd818906fcca92c4c95096b504fd33e;p=cc65 Minor changes git-svn-id: svn://svn.cc65.org/cc65/trunk@874 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/mouse.h b/include/mouse.h index 0a1294e1a..9eaccb990 100644 --- a/include/mouse.h +++ b/include/mouse.h @@ -59,6 +59,7 @@ /* Mouse button masks */ #define MOUSE_BTN_LEFT 0x10 +#define MOUSE_BTN_RIGHT 0x01 /* Structure containing the mouse coordinates */ struct mouse_pos { @@ -68,8 +69,7 @@ struct mouse_pos { /* Structure containing information about the mouse */ struct mouse_info { - int xpos; /* Mouse x position */ - int ypos; /* Mouse y position */ + struct mouse_pos pos; /* Mouse position */ unsigned char buttons; /* Mouse button mask */ };