From: Antonio Ospite <ao2@ao2.it>
To: Vincenzo Scotti <vinc94@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: Perixx reprogrammable mouse
Date: Sun, 5 Oct 2014 23:34:02 +0200 [thread overview]
Message-ID: <20141005233402.7a9a437630c6c3796fc59a96@ao2.it> (raw)
In-Reply-To: <20141005105951.GA1935@vinc94-desktop>
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?
prev parent reply other threads:[~2014-10-05 21:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-05 10:59 Perixx reprogrammable mouse Vincenzo Scotti
2014-10-05 21:34 ` Antonio Ospite [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141005233402.7a9a437630c6c3796fc59a96@ao2.it \
--to=ao2@ao2.it \
--cc=linux-input@vger.kernel.org \
--cc=vinc94@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).