summaryrefslogtreecommitdiff
path: root/alpscomm.c
AgeCommit message (Collapse)Author
2006-04-09Fixed problem with ALPS dualpoint stick packets. packet[2]Peter Osterlund
does not contain button information.
2006-04-09Fixed spelling error in change 7b610b2d4bbfb72f31cc631c16be07973fbe8a16.Peter Osterlund
2006-04-09Fixed some problems with ALPS guest devices.Peter Osterlund
From Alastair M. Robinson: * The guest mouse doesn't report button releases. * The stick pointer has buttons of its own, and they don't work. Attached is another patch, this one far less invasive than the last, which fixes these two problems. (The button presses that come from the stick pointer's buttons arrive in events with pressure set to 127, just like stick movement - but this doesn't seem to be terribly reliable - I think the button release gets reported with true pressure when the touchpad is being used too. For this reason, I've set these up to report as ->left / ->right, not as ->guest_left / ->guest_right.) * One issue that remains - the middle button emulation for two button mice doesn't seem to work for the guest mouse. Fixed by me.
2006-04-09Whitespace fixes.Peter Osterlund
2006-04-09Added a comment about ALPS pointing stick initialization.Peter Osterlund
2006-04-09Handle guest alps devices in the same way as guest synapticsPeter Osterlund
devices, so that the hardware state is set correctly also when you use more than one device at the same time.
2006-04-09An ALPS 3-byte packet should set hw->guest_{left,right}, notPeter Osterlund
hw->{left,right}. Also, don't report bogus z/finger values when a dualpoint stick packet is received.
2006-04-09Spelling fix in alpscomm.c.Peter Osterlund
2006-04-09Patch from Alastair M. RobinsonPeter Osterlund
<blackfive@fakenhamweb.co.uk> to make the ALPS dual trackpad found on Dell CPx machines work. (For 2.4 kernels.) In order to get my trackpad working in absolute mode I had to make some modifications to the driver: Firstly, initialising the trackpad on this model is more complicated than other ALPS devices; the usual "magic knock" must be performed for both the trackpad and the pointing device, and I found that I needed a device reset first to get reliable initialisation. Secondly, the pointing stick, for obvious reasons, provides relative data even when the trackpad is in absolute mode. Thirdly, the guest mouse in the PS/2 port continues to send 3-byte packets.
2006-04-09Use generic ps2 functions in alpscomm.c instead of synapticsPeter Osterlund
specific functions.
2006-04-09Another whitespace fix in alpscomm.c.Peter Osterlund
2006-04-09Whitespace fix in alpscomm.c.Peter Osterlund
2006-04-09Added (untested) support for ALPS touchpads using the 2.4Peter Osterlund
linux kernel.