#219 Bamboo Connect incorrect defaults

Production
closed
nobody
Stylus (5)
5
2014-10-25
2012-07-12
AaronP
No

The default button mapping for the Bamboo Connect is incorrect. Pressing down is interpreted as a right-click, and the top button is interpreted as a left-click. This should be reversed.

Also, here is the output of xinput list

[aaron ~]$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ 2.4G Wireless Mouse id=8 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Connect Pen eraser id=13 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Connect Pen stylus id=9 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Connect Finger pad id=14 [slave pointer (2)]
⎜ ↳ Wacom Bamboo Connect Finger touch id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ USB Keyboard id=11 [slave keyboard (3)]
↳ USB Keyboard id=12 [slave keyboard (3)]

Note that it thinks that there's an eraser and touch, but those features aren't included in the Connect. When I disable the eraser in my desktop environment, the stylus stops working.

Discussion

  • AaronP
    AaronP
    2012-07-12

    To compound the issue, it seems I can't apply the correct settings. With the following /etc/X11/xorg.conf.d/52-wacom.conf:

    Section "InputClass"
    Identifier "Wacom Bamboo Connect Pen stylus options"
    MatchProduct "Wacom|WACOM"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"

    Option "Button1" "1"
    Option "Button3" "3"
    EndSection

    I get the following outputs:
    [aaron ~]$ xsetwacom get "Wacom Bamboo Connect Pen stylus" Button 1
    3
    [aaron ~]$ xsetwacom get "Wacom Bamboo Connect Pen stylus" Button 3
    1

    if I try to set them with xsetwacom I get the following output:
    [aaron ~]$ xsetwacom get "Wacom Bamboo Connect Pen stylus" button 1
    button +1
    [aaron ~]$ xsetwacom get "Wacom Bamboo Connect Pen stylus" button 3
    button +3

    But the actual behavior of the button presses does not change.

     
  • AaronP
    AaronP
    2012-07-12

    Ok, the tablet works flawlessly in Gnome 3. I use XFCE. I'm not sure if this is a bug that I should take to XFCE or if Gnome's is just doing something special with its settings.

     
  • Favux
    Favux
    2012-07-14

    The confusion is due to the fact that around the 2.6.38 kernel the button assignment for BambooPT's was changed from the physical buttons 1 to 4 mapping to 1 to 4. Plus X reserves buttons 4 through 7 for vertical and horizontal scrolling so physical button 4 is offset by 4 to 8. That happened around X Server 1.7 or 1.8. The buttons should map something like this:

    physical Button 1 BTN_RIGHT/Right click X Button 3
    physical Button 2 BTN_BACK X Button 8
    physical Button 3 BTN_FORWARD X Button 9
    physical Button 4 BTN_LEFT/Left click X Button 1

    So for your xsetwacom commands use the X Button number. Hope this helps..

     
  • AaronP
    AaronP
    2012-07-15

    Huh. Ok, setting Button 1 3 and Button 3 1 works. I'm not quite sure I quite understand what the difference is between that and what the default is. Thanks for trying to explain it to me, though. :)

     
  • Jason Gerecke
    Jason Gerecke
    2014-10-25

    • status: open --> closed