From: Marty Plummer <netz.kernel@gmail.com>
To: linux-input@vger.kernel.org,
"Clément Vuchener" <clement.vuchener@gmail.com>
Subject: Re: Assistance in remapping keys with no scancode in kernel module
Date: Fri, 13 Nov 2015 10:17:36 -0600 [thread overview]
Message-ID: <56460D20.3000600@gmail.com> (raw)
In-Reply-To: <20151113095456.GA24750@untxi.home>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 11/13/2015 03:54 AM, Clément Vuchener wrote:
> On Thu, Nov 12, 2015 at 07:59:21PM -0600, Marty Plummer wrote:
>
> You will have to parse these reports yourself by implementing the raw_event op
> and generate the appropriate input events. I think you also need to declare the
> keys you will be using in the input_configured op. You should be able to find
> a lot of examples for that in the existing HID drivers.
>
Hrm. I've grepped for the raw_event and have been looking at it, and will check
for input_configured as well. See, I've been looking at your hid-corsair driver,
but that seems to be a bit simpler as they all report on separate usages unlike
my situation. Would it be out of the question to ask for a particular driver to
look at that is more similar to my situation?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWRg0ZAAoJEHWEtN3AMJGNxhAP/0neYJIkEkgBwn5l5CVV3pWl
0QU5/ND7rZNuTp+HYXQHzU7SFTGOqbSvhFwWYXXvDupNp+tYwngcvN84EnO6PKZG
qgelkzLXExecVGqRH4rqQPrOsP8GeaZcTOrLdTe6ItWzB9QigGf19LLDo4O86ph3
0V1Sqt3ozsipROt7P7zu5DF7MNNNgx8mel1M8J+EHaTF84WJ9gUK4sD2MQKAmbAA
/jVdqoPpbEI6tBbQeiBB4u+qZm17Y4/jVDpJ6WZTn0/y/4M0yEZ97cxOK0YIuVhu
0UevZCAD1EX0/uwe4dTbG4K5Bti3+PYaHFPr/J6OU7Eicr0NKpetiF/iYju0UOpM
a1d4fOrd2Q8MQWvPCU7O0xVfPx03xe+55fqqYQGCos6oiB797BI9KFchIwcR+doo
id9bO/WHF46ZrNXlbXWLbFAAu9+qsq76BaLrqT8q8H6FKwqvHcak5dOMs74B5bb6
rG8bhF3bw1sGuRRQbbIRiMzYucGhO2bx7sr0tKOOOREm9gLPSLkWEntjV5jxg5wV
6OPCfGJGp2RlEc4/6Ff0hZwIcqDvFAZBBiN0l+fJdM9VciwsOxG1ShBfQ0BLUAp+
PTLWDJt6ptm95qnkIycmIbNa/8p8zEzwdZHFXQrCagXc9rrQo8h7MuOXuLbuKJQt
tOORVLzi7lFlDMQCmQTv
=NEuA
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2015-11-13 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 1:59 Assistance in remapping keys with no scancode in kernel module Marty Plummer
2015-11-13 9:54 ` Clément Vuchener
2015-11-13 16:17 ` Marty Plummer [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=56460D20.3000600@gmail.com \
--to=netz.kernel@gmail.com \
--cc=clement.vuchener@gmail.com \
--cc=linux-input@vger.kernel.org \
/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).