Mouse example on GitHub home page does not work in Ubuntu 12.04
Bug #1271310 reported by
Winston
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-uinput |
Fix Released
|
Low
|
a |
Bug Description
Greetings,
The mouse example provided in the GitHub documentation on the following page does not work:
https:/
Fortunately, the mouse example provided here is valid:
https:/
The problem lies on this line:
device = uinput.
Fixed line:
device = uinput.
At least on Ubuntu 12.04, those final two indices in the list are required for the mouse input to actually be sent. Otherwise, nothing happens.
Thanks!
Changed in python-uinput: | |
importance: | Undecided → Low |
assignee: | nobody → Tuomas Räsänen (tuomasjjrasanen) |
status: | New → Confirmed |
Changed in python-uinput: | |
status: | Confirmed → Fix Committed |
Changed in python-uinput: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for reporting this.
And yes ,you are correct, that nothing happens if the device is created without those button descriptors, but the reason is that the device is not recognized as a mouse without those button descriptors. X/Y-events are always sent, regardless of other event descriptors, but the mouse pointer does not move if the device is not handled by mouse event handler.