Jesus, give the development branch of pyglet a try. It contains a fix for the ctypes crash on Python 3. I also extended the evdev stuff on Linux a bit to detect more joysticks, so it may work with your tablet as well. Could you give that a try and let me know the results? (The quickest way to try out the development version would be to download the repo, and just copy the pyglet folder into your project).
If the crash is gone, but your tablet is still not detected by pyglet.input.get_tablets(): Start with pyglet.input.get_devices(), and see if your tablet shows up in there. If it does, great. You should be able to open the device, and try the device.get_controls() method to see what inputs on your tablet are being detected. Tablets (and joysticks) are just a subset of "devices" that have specific controls). Let me know how far along you get. Hopefully your tablet will work with the dev branch, but if not it should be fixable. On Saturday, July 30, 2016 at 2:05:34 AM UTC+9, Jesus Luis wrote: > > Hey Benjamin, > > It works on python2, but it doesn't find my Wacom tablet. > > Python 2.7.12 (default, Jun 28 2016, 08:31:05) > [GCC 6.1.1 20160602] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import pyglet > >>> window = pyglet.window.Window() > >>> tablets = pyglet.input.get_tablets() > >>> tablets > [] > >>> > > > > On Saturday, 30 July 2016 00:45:15 UTC+9, Benjamin Moran wrote: >> >> It looks like you might have hit a bug in the crowd bindings, probably >> due to the new Python 2/3 dual compatible codebase. >> >> Could you try running it again with Python2, and see if it works? If so, >> it should be easily fixable for Python 3. Let me know how it goes. >> > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
