Menu

#270 xsetwacom get XXX all throws errors for button

closed-fixed
nobody
None
2015-12-04
2015-01-11
No

xsetwacom get XXX all throws multiple errors

'Button' requires exactly 1 value(s).

xsetwacom get XXX button throws the same error
xsetwacom get XXX button 1 seems to be setting the value, but I can't be certain.

xsetwacom version 0.22.1

Related

Bugs: #237

Discussion

  • Does it matter?

    Does it matter? - 2015-01-11

    sorry, omitted: platform opensuse 13.1
    device wacom Bamboo Pad CTH-300

     
  • Jason Gerecke

    Jason Gerecke - 2015-01-17
    • status: new --> open
     
  • Jason Gerecke

    Jason Gerecke - 2015-01-17

    If you run xsetwacom get XXX button Y, you should see the action that button Y is set to perform. By default this is sending a mouse event (e.g. button +1), but you can set it to do other things as well.

    Running xsetwacom get XXX button should produce the error that you see. You need to tell xsetwacom which button you want to know the current setting for.

    Running xsetwacom get XXX all shouldn't print out errors ideally, but does so at the moment because of how the code is structured. We may be able to fix that in a future release.

     
  • Does it matter?

    Does it matter? - 2015-01-17

    Thanks. It's good to know I haven't inadvertantly been resetting values :-)

     
  • Jason Gerecke

    Jason Gerecke - 2015-01-30
    • status: open --> pending-fixed
     
  • Jason Gerecke

    Jason Gerecke - 2015-01-30

    I've pushed several commits to our master branch to address the multiple errors that you got when running xsetwacom get XXX all. You'll get a different error now, suggesting that you use the "-s" option which is capable of printing out all the button actions (the "-x" option which is used by default when getting all unfortunately cannot express them).

     
  • Jason Gerecke

    Jason Gerecke - 2015-03-17
    • status: pending-fixed --> closed-fixed
     
  • Jason Gerecke

    Jason Gerecke - 2015-03-17
    • Fix released in xf86-input-wacom-0.29.0