Arch Linux python-pyglet 1.2.4-3

Hello,

I'm trying to implement pen tablet pressure input for my application. 
Here's some code:

import pyglet

window = pyglet.window.Window()
tablets = pyglet.input.get_tablets()

pyglet.app.run()


And here's the problem:


Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/usr/lib/python3.5/site-packages/pyglet/input/x11_xinput_tablet.py", line 
86, in get_tablets
    devices = get_devices(display)
  File "/usr/lib/python3.5/site-packages/pyglet/input/x11_xinput.py", line 
332, in get_devices
    if not _have_xinput or not _check_extension(display):
  File "/usr/lib/python3.5/site-packages/pyglet/input/x11_xinput.py", line 
325, in _check_extension
    ctypes.byref(first_error))
ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type


Anybody know what I'm doing wrong?

-- 
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.

Reply via email to