Hi, On 02-12-15 03:29, Peter Hutterer wrote:
This patchset adds tablet support to the xorg libinput driver. Note: this patchset requires the tablet-support branch of libinput, the current tree for this patchset is avaiable here: https://github.com/whot/xf86-input-libinput/tree/wip/tablet-support I'm sending this to the list mostly to get a few eyes and comments on the general approach here. The wacom driver is the most complicated of all X.Org drivers, in part because tablets are just more complicated than say a mouse/keyboard but also because it accumulated 15 years of legacy that is hard to remove. But in the 15 years we've had a fair number of improvements, both in hardware and the kernel so a lot of hacks and workarounds simply aren't needed anymore. The biggest difference here is that we create X devices on the fly as they come into proximity, one per tool. Static InputDevice configuration in the xorg.conf becomes mostly useless this way (InputClass still works), it's better to have a DE that knows about and handles tablets. No new config options at this point, the libinput tablet branch doesn't expose any of those. This probably won't work yet with the cursor/lens cursor tool, hence all still WIP.
Although I'm not all to familiar with tablet support, I've given this series a quick lookover, and it looks good to me. Regards, Hans _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
