]> diplodocus.org Git - xorg-xinput/log
xorg-xinput
16 years agoset-prop: add --type={atom,float,int} and --format={8,16,32} options
Julien Cristau [Tue, 15 Sep 2009 15:55:35 +0000 (17:55 +0200)]
set-prop: add --type={atom,float,int} and --format={8,16,32} options

Allows creating new properties or modifying the type and format of
existing ones.

Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoAdd a format and type argument to the set_prop functions
Julien Cristau [Tue, 15 Sep 2009 15:33:54 +0000 (17:33 +0200)]
Add a format and type argument to the set_prop functions

This will allow the addition of command-line options to set format and
type, and the reuse of this code for the set-{atom,float,int}-prop
paths.

Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoRequire xorg-macros 1.3 for XORG_DEFAULT_OPTIONS.
Peter Hutterer [Wed, 16 Sep 2009 02:29:26 +0000 (12:29 +1000)]
Require xorg-macros 1.3 for XORG_DEFAULT_OPTIONS.

16 years agotest_xi2: Print the key repeat flag if it is set.
Peter Hutterer [Fri, 21 Aug 2009 05:56:19 +0000 (15:56 +1000)]
test_xi2: Print the key repeat flag if it is set.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoBump to 1.4.99.2
Peter Hutterer [Mon, 3 Aug 2009 05:59:16 +0000 (15:59 +1000)]
Bump to 1.4.99.2

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest-xi2: Update to keycode grabs instead of keysym grabs.
Peter Hutterer [Tue, 21 Jul 2009 06:20:03 +0000 (16:20 +1000)]
test-xi2: Update to keycode grabs instead of keysym grabs.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoPrint XINotifyPassiveGrab detail in enter events too.
Peter Hutterer [Thu, 16 Jul 2009 06:14:01 +0000 (16:14 +1000)]
Print XINotifyPassiveGrab detail in enter events too.

16 years agotest_xi: Print deviceid for enter events too
Peter Hutterer [Tue, 14 Jul 2009 06:27:36 +0000 (16:27 +1000)]
test_xi: Print deviceid for enter events too

16 years agoUse XI2 defines for enter/leave modes and detail.
Peter Hutterer [Tue, 14 Jul 2009 06:13:48 +0000 (16:13 +1000)]
Use XI2 defines for enter/leave modes and detail.

Doesn't matter much since they are the same as the core ones anyway, but
nicer for consistency.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoAdjust to new, split-up raw event types.
Peter Hutterer [Mon, 13 Jul 2009 06:05:25 +0000 (16:05 +1000)]
Adjust to new, split-up raw event types.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest_xi2: Plug memory leak with XGetAtomName.
Peter Hutterer [Sun, 12 Jul 2009 23:18:35 +0000 (09:18 +1000)]
test_xi2: Plug memory leak with XGetAtomName.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest_xi2: Update to use cookie events - require libXi 1.2.99.2
Peter Hutterer [Sun, 12 Jul 2009 23:15:49 +0000 (09:15 +1000)]
test_xi2: Update to use cookie events - require libXi 1.2.99.2

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoPlug memory leak from XGetAtomName.
Peter Hutterer [Tue, 30 Jun 2009 06:18:20 +0000 (16:18 +1000)]
Plug memory leak from XGetAtomName.

16 years agoObtain the XInput opcode and check that GenericEvents are actually XI events
Benjamin Close [Wed, 24 Jun 2009 02:25:00 +0000 (11:55 +0930)]
Obtain the XInput opcode and check that GenericEvents are actually XI events

Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest_xi2: don't map the window before selecting for events.
Peter Hutterer [Wed, 24 Jun 2009 00:30:45 +0000 (10:30 +1000)]
test_xi2: don't map the window before selecting for events.

Mapping the window before selecting for XI2 events leaves some events out
(e.g. enter events if the pointer is already in the area where the window is
being mapped).

Reported-by: Thomas Jaeger
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest_xi2: use %#x alternative printf format.
Peter Hutterer [Wed, 24 Jun 2009 00:29:12 +0000 (10:29 +1000)]
test_xi2: use %#x alternative printf format.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoremove-master: document possible return modes in --help
Thomas Jaeger [Tue, 23 Jun 2009 16:49:56 +0000 (12:49 -0400)]
remove-master: document possible return modes in --help

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoFix --help output for create-master and remove-master.
Peter Hutterer [Tue, 23 Jun 2009 03:26:56 +0000 (13:26 +1000)]
Fix --help output for create-master and remove-master.

Missing <> added. All parameters in the --help output have surrounding <> if
the parameter is something the user has to substitute.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoBump to 1.4.99.1
Peter Hutterer [Sat, 20 Jun 2009 07:59:59 +0000 (17:59 +1000)]
Bump to 1.4.99.1

We've had a 1.4 branch for a while now, this bump is way overdue.

16 years agoreattach: Default to return to VCP/VCK when returnMode is AttachToMaster
Thomas Jaeger [Sun, 14 Jun 2009 17:58:39 +0000 (13:58 -0400)]
reattach: Default to return to VCP/VCK when returnMode is AttachToMaster

Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest-xi2: Report correct event coordinates
Thomas Jaeger [Tue, 16 Jun 2009 01:45:32 +0000 (21:45 -0400)]
test-xi2: Report correct event coordinates

Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agotest-xi2: Use standard macros instead of BitIsOn/SetBit
Thomas Jaeger [Tue, 16 Jun 2009 01:37:56 +0000 (21:37 -0400)]
test-xi2: Use standard macros instead of BitIsOn/SetBit

Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoRequire inputproto 1.9.99.12
Peter Hutterer [Wed, 17 Jun 2009 11:23:17 +0000 (21:23 +1000)]
Require inputproto 1.9.99.12

16 years agoPrint the valuator value for absolute axes.
Peter Hutterer [Wed, 17 Jun 2009 11:23:06 +0000 (21:23 +1000)]
Print the valuator value for absolute axes.

16 years agoPrint button and valuator labels when listing a device.
Peter Hutterer [Wed, 17 Jun 2009 11:22:23 +0000 (21:22 +1000)]
Print button and valuator labels when listing a device.

16 years agoPrint button state when listing XI2 devices.
Peter Hutterer [Mon, 15 Jun 2009 04:10:30 +0000 (14:10 +1000)]
Print button state when listing XI2 devices.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoPrint the sourceid when listing device classes.
Peter Hutterer [Fri, 12 Jun 2009 06:31:02 +0000 (16:31 +1000)]
Print the sourceid when listing device classes.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoUse the XI2 class defines for listing device classes in XI2 mode.
Peter Hutterer [Fri, 12 Jun 2009 06:29:37 +0000 (16:29 +1000)]
Use the XI2 class defines for listing device classes in XI2 mode.

Purely cosmetic change, the values are the same anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoFix build errors introduced by inputproto 1.9.99.11.
Peter Hutterer [Fri, 12 Jun 2009 05:47:02 +0000 (15:47 +1000)]
Fix build errors introduced by inputproto 1.9.99.11.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoxi2 test: add two missing breaks.
Peter Hutterer [Wed, 3 Jun 2009 02:57:10 +0000 (12:57 +1000)]
xi2 test: add two missing breaks.

Printing a hierarchy event would always print only "master keyboard" or
"slave keyboard", never pointers.

16 years agotest-xi2: fix modifiers for XIGrabButton call
Thomas Jaeger [Fri, 29 May 2009 23:23:04 +0000 (19:23 -0400)]
test-xi2: fix modifiers for XIGrabButton call

Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoRemove superfluous dev assignment.
Benjamin Close [Thu, 28 May 2009 08:44:47 +0000 (18:44 +1000)]
Remove superfluous dev assignment.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoMerge branch 'master' into xi2
Peter Hutterer [Tue, 26 May 2009 21:34:32 +0000 (07:34 +1000)]
Merge branch 'master' into xi2

16 years agoPrint empty properties as <no items>.
Peter Hutterer [Tue, 26 May 2009 21:33:31 +0000 (07:33 +1000)]
Print empty properties as <no items>.

16 years agoPrint empty XI2 properties as <no items>
Peter Hutterer [Tue, 26 May 2009 21:33:52 +0000 (07:33 +1000)]
Print empty XI2 properties as <no items>

16 years agoPrint empty properties as <no items>.
Peter Hutterer [Tue, 26 May 2009 21:33:31 +0000 (07:33 +1000)]
Print empty properties as <no items>.

16 years agoPrint None properties in XI2 mode too.
Peter Hutterer [Wed, 20 May 2009 02:11:07 +0000 (12:11 +1000)]
Print None properties in XI2 mode too.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoMerge branch 'master' into xi2
Peter Hutterer [Wed, 20 May 2009 02:10:44 +0000 (12:10 +1000)]
Merge branch 'master' into xi2

16 years agoDeal with None atoms.
Peter Hutterer [Wed, 20 May 2009 02:02:31 +0000 (12:02 +1000)]
Deal with None atoms.

An atom may in some cases be 0 (None). Deal with this instead of failing with
BadAtom values.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoPrint floating slaves in XI2 list mode.
Peter Hutterer [Tue, 19 May 2009 05:28:16 +0000 (15:28 +1000)]
Print floating slaves in XI2 list mode.

Floating slaves are always printed last.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoUpdate to new inputproto and libXi naming conventions.
Peter Hutterer [Wed, 13 May 2009 04:20:58 +0000 (14:20 +1000)]
Update to new inputproto and libXi naming conventions.

Require inputproto 1.9.99.9.

16 years agoMerge branch 'master' into xi2
Peter Hutterer [Fri, 8 May 2009 05:15:45 +0000 (15:15 +1000)]
Merge branch 'master' into xi2

Conflicts:
src/xinput.h

16 years agoUpdate to new inputproto defines.
Peter Hutterer [Fri, 8 May 2009 04:21:17 +0000 (14:21 +1000)]
Update to new inputproto defines.

16 years agoupdate test_xi2 with a few more tests.
Peter Hutterer [Thu, 30 Apr 2009 06:53:05 +0000 (16:53 +1000)]
update test_xi2 with a few more tests.

16 years agoXCloseDisplay when we're done.
Peter Hutterer [Thu, 7 May 2009 04:00:46 +0000 (14:00 +1000)]
XCloseDisplay when we're done.

This isn't really necessary, but we might as well be correct.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoClean up xinput.h a bit
Peter Hutterer [Thu, 7 May 2009 02:56:58 +0000 (12:56 +1000)]
Clean up xinput.h a bit

Remove the unnecessary NeedFunctionPrototypes ifdef.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoAdd support for XI2 property requests.
Peter Hutterer [Thu, 7 May 2009 04:37:58 +0000 (14:37 +1000)]
Add support for XI2 property requests.

If XI2 is available, we use XI2 for list-props, delete-prop and set-prop.

16 years agoGet the XIDeviceInfo instead of just the id.
Peter Hutterer [Thu, 7 May 2009 04:13:45 +0000 (14:13 +1000)]
Get the XIDeviceInfo instead of just the id.

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>
16 years agoXCloseDisplay when we're done.
Peter Hutterer [Thu, 7 May 2009 04:00:46 +0000 (14:00 +1000)]
XCloseDisplay when we're done.

This isn't really necessary, but we might as well be correct.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoRemove one more unnecessary ifdef.
Peter Hutterer [Thu, 7 May 2009 03:59:12 +0000 (13:59 +1000)]
Remove one more unnecessary ifdef.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoMerge branch 'master' into xi2
Peter Hutterer [Thu, 7 May 2009 03:06:05 +0000 (13:06 +1000)]
Merge branch 'master' into xi2

Conflicts:
src/property.c
src/xinput.c
src/xinput.h

16 years agoClean up xinput.h a bit
Peter Hutterer [Thu, 7 May 2009 02:56:58 +0000 (12:56 +1000)]
Clean up xinput.h a bit

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoCreate the float property if it doesn't exist.
Peter Hutterer [Fri, 1 May 2009 01:22:53 +0000 (11:22 +1000)]
Create the float property if it doesn't exist.

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>
16 years agoIf there's multiple null-terminated strings in the property, print all.
Peter Hutterer [Thu, 30 Apr 2009 04:50:08 +0000 (14:50 +1000)]
If there's multiple null-terminated strings in the property, print all.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Simon Thum <simon.thum@gmx.de>
16 years agoThe float_atom should actually be an Atom
Peter Hutterer [Thu, 30 Apr 2009 23:14:46 +0000 (09:14 +1000)]
The float_atom should actually be an Atom

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoIf there's multiple null-terminated strings in the property, print all.
Peter Hutterer [Thu, 30 Apr 2009 04:50:08 +0000 (14:50 +1000)]
If there's multiple null-terminated strings in the property, print all.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years agoxinput: add set-prop command
Julien Cristau [Mon, 20 Apr 2009 11:58:03 +0000 (13:58 +0200)]
xinput: add set-prop command

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>
17 years agoFactorize atom parsing in its own function
Julien Cristau [Thu, 16 Apr 2009 16:55:46 +0000 (18:55 +0200)]
Factorize atom parsing in its own function

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoXSync the display before jumping in the grab code.
Peter Hutterer [Sun, 19 Apr 2009 22:28:53 +0000 (08:28 +1000)]
XSync the display before jumping in the grab code.

The grab code only handles button presses, so we need to remove all events
before (exposures, enter/leave, etc.).

17 years agoAdd a hunk to test XI2 sync'd grabs.
Peter Hutterer [Sun, 19 Apr 2009 11:28:25 +0000 (21:28 +1000)]
Add a hunk to test XI2 sync'd grabs.

17 years agoRegister for exposure events and block until we're mapped.
Peter Hutterer [Sun, 19 Apr 2009 11:27:40 +0000 (21:27 +1000)]
Register for exposure events and block until we're mapped.

17 years agoPrint event/root x/y on device events.
Peter Hutterer [Sun, 19 Apr 2009 11:09:49 +0000 (21:09 +1000)]
Print event/root x/y on device events.

17 years agoActually print event_y when trying to print event_y in Enter/Leave events.
Peter Hutterer [Sun, 19 Apr 2009 10:33:40 +0000 (20:33 +1000)]
Actually print event_y when trying to print event_y in Enter/Leave events.

17 years agoreplace BYTE with an unsigned char.
Peter Hutterer [Fri, 17 Apr 2009 22:43:43 +0000 (08:43 +1000)]
replace BYTE with an unsigned char.

17 years agoFix set-float-prop on 64-bit architectures.
Peter Hutterer [Thu, 16 Apr 2009 13:20:16 +0000 (09:20 -0400)]
Fix set-float-prop on 64-bit architectures.

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>
17 years agofix 64 bit issues with set-int-prop and list-props.
Peter Hutterer [Tue, 14 Apr 2009 13:13:15 +0000 (09:13 -0400)]
fix 64 bit issues with set-int-prop and list-props.

libX11 uses longs for 32 bit values, increasing hilarity on 64 bit machines.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoFix 64 bit issues with set-int-prop.
Peter Hutterer [Tue, 14 Apr 2009 03:54:40 +0000 (13:54 +1000)]
Fix 64 bit issues with set-int-prop.

libX11 expects longs for 32 bit numbers.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoxinput: include device type in device list
Simon Thum [Thu, 26 Mar 2009 12:52:15 +0000 (13:52 +0100)]
xinput: include device type in device list

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoxinput: mention set-float-prop in manpage
Simon Thum [Thu, 26 Mar 2009 14:19:47 +0000 (15:19 +0100)]
xinput: mention set-float-prop in manpage

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoxinput 1.4.1
Peter Hutterer [Sun, 5 Apr 2009 23:54:07 +0000 (09:54 +1000)]
xinput 1.4.1

17 years agoError out when selecting a device by name but more than one instance of the name...
Benjamin Close [Thu, 19 Feb 2009 04:09:29 +0000 (14:39 +1030)]
Error out when selecting a device by name but more than one instance of the 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>
17 years agoPrint enter/leave and focus events.
Peter Hutterer [Tue, 10 Mar 2009 23:52:08 +0000 (09:52 +1000)]
Print enter/leave and focus events.

17 years agoRegister for raw events
Peter Hutterer [Tue, 10 Mar 2009 05:41:15 +0000 (15:41 +1000)]
Register for raw events

17 years agoChange event registration a bit, using SetBit instead.
Peter Hutterer [Tue, 10 Mar 2009 03:23:53 +0000 (13:23 +1000)]
Change event registration a bit, using SetBit instead.

17 years agoPrint out hierarchy events
Peter Hutterer [Sun, 8 Mar 2009 07:41:23 +0000 (17:41 +1000)]
Print out hierarchy events

17 years agoPrint DeviceChanged events.
Peter Hutterer [Sun, 8 Mar 2009 02:25:15 +0000 (12:25 +1000)]
Print DeviceChanged events.

17 years agoAdd test_xi2 for xi2 testing.
Peter Hutterer [Tue, 3 Mar 2009 05:44:45 +0000 (15:44 +1000)]
Add test_xi2 for xi2 testing.

17 years agoIf XI2 is available, list devices through XIQueryDevice.
Peter Hutterer [Wed, 4 Mar 2009 11:57:54 +0000 (21:57 +1000)]
If XI2 is available, list devices through XIQueryDevice.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoUpdate to new XI2 requests and sanitize the check for XI2 in configure.
Peter Hutterer [Thu, 26 Feb 2009 06:14:21 +0000 (16:14 +1000)]
Update to new XI2 requests and sanitize the check for XI2 in configure.

Check for the actual library version, not for some random function inside the
library.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoChange is_xinput_present() to xinput_version().
Peter Hutterer [Wed, 4 Mar 2009 11:25:50 +0000 (21:25 +1000)]
Change is_xinput_present() to xinput_version().

Returns major version of XI.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoadd xi2_find_device_id
Peter Hutterer [Fri, 6 Mar 2009 12:13:17 +0000 (22:13 +1000)]
add xi2_find_device_id

17 years agoRip HAVE_XI2 conditional functionality out.
Peter Hutterer [Thu, 26 Feb 2009 06:09:17 +0000 (16:09 +1000)]
Rip HAVE_XI2 conditional functionality out.

XI2 needs to be harder separated now.

17 years agoClean up xinput.h a bit.
Peter Hutterer [Thu, 26 Feb 2009 05:53:24 +0000 (15:53 +1000)]
Clean up xinput.h a bit.

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>
17 years agoError out when more than one instance of a name exists
Benjamin Close [Thu, 12 Mar 2009 11:17:53 +0000 (21:17 +1000)]
Error out when  more than one instance of a 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: Peter Hutterer <peter.hutterer@who-t.net>
17 years agosmall fixes to the propery output
Simon Thum [Wed, 21 Jan 2009 13:09:29 +0000 (14:09 +0100)]
small fixes to the propery output

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
17 years agoCorrect make distcheck and sparse warnings.
Paulo Cesar Pereira de Andrade [Wed, 21 Jan 2009 21:35:52 +0000 (19:35 -0200)]
Correct make distcheck and sparse warnings.

17 years agoxinput 1.4.0
Peter Hutterer [Fri, 16 Jan 2009 02:48:05 +0000 (12:48 +1000)]
xinput 1.4.0

17 years agoAdd set-atom-prop to set properties containing other properties.
Peter Hutterer [Thu, 15 Jan 2009 23:53:01 +0000 (09:53 +1000)]
Add set-atom-prop to set properties containing other properties.

17 years agoDon't linebreak after listing a string or atom property.
Peter Hutterer [Thu, 15 Jan 2009 23:51:57 +0000 (09:51 +1000)]
Don't linebreak after listing a string or atom property.

17 years agoFix wrong type conversion in listing Atom properties.
Peter Hutterer [Thu, 15 Jan 2009 23:50:05 +0000 (09:50 +1000)]
Fix wrong type conversion in listing Atom properties.

17 years agoRequire libXi 1.2 and inputproto 1.5.
Peter Hutterer [Thu, 15 Jan 2009 23:06:54 +0000 (09:06 +1000)]
Require libXi 1.2 and inputproto 1.5.

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.

17 years agoAdd set-float-prop option to set properties using floating point numbers.
Simon Thum [Mon, 12 Jan 2009 04:24:26 +0000 (14:24 +1000)]
Add set-float-prop option to set properties using floating point numbers.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
17 years agoCall XSync instead XFlush to be able to handle errors
Sascha Hlusiak [Tue, 30 Sep 2008 15:54:08 +0000 (17:54 +0200)]
Call XSync instead XFlush to be able to handle errors

When setting properties, the program terminated successfully before any BadMatch or
BadValue could be processed. Calling XSync informs the user about errors.

17 years agoAdd --get-button-map option.
Sascha Hlusiak [Tue, 30 Sep 2008 13:27:56 +0000 (15:27 +0200)]
Add --get-button-map option.

17 years agoRequire inputproto 1.9.99.5
Peter Hutterer [Fri, 26 Sep 2008 04:27:41 +0000 (13:57 +0930)]
Require inputproto 1.9.99.5

17 years agoAdd --delete-prop option.
Peter Hutterer [Fri, 26 Sep 2008 04:25:33 +0000 (13:55 +0930)]
Add --delete-prop option.

17 years agoUse updated property events.
Peter Hutterer [Fri, 26 Sep 2008 04:21:36 +0000 (13:51 +0930)]
Use updated property events.

No more QueryDeviceProperty request.

17 years agoAdd --list-props, --watch-props and --set-int-prop options to man page.
Bryce Harrington [Sat, 30 Aug 2008 05:31:59 +0000 (15:01 +0930)]
Add --list-props, --watch-props and --set-int-prop options to man page.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
17 years agoRequire inputproto 1.9.99.4
Peter Hutterer [Fri, 15 Aug 2008 06:08:13 +0000 (15:38 +0930)]
Require inputproto 1.9.99.4

17 years agoUse XI 1.5 property events.
Peter Hutterer [Fri, 15 Aug 2008 05:58:55 +0000 (15:28 +0930)]
Use XI 1.5 property events.