On Sun, 5 Oct 2014 12:59:51 +0200 Vincenzo Scotti <vinc94@xxxxxxxxx> wrote: > Hello. > I just bought some new mouses from Perixx MX's series. They work out of the > box with usbhid, even though they don't have an official driver under Linux to > remap buttons, and online I couldn't find anything useful. > So I was planning as a spare time project to write some sort of driver. > I read that usbmon could be useful to understand the protocol, if using > something like a Virtualbox VM with Windows running on it. usbmon + tshark for capture, and wireshark for analysis is the best way I found. > Given that, would it be better to make the driver as a kernel module, or as a > userspace application? I couldn't find any reprogrammable mouse driver in the > kernel drivers directory. What features do the devices offer? Something like auto-fire, latch mode and so on? I guess a userspace command line tool (maybe based on libusb) + udev hooks to load a stored configuration would be enough for a prototype. If later you want to load per-user configurations automatically you may end up writing your own daemon/applet using libudev. > I think that the more games will be ported to Linux, the more we'll need soon > to have some support for this gamers-equipment. > > I hope you'll give me some hints. > Ciao ciao, Antonio -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html