* Perixx reprogrammable mouse
@ 2014-10-05 10:59 Vincenzo Scotti
2014-10-05 21:34 ` Antonio Ospite
0 siblings, 1 reply; 2+ messages in thread
From: Vincenzo Scotti @ 2014-10-05 10:59 UTC (permalink / raw)
To: linux-input
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.
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.
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.
Regards,
Vincenzo.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Perixx reprogrammable mouse
2014-10-05 10:59 Perixx reprogrammable mouse Vincenzo Scotti
@ 2014-10-05 21:34 ` Antonio Ospite
0 siblings, 0 replies; 2+ messages in thread
From: Antonio Ospite @ 2014-10-05 21:34 UTC (permalink / raw)
To: Vincenzo Scotti; +Cc: linux-input
On Sun, 5 Oct 2014 12:59:51 +0200
Vincenzo Scotti <vinc94@gmail.com> 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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-05 21:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-05 10:59 Perixx reprogrammable mouse Vincenzo Scotti
2014-10-05 21:34 ` Antonio Ospite
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).