diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-04-25 23:42:19 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-04-25 23:42:19 +0000 |
commit | ef225031e908307c66a2ac1a194fd3f5bcc94acd (patch) | |
tree | 5128cc099a8d18ee60db132c88e932e9ce872451 /linuxmouse.c | |
parent | 1ce8478377a04820260f0803d239b9cf84b912c2 (diff) |
cleaned out leftover cruft; added CVS keyword; put all includes into linuxhid.h
svn path=/trunk/externals/hcs/; revision=595
Diffstat (limited to 'linuxmouse.c')
-rw-r--r-- | linuxmouse.c | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/linuxmouse.c b/linuxmouse.c index 913d35b..da7147e 100644 --- a/linuxmouse.c +++ b/linuxmouse.c @@ -1,35 +1,9 @@ -
-#include <m_imp.h>
-
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
-#endif
-
-
-#include <linux/input.h>
-
-#include <sys/stat.h>
-
-#include <string.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#include <sys/ioctl.h>
-#include <unistd.h>
-#include <termios.h>
-
#include "linuxhid.h"
-#define DEBUG(x)
-/*#define DEBUG(x) x */
-
-
#define LINUXMOUSE_DEVICE "/dev/input/event0"
-
#define LINUXMOUSE_AXES 3
-#define LINUXMOUSE_BUTTONS 7
+static char *version = "$Revision: 1.2 $";
/*------------------------------------------------------------------------------
* CLASS DEF
@@ -46,8 +20,6 @@ typedef struct _linuxmouse { t_outlet *x_axis_out[LINUXMOUSE_AXES];
t_outlet *x_button_num_out;
t_outlet *x_button_val_out;
- t_clock *x_clock;
- double x_delaytime;
unsigned char x_buttons;
unsigned char x_axes;
}t_linuxmouse;
|