Post Reply 

[FIX]Genius MousePen i608X jumps to edge

Nov 29, 2012, 07:39
Post: #1
[FIX]Genius MousePen i608X jumps to edge
This is more work-around than a fix for a problem that, apparently, has been
around for while. When drawing with the Genius MousePen i608X stylus, the
position will jump to the edge of the screen and back, sometimes drawing
bogus lines. This fix worked for me in GIMP 2.6 and 2.8 on Gentoo Linux
3.5.7, XServer 1.13 with an NVidia GTS 450 GPU. Your mileage may vary.

Using the xinput program, (version 1.6.0 (XI version on server: 2.2)).

xinput

will give something like this:

Code:
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Saitek Cyborg R.A.T.7 Mouse                 id=10    [slave  pointer  (2)]
⎜   ↳ Genius MousePen i608X                       id=11    [slave  pointer  (2)]
⎜   ↳ Genius MousePen i608X                       id=12    [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)]
    ↳ CYKB23 USB Keyboard                         id=8    [slave  keyboard (3)]
    ↳ CYKB23 USB Keyboard                         id=9    [slave  keyboard (3)]
Determine the id for the stylus (11 in the above). (Sometimes the stylus does
not come first, which might be a problem with GIMP 2.8. One way to fix that is to
restart X or reboot with the i608X attached.)

xinput list-props 11

will include the line

Code:
    Coordinate Transformation Matrix (141):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Make the change with this:

xinput set-prop 11 141 0.9 0 0 0 0.9 0 0 0 0.9

(Number does not have to be "0.9", "0.5" also worked.)

xinput list-props 11

should now show:

Code:
Coordinate Transformation Matrix (141):    0.900000, 0.000000, 0.000000, 0.000000, 0.900000, 0.000000, 0.000000, 0.000000, 0.900000

I do not know why this works, just thought there was a small chance it might.
Clarification, and corrections from those less clueless than me are welcome.

stratokazter (aka strat, dfblogic), Resident Martian Curmudgeon, Alien Arena
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [FIX] Enable Pressure Sensitivity in 2.8 BnBGobo99 1 2,451 Mar 20, 2013 19:19
Last Post: Tapokr

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS