Thomas Frohwein on Sat, Nov 21 2020: > Hi timo > > On Sat, Nov 21, 2020 at 08:10:03AM +0200, Timo Myyrä wrote: >> Hi, >> >> The last attempt at adding Kensington Slimblade trackball support seems >> to have stalled: >> https://marc.info/?l=openbsd-tech&m=147444999319756&w=2 > > Thanks for digging this up. I got a Slimblade, but have been using > Emulate3Buttons to paste because I didn't know about this diff.
Hi! I wrote that diff. Happy to see that there are at least two more people with a use for it! Anyway, it stalled back then after the question of whether it can be done without adding more explicit quirkery. Since then I've been mulling about how to do that. I have another mouse that reports an arguably incorrect descriptor, presumably so that the fancy Windows driver can get its hands on the special buttons more easily. Given that in-kernel "hid descriptor fixups" seem to be common, I wonder what the right way to deal with these in a more generic fashion would be. An IOCTL to overwrite the in-kernel descriptor from user space, combined with hotplugd? Some sort of other override mechanism? Maybe something with sysctl? Anyway, a database of "use these to fix your weird mouse's buttons" would make a good /etc/examples file, I think. Pointers/ideas appreciated. -pesco