From fee7b6dc3bd818906fcca92c4c95096b504fd33e Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 8 Sep 2001 20:04:21 +0000 Subject: [PATCH] Minor changes git-svn-id: svn://svn.cc65.org/cc65/trunk@874 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/mouse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ }; -- 2.39.5