From f681d0fdad94b04b7853429a1cbeb825efb9f3eb Mon Sep 17 00:00:00 2001 From: cpg Date: Thu, 16 Nov 2000 23:05:00 +0000 Subject: [PATCH] added mouse type defines; added mouse_down() prototype git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/mouse.h | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/include/mouse.h b/include/mouse.h index cd5168355..adcc2fa21 100644 --- a/include/mouse.h +++ b/include/mouse.h @@ -45,6 +45,21 @@ #ifdef __C128__ # define __MOUSE__ #endif +#ifdef __ATARI__ +# define __MOUSE__ +#endif + + +/*****************************************************************************/ +/* Definitions */ +/*****************************************************************************/ + + +/* the different mouse types */ +#define MOUSE_TRAKBALL 0 +#define MOUSE_ST 1 +#define MOUSE_AMIGA 2 +#define MOUSE_C64 3 /* 1351 mouse */ @@ -110,14 +125,15 @@ void __fastcall__ mouse_move (int x, int y); * inside the bounding box. */ +unsigned char mouse_down(void); +/* Get mouse button state (0 - up, 1 - dowm) + */ + void mouse_info (void); /* Hmmm... */ - /* End of mouse.h */ #endif - - -- 2.39.5