summaryrefslogtreecommitdiff
path: root/src/alpscomm.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-29 21:29:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:17:36 +1000
commit609b6728effb53006b2d0be1fac55d4ab1f269d2 (patch)
treef8b5411d24ad2fbb5a661ed959702d35b4cc79fa /src/alpscomm.c
parentc3ab0ae4f3f04da7018173662ede174c97710c8a (diff)
Purge SynapticsHWInfo stuff, move it into proto_data.
This was only used in PS/2, on linux only on kernel 2.4 and it clobbered up the rest. Move it to the ps2comm parts only, keep it private there. This includes adding a "proto_data" field to the SynapticsPrivate. This patch removes the -h option for synclient. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Christoph Brill <egore911@egore911.de>
Diffstat (limited to 'src/alpscomm.c')
-rw-r--r--src/alpscomm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alpscomm.c b/src/alpscomm.c
index a1b6fb1..e1a059c 100644
--- a/src/alpscomm.c
+++ b/src/alpscomm.c
@@ -87,7 +87,7 @@ ALPS_initialize(int fd)
}
static Bool
-ALPSQueryHardware(LocalDevicePtr local, struct SynapticsHwInfo *synhw)
+ALPSQueryHardware(LocalDevicePtr local)
{
ALPS_initialize(local->fd);
return TRUE;
@@ -227,7 +227,7 @@ ALPS_process_packet(unsigned char *packet, struct SynapticsHwState *hw)
}
static Bool
-ALPSReadHwState(LocalDevicePtr local, struct SynapticsHwInfo *synhw,
+ALPSReadHwState(LocalDevicePtr local,
struct SynapticsProtocolOperations *proto_ops,
struct CommData *comm, struct SynapticsHwState *hwRet)
{