summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-07-19Check for priv before dereferencing it.Peter Hutterer1-1/+2
We can hit this path when the priv alloc fails. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19Don't call DEVICE_OFF in UnInit, the server does it for usPeter Hutterer1-1/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19Use xf86SetStrOption to print Option Device to the logPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19Test opening the device in PreInit, fail if necessaryPeter Hutterer1-0/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-19Don't free anything on PreInit failure, let UnInit take care of itPeter Hutterer1-6/+0
Avoid double free's by the server when it calls UnInit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-18Return proper default for unknown values in pInfo->device_control.Terry Lambert1-1/+1
Signed-off-by: Terry Lambert <tlambert@chromium.org> Reviewed-by: Stephane Marchesin <marcheu@chromium.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-07-08Fix type name and namePeter Hutterer1-4/+1
Don't overwrite user-specified device name and set the right type_name. If you're capable of setting the option DeviceName, you might as well set the Identifier line. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-06-14Include xorg-server.h, not xorgVersion.hPeter Hutterer1-1/+1
xorg-server is the generic server header file these days. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2011-06-14Bump minimum required server version to 1.10Peter Hutterer1-4/+0
And remove manual ABI check, all 1.10 servers ship with ABI 12. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2010-12-06Support input ABI 12Peter Hutterer1-29/+20
Untested for lack of device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-06Use GetMotionHistorySize() instead of driver-internal historyPeter Hutterer1-2/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-06Require server 1.9, drop earlier ABI supportPeter Hutterer1-38/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-06Drop libc wrappers for free, mallocPeter Hutterer1-7/+7
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-02Drop close_proc, conversion_proc, reverse_conversion_procPeter Hutterer1-3/+0
Not called by the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-02Replace LocalDevicePtr with InputInfoPtr.Peter Hutterer1-76/+76
Both describe the same struct, LocalDevicePtr has been dropped from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-02unifdef XFree86LOADERPeter Hutterer1-2/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-02Remove refcount field, dropped from the serverPeter Hutterer1-1/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
2010-12-02Purge CVS tagsPeter Hutterer1-1/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-05-19fpit: minX/ maxX get wrongly initializedphilip1-1/+1
maxX/ minX get values from maxY/ minY Problem introduced in commit 7d203627e7e3e7a6f8d0e847ed650b0b89760c09 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: philip <feucht@uni-koblenz.de>
2009-08-28Fix module unloading.Peter Hutterer1-2/+1
After calling xfree(priv), local->private must be set NULL. Otherwise the server tries to free it again during xf86DeleteInput. local->name must not be freed, it is set to XI_TOUCHSCREEN during PreInit. local must not be freed, we pass it into xf86DeleteInput. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-17Cope with XINPUT ABI 7.Peter Hutterer1-5/+35
2009-02-02Janitor: make distcheck, .gitignore.Paulo Cesar Pereira de Andrade2-6/+2
2008-08-14Fix build, xf86Version.h -> xorgVersion.hPeter Hutterer1-1/+1
2008-05-27Check for XINPUT ABI 3.Peter Hutterer1-1/+5
2008-04-08Set is_core_pointer to 0 by default.Peter Hutterer1-1/+1
Server 1.4 does not do physical core devices.
2008-04-08Don't crash with xserver 1.4Julien Cristau1-1/+3
xf86IsCorePointer() is gone.
2008-04-08Revert "Don't call xf86IsCorePointer."Peter Hutterer1-6/+4
This reverts commit 9ea880913d5775454311b0257bbaebf773cd4285.
2008-02-07Don't call xf86IsCorePointer.Paulo Cesar Pereira de Andrade1-4/+6
Check xinput abi version to know if the function is available, otherwise run code as if it had returned 0, what should match the new API. Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2007-08-23Rename .cvsignore to .gitignoreJames Cloos1-0/+0
2007-08-06Use PACKAGE_VERSION_MAJOR/MINOR/PATCHLEVEL in version_recBrice Goglin1-1/+9
2007-01-30update from Justin Blanchard - part 3Justin Blanchard1-43/+115
* Adds support for detecting/responding to screen resize and rotate events (i.e., fixing bug 3421 for FPIT users). This corrects both cursor-related and extended events. * The fix is disabled unless the user adds 'Option "TrackRandR"' to the InputDevice section. This is to avoid breaking setups where some nightmarish workaround was already in place. * Use of RRGetRotation may break driver under XFree86. If this is a problem I think xf86GetRotation can be used instead.
2007-01-30update from Justin Blanchard - part 2Justin Blanchard1-4/+2
* Fix a bug that prevents active-pen users from right-clicking while hovering. * Bug was introduced with passive pen support; fix is simple and has been recommended in forums since Oct 2006 (http://ubuntuforums.org/showpost.php?p=1620646&postcount=15). For some reason I don't see a bug report for the issue.
2007-01-30Updates from Justin Blanchard - patch 1Justin Blanchard1-49/+34
* Make the docs reflect more accurately what the code actually does. * Update the docs: remove material specific to XFree86 3.x/4.0. Re-organize to reflect the wider variety of machines that use this device. Change the link to linuxslate.com. Expand troubleshooting section. * Code cleanup: assorted trivial changes.
2006-04-07Unlibcwrap. Bump server version requirement. Bump to 1.1.0.Adam Jackson1-6/+4
2005-11-21Add .cvsignores for drivers.Eric Anholt1-0/+6
2005-07-13Update all input drivers to pass distcheckKevin E Martin1-1/+1
2005-07-12Build skeletons for input drivers. Should basically work.Adam Jackson1-0/+31
2005-07-11Prep input drivers for modularizing by adding guarded #include "config.h"Adam Jackson1-0/+4
2005-06-27Various input drivers set their InputDriverRec to be static when doing aAdam Jackson1-3/+0
loadable build, and the same symbol can't be both static and _X_EXPORT. Pointed out by Alan Coopersmith.
2005-06-25Bug #3626: _X_EXPORT tags for video and input drivers.Adam Jackson1-2/+2
2005-02-05-Add passive pen support to the fpit driver (David M. Clay), bug 2440Alex Deucher1-66/+98
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-2/+2
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsEgbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksKaleb Keithley1-6/+5
2003-11-14Initial revisionKaleb Keithley1-0/+580