summaryrefslogtreecommitdiff
path: root/src/xinput.h
AgeCommit message (Collapse)AuthorFilesLines
2009-06-24Obtain the XInput opcode and check that GenericEvents are actually XI eventsBenjamin Close1-0/+1
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-08Merge branch 'master' into xi2Peter Hutterer1-1/+0
Conflicts: src/xinput.h
2009-05-07Clean up xinput.h a bitPeter Hutterer1-262/+30
Remove the unnecessary NeedFunctionPrototypes ifdef. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-07Get the XIDeviceInfo instead of just the id.Peter Hutterer1-1/+3
This way we leak the XIDeviceInfo array, but then again it doesn't matter since we exit after the command anyway. And with the XIDeviceInfo around, we can actually print the name and whatnot. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-07Merge branch 'master' into xi2Peter Hutterer1-39/+31
Conflicts: src/property.c src/xinput.c src/xinput.h
2009-05-07Clean up xinput.h a bitPeter Hutterer1-262/+30
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-22xinput: add set-prop commandJulien Cristau1-0/+11
There's no reason to require the user to know the difference between set-int-prop, set-float-prop and set-atom-prop, and to know the required format for each integer property, since we can just ask XGetDeviceProperty. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-21Update to new XI2 requests and sanitize the check for XI2 in configure.Peter Hutterer1-0/+4
Check for the actual library version, not for some random function inside the library. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-21Change is_xinput_present() to xinput_version().Peter Hutterer1-0/+1
Returns major version of XI. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-03-21add xi2_find_device_idPeter Hutterer1-0/+2
2009-03-21Clean up xinput.h a bit.Peter Hutterer1-243/+31
All functions have to look the same anyway, so might as well use a one-line macro to declare them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-16Add set-atom-prop to set properties containing other properties.Peter Hutterer1-0/+10
2009-01-16Add set-float-prop option to set properties using floating point numbers.Simon Thum1-0/+12
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-09-30Add --get-button-map option.Sascha Hlusiak1-0/+11
2008-09-26Add --delete-prop option.Peter Hutterer1-0/+11
2008-07-10Add list-props, set-int-prop and watch-props parameters.Peter Hutterer1-0/+34
These parameters allow modification and display of input device properties.
2008-05-27Test for XI2 functions in libXi, add #ifdefs to build in non-XI2 setups.Peter Hutterer1-0/+4
2008-04-07Merge branch 'master' into mpxPeter Hutterer1-4/+4
Conflicts: src/xinput.c (just a whitespace conflict)
2008-01-15Replace Fred's name in the main license text with a general "The authors".Peter Hutterer1-4/+4
Makes it less messy to add authors. Frederic Lepied's permission obtained via email.
2007-12-20Add support to set the client pointer.Peter Hutterer1-0/+11
Couple of whitespace changes too.
2007-12-20Add support for device hierarchy changes.Peter Hutterer1-2/+45
2007-12-20Remove leftover trailing whitespaces.Peter Hutterer1-3/+3
2007-11-08Autotool the lot.Peter Hutterer1-0/+156