From: cpg Date: Thu, 16 Nov 2000 23:05:00 +0000 (+0000) Subject: added mouse type defines; added mouse_down() prototype X-Git-Tag: V2.12.0~3090 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f681d0fdad94b04b7853429a1cbeb825efb9f3eb;p=cc65 added mouse type defines; added mouse_down() prototype git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 - -