On Wed, Oct 13, 2010 at 12:51 PM, Peter Hutterer
<[email protected]>wrote:
> On Tue, Oct 12, 2010 at 09:55:32PM +1300, Jason alavaliant wrote:
> > On Tue, Oct 5, 2010 at 1:44 PM, Peter Hutterer <[email protected]
> >wrote:
> [...]
> > >
> > > Haven't checked out the code because right now I'm at an airport and
> I'm
> > > not
> > > even sure when I can send this email.
> > >
> > > Please don't use xsetwacom. We have properties, they are the driver's
> > > official API. xsetwacom makes no guarantee for consistency or backwards
> > > compatibility on its commandline interface. It's intended for testing
> of
> > > settings at runtime, but not as a base layer for any other client.
> > >
> >
> >
> > I was wondering if that was the direction I should be going in. The
> main
> > reason I'm using xsetwacom currently is that wacom-config -v1 was
> originally
> > written as a wacomcpl compatible tool that let you change settings from
> > either tool (and there was no way to set things besides xsetwacom at the
> > time). Is there any guide that covers all the properties for the
> wacom
> > driver? I think I can reverse engineer what most settings are via
> > xsetwacom commands and watching how the properties change but things like
> > 'Wacom Display Options (263): -1, 0, 0' would be a lot faster to
> > understand with some notes. (I think the middle value is twinview based
> on
> > seeing it change when setting twinview via xsetwacom but I've got no idea
> > what the other two are.)
>
> All the properties are documented in the wacom-properties.h file but not
> overly expressive. I haven't added the man pages yet because some of the
> properties are still in flux (e.g. the removal of TwinView related ones).
> so
> once wacom 1.0 comes out, the list of properties may not necessarily be the
> same.
>
> Cheers,
> Peter
>
I've been making good progress working with xinput properties and have got
code that uses the Coordinate Transformation Matrix working well (atleast
now I've backported the patch that added that property to the kubuntu 10.04
xserver so my computers support it), I've been preparing to change over
all my other functions to use properties as well but there is one point I
can't work out. What format/encoding are the values for the 'Wacom Button
action X' properties stored as?
(i.e. xsetwacom set 'Wacom Intuos3 6x8 pad' Button1 "key l" is stored as
the property "Wacom button action 1 (482): 1114158, 65582" I can
easily enough set the Wacom button action 1 property on the device but I
can't workout how to tell what numbers to use, 65582 isn't as far as I can
tell an X keycode, ascii, unicode or any other encoding scheme I can think
of. (and extensive reading of the source code hasn't enlightened me) )
Also the property updating seems a little inconsistent in my testing.
With settings like "key l t o" etc the property changes but
setting Button1 to just 3 or 4 always seems to set the property to the
same value (I'm avoid using "button 3"/"button 4" due to
https://sourceforge.net/tracker/?func=detail&aid=3075823&group_id=69596&atid=525124
)
Thanks
-J
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel