From: Sean Young <sean@mess.org>
To: Leonardo Brondani Schenkel <leonardo@schenkel.net>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] Add extra keys for rc6-mce
Date: Thu, 18 Mar 2021 09:43:31 +0000 [thread overview]
Message-ID: <20210318094331.GA31494@gofer.mess.org> (raw)
In-Reply-To: <288ddcee-15d1-90b7-8d52-4519faa56ea4@schenkel.net>
Hi Leonardo,
On Wed, Mar 17, 2021 at 10:59:56PM +0100, Leonardo Brondani Schenkel wrote:
> (This is my first time sending a patch to this project. I hope I'm doing it
> right. This is not necessarily meant to be merged as-is.)
>
> Over the years I have compiled a list of known MCE remote keys from multiple
> sources. Unfortunately I have not written down those sources, but I remember
> that among them there were IR databases such as the one from Logitech
> Harmony, and also some web pages.
>
> I noticed that the RC6-MCE keymap is missing a few of them, so I am
> submitting a patch to include them.
>
> I have a Harmony remote and also a JP1 programmable remote and I personally
> tested all those keys.
>
> I added comments in the diff after the fact to communicate to this list what
> the buttons are on the remote, so you can know why the specific key was
> chosen.
I can't see those comments.
> ---
> utils/keytable/rc_keymaps/rc6_mce.toml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/utils/keytable/rc_keymaps/rc6_mce.toml
> b/utils/keytable/rc_keymaps/rc6_mce.toml
> index 1ee9c722..672fa763 100644
> --- a/utils/keytable/rc_keymaps/rc6_mce.toml
> +++ b/utils/keytable/rc_keymaps/rc6_mce.toml
> @@ -44,24 +44,32 @@ variant = "rc6_mce"
> 0x800f0425 = "KEY_TUNER"
> 0x800f0426 = "KEY_EPG"
> 0x800f0427 = "KEY_ZOOM"
> +0x800f0428 = "KEY_OPEN" # Open/Close
> +0x800f0429 = "KEY_WAKEUP" # Power on (discrete)
> +0x800f042a = "KEY_SLEEP" # Power off (discrete)
Thank you for your patch. These files are generated from the linux kernel
tree. Your patch should modifiy drivers/media/rc/keymaps/rc-rc6-mce.c,
and then utils/keytable/rc_keymaps/rc6_mce.toml will be regenerated from
it.
Your patch also requires a Signed-off-by line.
Have a look through:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html
Many thanks
Sean
> 0x800f0432 = "KEY_MODE"
> 0x800f0433 = "KEY_PRESENTATION"
> 0x800f0434 = "KEY_EJECTCD"
> 0x800f043a = "KEY_BRIGHTNESSUP"
> +0x800f043b = "KEY_EXIT" # Exit/Close (Alt+F4 in Windows)
> 0x800f0446 = "KEY_TV"
> 0x800f0447 = "KEY_AUDIO"
> 0x800f0448 = "KEY_PVR"
> 0x800f0449 = "KEY_CAMERA"
> 0x800f044a = "KEY_VIDEO"
> +0x800f044b = "KEY_ANGLE" # DVD angle
> 0x800f044c = "KEY_LANGUAGE"
> 0x800f044d = "KEY_TITLE"
> 0x800f044e = "KEY_PRINT"
> +0x800f044f = "KEY_DISPLAYTOGGLE" # Display
> 0x800f0450 = "KEY_RADIO"
> +0x800f0451 = "KEY_TITLE" # Title
> 0x800f045a = "KEY_SUBTITLE"
> 0x800f045b = "KEY_RED"
> 0x800f045c = "KEY_GREEN"
> 0x800f045d = "KEY_YELLOW"
> 0x800f045e = "KEY_BLUE"
> +0x800f0464 = "KEY_GAMES" # Xbox
> 0x800f0465 = "KEY_POWER2"
> 0x800f0469 = "KEY_MESSENGER"
> 0x800f046e = "KEY_PLAYPAUSE"
> --
> 2.31.0
>
next prev parent reply other threads:[~2021-03-18 9:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 21:59 [PATCH] Add extra keys for rc6-mce Leonardo Brondani Schenkel
2021-03-18 9:43 ` Sean Young [this message]
2021-03-18 10:37 ` Leonardo Brondani Schenkel
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=20210318094331.GA31494@gofer.mess.org \
--to=sean@mess.org \
--cc=leonardo@schenkel.net \
--cc=linux-media@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.