-
Notifications
You must be signed in to change notification settings - Fork 172
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
Add support for Lenovo ThinkPad X1 Yoga Gen 7 #626
Conversation
|
I propose to either add the product name or the model number to the device name in the first line, eg in my case:
or
This would help to differentiate between different configurations of the same model family. For example there is another pr over at linuxwacom/wacom-hid-descriptors for the same model but a different screen and PID (52b5): linuxwacom/wacom-hid-descriptors#256. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good minus one error, surprised meson test passed this one on your machine? Anyway, rest looks good, thanks.
Whoops, good catch! The test actually failed before I fixed this on my machine. I must have forgotten to add the change to staging before committing. Sorry for that! |
I have one more thing: With the correct The button mapping works fine with my Wacom One M even under Wayland. So Wayland can't be the issue, I guess. Any idea where this problem might be located? |
libwacom itself doesn't handle the button mappings, that's up to the compositor (e.g. mutter) in Wayland, so the issue will be there. Mind you - are you talking about the eraser button? If so that one cannot be changed on AES pens, it's hardcoded in the fw and really hard to remap in software because it requires unreliable heuristics, so libinput doesn't have support for that. Though iirc that button shouldn't be exposed in the configuration either. |
Thank you. No, I'm talking about the second button above the eraser that is currently mapped to middle click by default (after upgrading to Fedora 39 with Gnome 45). Previously it was mapped to right click. I also suspect mutter besides gnome settings and maybe libinput. I'll ask around if anyone else experiences this issue on their built in wacom tablets and file a bug report for mutter or gnome. |
As discussed here: linuxwacom/wacom-hid-descriptors#353