diff options
author | Peter Osterlund <petero2@telia.com> | 2004-04-12 01:27:55 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:02:00 +0200 |
commit | 5a3e05478ae3e641791031c241dc00eb43598726 (patch) | |
tree | 9afe8241c4ed96adedb9afd338734e980f5acc00 /ps2comm.c | |
parent | bda42daf592497ee210868660ce6be5a0f390e98 (diff) |
Some work on abstracting out the protocol differences from
synaptics.c to make supporting the FreeBSD psm driver possible.
Diffstat (limited to 'ps2comm.c')
-rw-r--r-- | ps2comm.c | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -25,9 +25,8 @@ * */ -#include "xf86_OSproc.h" - #include "ps2comm.h" +#include "synproto.h" #include "synaptics.h" /* acknowledge for commands and parameter */ @@ -450,3 +449,20 @@ QueryIsSynaptics(int fd) return FALSE; } } + + +static void +DeviceOnHook(LocalDevicePtr local) +{ +} + +static void +DeviceOffHook(LocalDevicePtr local) +{ + synaptics_set_mode(local->fd, 0); +} + +struct SynapticsProtocolOperations psaux_proto_operations = { + DeviceOnHook, + DeviceOffHook +}; |