diff options
author | Peter Osterlund <petero2@telia.com> | 2004-07-30 03:16:59 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:02:41 +0200 |
commit | 90377b8c1b279cc5cc023a27cc2670bf911b76d7 (patch) | |
tree | ed75d5ca7f9e5a387cb82cfa57f123963571a855 /alpscomm.c | |
parent | f40f3d451ef883f53a43d9714c13e578598d9cee (diff) |
Use generic ps2 functions in alpscomm.c instead of synaptics
specific functions.
Diffstat (limited to 'alpscomm.c')
-rw-r--r-- | alpscomm.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -30,11 +30,12 @@ static void ALPS_initialize(int fd) { - ps2_synaptics_disable_device(fd); - ps2_synaptics_disable_device(fd); - ps2_synaptics_disable_device(fd); - ps2_synaptics_disable_device(fd); - ps2_synaptics_enable_device(fd); + xf86FlushInput(fd); + ps2_putbyte(fd, PS2_CMD_DISABLE); + ps2_putbyte(fd, PS2_CMD_DISABLE); + ps2_putbyte(fd, PS2_CMD_DISABLE); + ps2_putbyte(fd, PS2_CMD_DISABLE); + ps2_putbyte(fd, PS2_CMD_ENABLE); } static void |