summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-31synaptics 1.9.99.1abstract-x-interfacePeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31tools: un-typedef TouchpadStatePeter Hutterer1-4/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Un-typedef model_lookup_tPeter Hutterer1-5/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Un-typedef SynapticsTouchAxisRecPeter Hutterer3-6/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Un-typedef SynapticsPrivatePeter Hutterer15-174/+173
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Un-typedef SynapticsParametersPeter Hutterer9-34/+34
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Un-typedef SynapticsMoveHistRecPeter Hutterer1-4/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Un-typedef struct VMaskPeter Hutterer9-53/+53
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Remove typedefs from all enumsPeter Hutterer1-10/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Move the front-end hooks into a structPeter Hutterer5-66/+166
Provide a SynapticsFrontend struct and let the frontends place their hooks in there. This means the old SynapticsMsg frontend call must take a va_list now but we'll probably survive that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Remove an unused define for 1/sqrt(2)Peter Hutterer1-4/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Add dummy synaptics driverPeter Hutterer2-0/+144
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Sanitize the scroll API a bitPeter Hutterer4-18/+26
Don't require valuator masks, just post vert/horiz and whatever the current values of those are. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Rearrange header to show functions that must be implemented firstPeter Hutterer1-37/+38
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Move SynapticsReset into the corePeter Hutterer3-3/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Add more commentsPeter Hutterer1-0/+19
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Require the frontend to call FinishPreInitPeter Hutterer3-5/+14
This is the core's last chance to readjust things based on modified parameters. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Don't call QueryHardware from DeviceOnPeter Hutterer4-10/+10
This is a leftover of the old backends. They need it to reset the hardware, but we can do that in the matching backends directly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Remove obsolete commentPeter Hutterer1-1/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31SynapticsOverrideDefaults should take a priv pointerPeter Hutterer1-5/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Purge one more X header.Peter Hutterer1-1/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Return Error codes instead of !SuccessPeter Hutterer1-2/+2
!Success has no meaning in the protocol anywhere. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31DeviceOn and friends return a status code, not a boolPeter Hutterer1-8/+8
No functional changes, just making things more obvious. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Sanitize backend return valuesPeter Hutterer5-31/+35
Return 1 on success and 0 otherwise, don't mix Bool with !Success and Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Push DeviceOn/Off hook calls down to corePeter Hutterer3-4/+30
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Drop the fd from the SynapticsPrivatePeter Hutterer3-14/+2
We have the fd passed through all functions that need it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Pass the fd through the DeviceOn/Off hooksPeter Hutterer7-30/+31
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31test: drop fake symbolsPeter Hutterer4-581/+6
No need to redefine half the X server for backenend tests anymore. yay! Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Pass the fd down into ReadInputPeter Hutterer10-36/+38
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31eventcomm: purge X headersPeter Hutterer2-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31test: prepare eventcomm test for X header removalPeter Hutterer1-9/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31eventcomm: replace Success with 0Peter Hutterer1-1/+1
No effect, removes need for X headers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Switch need_grab from BOOL to charPeter Hutterer1-2/+2
Removes reliance on X headers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Define our own BIT_IS_ON for char arraysPeter Hutterer1-2/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31eventcomm: substitute pointer with (void *)Peter Hutterer1-3/+3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31eventcomm: replace label defines with label stringsPeter Hutterer1-12/+11
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31eventcomm: Purge some X headersPeter Hutterer1-2/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Pass the fd down into QueryHardwarePeter Hutterer8-24/+24
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31psmcomm: pass fd around instead of accessing priv->fdPeter Hutterer1-4/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31eventcomm: pass the fd's down instead of accessing priv->fdPeter Hutterer1-14/+14
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Namespace QueryHardwarePeter Hutterer3-4/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Namespace GetDeviceProtocolOpsPeter Hutterer3-9/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Split non-evdev backends into a separate helper libraryPeter Hutterer2-8/+22
Untangling those from the various X bits they rely to is a waste of time, IMO. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Fix indentation for the synaptics protocol opsPeter Hutterer1-9/+5
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Replace BUG_WARN with SynapticsMsgPeter Hutterer1-1/+2
BUG_WARN has a xserver dependency Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31check for HAVE_CONFIG_H before including config.hPeter Hutterer1-2/+4
No real effect, just for correctness. Plus, move the include directive up to be the first include. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Namespace the SetTimer frontend hookPeter Hutterer3-3/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31timer_time must be updated where we call to the frontend.Peter Hutterer2-4/+5
The frontend should just wrap whatever time mechanism it have, not fiddle with internal state. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31Namespace init/close functionsPeter Hutterer3-10/+19
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-05-31If QueryHardware fails, the DeviceOff hook was called alreadyPeter Hutterer1-2/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>