summaryrefslogtreecommitdiff
path: root/synaptics.h
AgeCommit message (Collapse)Author
2006-04-09Removed repeater from the shared memory segment. It's notPeter Osterlund
possible to share pointers between different address spaces.
2006-04-09Renamed synapticshw to SynapticsHwInfo to avoid conflictsPeter Osterlund
with the FreeBSD psm driver.
2006-04-09Moved the CommData struct from synaptics.h to synproto.h soPeter Osterlund
that ps2comm.c and eventcomm.c don't have to define SYNAPTICS_PRIVATE.
2006-04-09Don't send the whole SynapticsPrivate struct to thePeter Osterlund
ReadHwState() functions.
2006-04-09Small #include fix.Peter Osterlund
2006-04-09Moved reading of hardware state to the protocol specificPeter Osterlund
files.
2006-04-09Moved the QueryHardware function to the protocol specificPeter Osterlund
files.
2006-04-09The PrintIdent() function doesn't need access to the wholePeter Osterlund
SynapticsPrivate struct.
2006-04-09Some work on abstracting out the protocol differences fromPeter Osterlund
synaptics.c to make supporting the FreeBSD psm driver possible.
2006-04-09Spelling fix.Peter Osterlund
2006-04-09Implemented a proper state machine for tap and dragPeter Osterlund
processing. This fixes several problems: * Double tap and drag now works. (Problem reported by Andrew Pimlott <andrew@pimlott.net>.) * Locked drags are handled correctly, even for button 2 and 3 tap-and-drag operations. * The [LR][TB]CornerButton and TapButton[123] parameters now work also for button values > 3. * The old code was too hard to understand.
2006-04-09Fixed spelling error.Peter Osterlund
2006-04-09Some changes to make supporting FreeBSD easier. From ArnePeter Osterlund
Schwabe <arne@rfc2549.org>, with some editing by me.
2006-04-09Made it possible to use "edge motion" also when notPeter Osterlund
dragging. From Matthias Ihmig <m.ihmig@gmx.net>.
2006-04-09Added pressure dependent edge motion speed. From MatthiasPeter Osterlund
Ihmig <m.ihmig@gmx.net>.
2006-04-09Added support for middle mouse buttons. (Some ALPS touchpadsPeter Osterlund
have them.)
2006-04-09Added support for circular scrolling. From Alexei GilchristPeter Osterlund
<alexei@physics.uq.edu.au>, with some cosmetic changes by me.
2006-04-09Handle touchpads with a scroll region on the right sidePeter Osterlund
where very large X coordinates (typically 8176=0x1ff0) are reported.
2006-04-09Made tap processing configurable. Patch from Justin QuekPeter Osterlund
<quek@crhc.uiuc.edu>, cleaned up somewhat by me.
2006-04-09Added pass through support. From David Kennedy and FredPeter Osterlund
Hucht.
2006-04-09Replaced the oneFinger, twoFingers and threeFingersPeter Osterlund
variables in SynapticsHwState with a single variable numFingers. This is more logical, the old variables only existed because of implementation details in the 2.6 kernel interface.
2006-04-09Removed compatibility code for old (<test6) 2.6 kernels.Peter Osterlund
2006-04-09Removed unnecessary pointer typedefs.Peter Osterlund
2006-04-09Report all eight multi buttons in the synclient program.Peter Osterlund
2006-04-09Implemented "locked drags", after a suggestion fromPeter Osterlund
"Karl Kashofer" <karl.kashofer@gmx.at>.
2006-04-09Added support for the new 2.6 kernel events ABS_TOOL_WIDTH,Peter Osterlund
BTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP and BTN_TOOL_TRIPLETAP. Note that this swaps the direction of the Y axis internally to match X and the linux input subsystem. Because of this, the TopEdge and BottomEdge parameters must be modified in the config file. There is some backwards compatibility code for old 2.5/2.6 kernels that will probably be deleted later.
2006-04-09Made it possible to disable the touchpad at runtime. (PatchPeter Osterlund
from "Jörg Bösner" <ich@joerg-boesner.de>.)
2006-04-09Comment fixes.Peter Osterlund
2006-04-09Changed tab size from 4 to the standard value 8. ReindentedPeter Osterlund
code so that it still looks sane.
2006-04-09Removed trailing whitespace.Peter Osterlund
2006-04-09Reset the touchpad if it has been out of sync for too long.Peter Osterlund
(By Hartwig Felger, cleaned up somewhat by me.) The synaptics manual explains that the touchpad can revert to relative mode after a power glitch or electrostatic discharge.
2006-04-09Added proper support for "multi buttons". The old codePeter Osterlund
referred to this as six_button mode, but this mode was activated based on firmware version, which was not correct. From Hartwig Felger.
2006-04-09Added #define's for the constants used by the linux eventPeter Osterlund
interface.
2006-04-09Removed trailing whitespace.Peter Osterlund
2006-04-09Made horizontal wheel replacement buttons work. (FromPeter Osterlund
Hartwig Felger.) For 2.5.x, a kernel patch is also needed.
2006-04-09Use packet counting instead of time to decide when to startPeter Osterlund
generating pointer movement events. This fixes the bug that incorrectly moved the cursor to the upper right corner when quickly putting the finger on the touchpad.
2006-04-09Rewrote timer handling so that the driver no longer dependsPeter Osterlund
on packets arriving 1s after the last state change. (The kernel driver only reports to user space when something changes.) Use wall clock time instead of packet counting for time computations. This change also means that configurable times are now specified in milliseconds instead of units of 1/80s.
2006-04-09Added support for kernel input event interface. NotPeter Osterlund
activated yet though.
2006-04-09Abstracted out the code to determine the hardware statePeter Osterlund
from the ReadInput() function. This will make it possible to support the event based absolute packet format generated by the 2.5 kernel.
2006-04-09Remove shared memory segment when the X server terminates.Peter Osterlund
Made synclient behave better when the memory segment is not accessible or has the wrong size.
2006-04-09Forgot comment in change 3db42d5b33662dbda6f0dde6cdb34748a254884f.Peter Osterlund
2006-04-09Merged 6 button support from 0.11.3, but only activate itPeter Osterlund
for firmware version 5.8 and later. (Everything from 0.11.3 is now merged.)
2006-04-09Better state machine for handling middle mouse buttonPeter Osterlund
emulation. * Clicks shorter than EmulateMidButtonTime are no longer lost. * The middle button event is generated as soon as both the left and the right buttons are pressed. The old code waited until the timeout had passed before even checking if both buttons were pressed.
2006-04-09Build improvements.Peter Osterlund
* Build synclient by default. * Made it possible to build synclient even if an X source tree is not available. * Added Makefile dependencies so that things get recompiled when a header file is changed. * synclient.c now includes synaptics.h instead of duplicating the shared memory segment definitions.
2006-04-09Made the timeout for middle button emulation configurable.Peter Osterlund
2006-04-09Make double click processing from changePeter Osterlund
4cc36ca33128f17be57e3a58a44374d9558fbfe9 more reliable. In the old code, a very short click could generate a single click instead of a double click.
2006-04-09Merged handling of UpDownScrolling option from 0.11.3.Peter Osterlund
2006-04-09Lots of whitespace changes to reduce the diff compared toPeter Osterlund
official version 0.11.3.
2006-04-09Implemented horizontal scrolling (button 6 & 7 events) whenPeter Osterlund
moving the finger along the bottom edge of the touch pad.
2006-04-09Implemented edge motion.Peter Osterlund