]> git.sur5r.net Git - cc65/commitdiff
added mouse type defines; added mouse_down() prototype
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 16 Nov 2000 23:05:00 +0000 (23:05 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 16 Nov 2000 23:05:00 +0000 (23:05 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@438 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/mouse.h

index cd51683550cb24a15d0c313dda9c53880b0b42e3..adcc2fa214ca4b67d730fb86372db3360856da31 100644 (file)
 #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
 
-
-