diff options
author | Peter Osterlund <petero2@telia.com> | 2004-08-07 22:10:03 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:02:48 +0200 |
commit | 30274dc58b2bca935aeb1aed62c718e7d619c518 (patch) | |
tree | 4c497c79f5a8d70c29b7959247e3a00f1146855b | |
parent | 5faa64b7f60ce64c38d0e2e2968c34d427c91a40 (diff) |
Update FreeBSD psm driver.
From Arne Schwabe <arne@rfc2549.org>.
-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 |