-
Notifications
You must be signed in to change notification settings - Fork 5
Xinput2 Backend #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Xinput2 Backend #11
Conversation
this horribly broke in/out emulation.
this is turning out to not be very "device agnostic", one of the major goals of octotablet. Alas, cursed support is better than no support.
Good news, after digging through several driver implementations (xf86-input-libinput, xf86-input-wacom, xf86-input-evdev, xwayland), it seems things are more standardized than is exposed through public documentation, and the things that aren't standardized are presented through driver-specific properties. These have been implemented and it's all around more scrumptious, however the heuristics must unfortunately remain for when the drivers aren't available. Getting there! |
Hi! I'm interested in using octotablet for a tileset creation tool I'm working on here: https://github.com/verkaboot/tessellate I'm using X11, so I'm definitely interested in these updates. I would be happy to help if there's anything I can do. |
Thank you for the interest ^^. I am very pleased to see this crate put to use :3 I believe I have most of the protocol and hardware/driver-specific quirks mapped out in my notes, which was the hard part. |
A backend implementation using X11's
xinput
version 2 extension.Closes #10.
Unfortunately, this implementation relies heavily on heuristics to detect the class and capabilities of hardware. There is not - as far as I can tell - a better way to go about it, and no resource exists listing the set of standard values. While I have a sizeable collection of hardware to test on, the heuristics will very likely need updating as more hardware is tried (pads with several rings, pads with sliders, tools with roll/distance/wheel/slider, airbrushes..., etc.).
Once implementation is finished (not yet, some breaking changes are still pending), I would greatly appreciate testing help to ensure this detects the full capabilities on all hardware. I will probably put out a call for this when the implementation is ready prior to making a release :3
Out
events