mirror of
https://github.com/cc65/cc65.git
synced 2024-10-12 15:23:54 +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:
parent
94c6fb5c4b
commit
f681d0fdad
@ -45,6 +45,21 @@
|
|||||||
#ifdef __C128__
|
#ifdef __C128__
|
||||||
# define __MOUSE__
|
# define __MOUSE__
|
||||||
#endif
|
#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.
|
* inside the bounding box.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
unsigned char mouse_down(void);
|
||||||
|
/* Get mouse button state (0 - up, 1 - dowm)
|
||||||
|
*/
|
||||||
|
|
||||||
void mouse_info (void);
|
void mouse_info (void);
|
||||||
/* Hmmm...
|
/* Hmmm...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* End of mouse.h */
|
/* End of mouse.h */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user