wintab example?

Help
2006-07-07
2013-03-24
  • thomas oppl
    thomas oppl
    2006-07-07

    hi,

    is there an example for using the wintab wrapper somewhere? or can somebody give me a quick outline of how to use it? i am working on an experimental 2d animation tool with pygame and being able to draw with pressure sensitivity would be nice.

     
    • Matthias Baas
      Matthias Baas
      2006-07-07

      There has been a similar request in the mailing list where I posted some example scripts. See the postings (including the scripts) in the mail archive here:  http://sourceforge.net/mailarchive/forum.php?thread_id=10296488&forum_id=43716

      - Matthias -

       
    • thomas oppl
      thomas oppl
      2006-07-07

      nice, thanks!

      i get the pressure value now but the tablet doesn't move the mouse cursor anymore if i use wintab in my code. any idea why?

      actually i just wanted to read the pressure value and use the pygame mouse handling like before.

       
    • Matthias Baas
      Matthias Baas
      2006-07-10

      If I remember correctly I think there was a flag that controls this that you could set during initialization.
      Please check the original Wintab documentation for this.

      - Matthias -

       
    • thomas oppl
      thomas oppl
      2006-07-12

      thanks, i found out that it was the CXO_SYSTEM option. works nicely now...