touch strips are backwards

Help
Eric
2011-06-12
2013-04-05
  • Eric

    Eric - 2011-06-12

    I have been googling for a little while now to no avail. My Touch strips are inverted, down is up and up is down. I have had this problem since I switched to 0.11 and it continues with 0.11.1.

    Useful information:
    Slackware 13.37_64
    Wacom Intuos3 9x12

    Is there a build option to put it back the right way? Or an xsetwacom switch?

    Thanks in advance

     
  • Favux

    Favux - 2011-06-12

    Vu Ngoc San has a little patch for this issue:  http://ubuntuforums.org/showpost.php?p=10912237&postcount=59

    "for reverting StripLeft and StripRight to the correct Up/Down orientation
    you might want to try this simple patch: (change value > 0 to value < 0).
    It works for my cintiq which has the same issue as your intuos"

    diff -git a/src/wcmCommon.c b/src/wcmCommon.c
    index bd47c51..c8d29b6 100644
    -- a/src/wcmCommon.c
    +++ b/src/wcmCommon.c
    @@ -366,8 +366,8 @@ static int getWheelButton(InputInfoPtr pInfo, const WacomDeviceState* ds,
    {
    value = ds->stripx - priv->oldStripX;

    - fakeButton = (value > 0) ? priv->striplup : priv->stripldn;
    - *fakeKey = (value > 0) ? priv->strip_keys : priv->strip_keys;
    + fakeButton = (value < 0) ? priv->striplup : priv->stripldn;
    + *fakeKey = (value < 0) ? priv->strip_keys : priv->strip_keys;
    }

    /* emulate events for right strip */
    @@ -375,8 +375,8 @@ static int getWheelButton(InputInfoPtr pInfo, const WacomDeviceState* ds,
    {
    value = ds->stripy - priv->oldStripY;

    - fakeButton = (value > 0) ? priv->striprup : priv->striprdn;
    - *fakeKey = (value > 0) ? priv->strip_keys : priv->strip_keys;
    + fakeButton = (value < 0) ? priv->striprup : priv->striprdn;
    + *fakeKey = (value < 0) ? priv->strip_keys : priv->strip_keys;
    }

    DBG(10, priv, "send fakeButton %x with value = %d \n",

    An Intuos3 applied it succesfully a few days ago.

     
  • Eric

    Eric - 2011-06-12

    Thank you, that did the trick.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks