python - Unable to get Wacom events from /dev/input/event* -
I have created a pygtk program to monitor the keyboard position and mouse click in any application (i.e. only my application for). It uses evdev by Mica Dottie, which basically monitors / dev / input / event * for output and decodes the information in such a way that I can display information to the user.
This program does not work for USB Wacom (nor Serial Wacom) while running USB keyboard and rats, but in the form of root, any of the / dev / input / * nodes for Wacom Also, I do not get any events to use it to come in the way. It's not just my voice, but they do not even get anything from the podcast "Meet the Gimp" (Ralph and Phillippe).
Lives in the code.
To test, you can run something like this:
sudo ./evdev.py / dev / input / event0
< P> You should see the events that are coming in. For example, as you move the mouse or click on the keyboard, it connects to event0.
This X that takes full control of your input device, you can not read the event yourself That you have one of the two topics:
-
A "Cacheol" is actually getting your device. In your /var/log/Xorg.0.log, you should see a line like this:
Stantum MTP USB Controller: Applying InputClass "Incredible Touchscreen Cachele"
But the course for wacom. If this is true, you can disable the "touchscreen" cache by editing your
/usr/share/X11/xorg.conf.d/10-evdev.conf
, and select that section You can delete what is talking about the touchscreen. -
Maybe you'll fit in the Wacom section, so
/usr/share/X11/xorg.conf.d/50-wacom.conf
, and You can remove the appropriate section that matches your device.
Of course, both problems are not resolved in a clean way, and you have X and the kernel event working at the same time. (I never found any solution with Wakom, if any, please share!)
Comments
Post a Comment