diff options
-rw-r--r-- | freebsd_mouse.h | 6 | ||||
-rw-r--r-- | psmcomm.c | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/freebsd_mouse.h b/freebsd_mouse.h index 7af95b8..6c134f1 100644 --- a/freebsd_mouse.h +++ b/freebsd_mouse.h @@ -23,11 +23,7 @@ typedef struct mousehw { #define MOUSE_SETVARS _IOW('M', 7, mousevar_t) #define MOUSE_READSTATE _IOWR('M', 8, mousedata_t) #define MOUSE_READDATA _IOWR('M', 9, mousedata_t) -#define MOUSE_SYNGETHWINFO _IOR('M', 10, synapticshw_t) - -#define MOUSE_SYNAPTICS_CMD _IOW('M', 10, char) -#define MOUSE_SYNAPTICS_INFO _IOW('M', 11, char) -#define MOUSE_SYNAPTICS_ENABLE_PASSTHROUGH _IOW('M', 12, char) +#define MOUSE_SYN_GETHWINFO _IOR('M', 100, synapticshw_t) typedef struct synapticshw { @@ -45,7 +45,7 @@ psm_synaptics_identify(int fd, synapticshw_t *ident) { int ret; - SYSCALL(ret = ioctl(fd, MOUSE_SYNGETHWINFO, ident)); + SYSCALL(ret = ioctl(fd, MOUSE_SYN_GETHWINFO, ident)); if (ret == 0) return TRUE; else |