-
Notifications
You must be signed in to change notification settings - Fork 146
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
Feature request: Support Cintiq/other tablet pens #1454
Comments
The file to inspect would likely be: https://github.com/jtroo/kanata/blob/main/src/oskbd/linux.rs You can add the |
I was able to get the position of the pen passed through by adding hardcoded EV_ABS specifications in Would it be reasonable to think that this would need some kind of check and separate handler upon initialization? I really like this software and would like to make it work, but I don't wanna go down some crazy rabbit hole on a bad premise, or against the core idea of the software. Thanks for your time |
From an IO perspective, currently Kanata presents as a single device using uinput, but it can choose to have multiple uinput device instances to have the separate EV_ABS events go there. |
I'll do some more reading, thanks! |
Side note: having separate device for tablet-related stuff is probably also required for implementing setmouse on linux on evdev level - see my previous comment on this topic: #623 (comment). An implementation of that that works for me, although written in C: https://github.com/sciboy12/Abs-C |
Is your feature request related to a problem? Please describe.
Attempting to remap a Cintiq pen doesn't work; the input seems to stop working entirely.
Describe the solution you'd like.
The ability to remap tablet pens without dropping input
Describe alternatives you've considered.
Right now I'm running Kanata alongside Input-remapper, but it creates a new device each time it detects a pen, so it's not great. As far as I can tell, there is no viable way to do this with Kanata right now.
Additional context
I don't know that the pen events actually map to existing ones in Kanata to begin with. I think they're Libinput events.
If I could get some pointers on where to start I would be more than happy to try implementing this myself.
Thank you
The text was updated successfully, but these errors were encountered: