summaryrefslogtreecommitdiff
path: root/ps2comm.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-12-15 22:44:08 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:30 +0200
commite6d92b0e4399ead8d24e043857d3120b87ecc1ef (patch)
tree2c7d980e65d9f46d1a36f325216149bc5ad82e48 /ps2comm.h
parent13e1f68ac2c43e448bd012139bba5278a29f874c (diff)
Added pass through support. From David Kennedy and Fred
Hucht.
Diffstat (limited to 'ps2comm.h')
-rw-r--r--ps2comm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ps2comm.h b/ps2comm.h
index b85bc1d..8450151 100644
--- a/ps2comm.h
+++ b/ps2comm.h
@@ -20,6 +20,7 @@
/* synaptics capability bits */
#define SYN_CAP_EXTENDED(c) ((c) & (1 << 23))
+#define SYN_CAP_PASSTHROUGH(c) ((c) & (1 << 7))
#define SYN_CAP_SLEEP(c) ((c) & (1 << 4))
#define SYN_CAP_FOUR_BUTTON(c) ((c) & (1 << 3))
#define SYN_CAP_MULTIFINGER(c) ((c) & (1 << 1))
@@ -64,9 +65,15 @@ Bool
synaptics_read_mode(int fd, unsigned char *mode);
Bool
+SynapticsDisableDevice(int fd);
+
+Bool
SynapticsEnableDevice(int fd);
Bool
QueryIsSynaptics(int fd);
+Bool
+SynapticsResetPassthrough(int fd);
+
#endif /* _PS2COMM_H_ */