On Mon, Jun 04, 2012 at 02:29:05PM +0200, Olivier Fourdan wrote:
> 
> Hey Peter,
> 
> Peter Hutterer said the following on 05/29/2012 07:28 AM:
> > On Tue, May 29, 2012 at 02:25:11PM +1000, Peter Hutterer wrote:
> >> Signed-off-by: Peter Hutterer<peter.hutte...@who-t.net>
> > yikes. after running a few more tests I realised that this isn't actually
> > enough. the bamboos define buttons 1, 3, 8 and 9 and we cannot currently
> > handle non-continuous button ranges, neither in libwacom nor the gnome
> > stack. So button 9 is unknown, as we expect buttons 1, 2, 3 and 8.
> >
> > So the below patch only solves the problem partially.
> >
> > as for solutions: I think claiming the bamboo has 5 buttons would be a good
> > enough hack for now until we add non-continuous button range support.
> > Opinions?
> 
> Indeed, testing with a Wacom Bamboo Fun Pen&Touch 2011 (CTH-470S, aka 
> "Wacom Bamboo 16FG 4x5", id 056a:00de), the following works for me:
> 
> [Features]
> Buttons=5

my first thought was that we should rename this to MaxButtons or similar.

but given that the [Buttons] section must define the location of all buttons
anyway, this setting is superflous. we can easily calculate this number.

> ...
> [Buttons]
> Left=A;C;D;E
> 
> and GNOME tablet settings "see" all 4 buttons and allow for mapping 
> them to different key presses.
> 
> However, pressing buttons 1, 2, 3, 4 (as assigned in GNOME wacom 
> settings in this order) will actually do 1, 4, 3, 2, and if we ever 
> change (fix) this in the future it may change button assignment in 
> client apps such as GNOME tablet settings which could confuse users.

does gnome take the buttons in order? does it work if you redefine it as
Left=A;E;D;C
 
Cheers,
  Peter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to