summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-07xinput 1.4.2xinput-1.4.2xinput-1.4-branchPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-07XCloseDisplay when we're done.Peter Hutterer1-0/+1
This isn't really necessary, but we might as well be correct. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 4832dc1f3ee8d11eadc99b5cd4e8158773d11f9b)
2009-05-07Create the float property if it doesn't exist.Peter Hutterer1-1/+1
If we don't have the float property we won't be able to use float properties for device configuration since the drivers may not understand it. We might still want to apply properties for client settings though. Reported-by: Simon Thum <simon.thum@gmx.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 4b4b2e3f31cf08073887d8583997eb3340a6c2e1)
2009-05-07If there's multiple null-terminated strings in the property, print all.Peter Hutterer1-1/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Simon Thum <simon.thum@gmx.de> (cherry picked from commit 42dca922d287ffddcf2185ca96738f1505a04c27)
2009-05-07The float_atom should actually be an AtomPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit e9af7c5f602b5580df36c77ee1c2ed22ccf72134)
2009-05-07Fix set-float-prop on 64-bit architectures.Peter Hutterer1-3/+3
Since 32-byte data on 64-bit machines must be passed in as 64-bit longs, let's typecast around a bit. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> (cherry picked from commit a577bada8dddf3241a59cab812f5128131c46b29)
2009-05-07fix 64 bit issues with set-int-prop and list-props.Peter Hutterer1-9/+16
libX11 uses longs for 32 bit values, increasing hilarity on 64 bit machines. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit de6326a75de810752a5b4e4c2f5fe98a2f7241a9)
2009-05-07xinput: include device type in device listSimon Thum1-3/+6
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 2f8f2193fdfe783c0854772cc46f1b2e0b2e3ec4)
2009-05-07xinput: mention set-float-prop in manpageSimon Thum1-0/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 17d537fd65ba9b1c99a0dde7833eb4069cc624a8)
2009-04-06xinput 1.4.1xinput-1.4.1Peter Hutterer1-1/+1
2009-04-02Error out when selecting a device by name but more than one instance of the ↵Benjamin Close1-0/+1
name exists Previously the check was in place for the duplicate name, however the first device with the requested name was still selected regardless. Correct this by exiting out forcing the user to select by id instead Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-01-22small fixes to the propery outputSimon Thum1-7/+8
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-01-21Correct make distcheck and sparse warnings.Paulo Cesar Pereira de Andrade5-4/+15
2009-01-16xinput 1.4.0xinput-1.4.0Peter Hutterer1-1/+1
2009-01-16Add set-atom-prop to set properties containing other properties.Peter Hutterer3-0/+92
2009-01-16Don't linebreak after listing a string or atom property.Peter Hutterer1-2/+2
2009-01-16Fix wrong type conversion in listing Atom properties.Peter Hutterer1-1/+1
2009-01-16Require libXi 1.2 and inputproto 1.5.Peter Hutterer3-3/+4
Device properties are available in a released libXi version now, so there's no need to keep them conditional, make 1.5 mandatory. We also have the explicit check for XI2 functions in libXi, so there's no need to have requirements for inputproto 1.9.99.5.
2009-01-16Add set-float-prop option to set properties using floating point numbers.Simon Thum3-1/+106
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-09-30Call XSync instead XFlush to be able to handle errorsSascha Hlusiak1-1/+1
When setting properties, the program terminated successfully before any BadMatch or BadValue could be processed. Calling XSync informs the user about errors.
2008-09-30Add --get-button-map option.Sascha Hlusiak3-0/+81
2008-09-26Require inputproto 1.9.99.5Peter Hutterer1-1/+1
2008-09-26Add --delete-prop option.Peter Hutterer4-0/+63
2008-09-26Use updated property events.Peter Hutterer1-26/+1
No more QueryDeviceProperty request.
2008-08-30Add --list-props, --watch-props and --set-int-prop options to man page.Bryce Harrington1-0/+15
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-08-15Require inputproto 1.9.99.4Peter Hutterer1-1/+1
2008-08-15Use XI 1.5 property events.Peter Hutterer1-4/+6
2008-08-07Don't require extension devices for button mapping.Peter Hutterer1-1/+1
VCK and VCP can be opened too now.
2008-08-07Print property values in addition to their names.Peter Hutterer1-1/+1
2008-08-07Property code: If the Atom specified was an Atom, actually use it too.Peter Hutterer1-0/+2
Don't ignore an atom if it has been specified with it's number instead of the name.
2008-07-10Add list-props, set-int-prop and watch-props parameters.Peter Hutterer4-1/+342
These parameters allow modification and display of input device properties.
2008-07-08Remove ChangeLog, is autogenerated now anyway.Peter Hutterer1-38/+0
2008-06-25Clean up the detection of XI2Benjamin Close1-4/+2
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-06-05Correct the check for XI2, not every shell supports ==, but they do =Benjamin Close1-1/+1
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-05-27Test for XI2 functions in libXi, add #ifdefs to build in non-XI2 setups.Peter Hutterer5-4/+34
2008-05-27Use find_device_info instead of requireing device ids on the cmdline.Peter Hutterer2-9/+44
2008-04-29Use new XQueryInputVersion() request to tell the server we can do XI 2.Peter Hutterer1-1/+1
2008-04-07Merge branch 'master' into mpxPeter Hutterer21-121/+132
Conflicts: src/xinput.c (just a whitespace conflict)
2008-04-07Compile warning fix.Paulo Cesar Pereira de Andrade1-1/+1
Ansify a function without arguments. Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-04-07Mandriva patches to xinput.Paulo Cesar Pereira de Andrade2-3/+3
Change to src/list.c fixes a typo/oversight. Change to configure.ac required to avoid possible error in configure step due to "unquoted" version test. Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-02-18Modify to work with the changes in the XChangeDeviceHierarchy API.Peter Hutterer1-8/+4
2008-02-13Update XiSelectEvent API usage, has device argument now.Peter Hutterer1-1/+1
2008-01-15Remove deprecated imakefile.Peter Hutterer1-49/+0
2008-01-15Replace Fred's name in the main license text with a general "The authors".Peter Hutterer12-51/+51
Makes it less messy to add authors. Frederic Lepied's permission obtained via email.
2008-01-10Change xinput_CFLAGS to AM_CFLAGS to clear automake-1.10 warningJulien Cristau1-2/+2
src/Makefile.am:27: compiling `buttonmap.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac' Also remove -lm from xinput_LDADD, as it isn't needed.
2008-01-09Add ChangeLog rule.xinput-1.3.0Philip Langdale1-1/+33
2008-01-09Update .gitignorePhilip Langdale1-0/+3
2008-01-09Update news for 1.3.0 release.Philip Langdale1-0/+5
2008-01-09Add a warning when the user specifies an ambiguous device namePhilip Langdale1-2/+10
suggesting that they use the device id instead.
2008-01-09Update man page.Philip Langdale1-0/+3