1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00

added mouse type defines; added mouse_down() prototype

git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2000-11-16 23:05:00 +00:00
parent 94c6fb5c4b
commit f681d0fdad

View File

@ -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