From: Antti Palosaari <crope@iki.fi>
To: Dharam Kumar <dharam.kumar.gupta@gmail.com>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Info on Remote controller keys like upper-right, upper-left , lower-right, lower-left ,sub-picture etc.
Date: Wed, 04 Jul 2012 21:49:00 +0300 [thread overview]
Message-ID: <4FF4901C.3010701@iki.fi> (raw)
In-Reply-To: <CAOt5+pSrpsyvuyyT=kQj0k6u5m+KnJTH_+Q7hLhkkW0pNFSqpA@mail.gmail.com>
On 07/04/2012 09:34 PM, Dharam Kumar wrote:
> Hi All,
>
> I've been working on a MHL( www.mhltech.org ) transmitter driver
> which needs to receive/handle incoming Remote control keys.
>
> The specification tells me that other than normal keys[up,down,left,
> right etc.] there are certain remote control keys like Upper-right,
> Upper-left, Lower-right, Lower-left, Sub-picture etc.
>
> While creating a key map in the driver, I tried to find whether these
> keys has been defined in <linux/input.h> ,but I could not find such
> key definitions
> in the header file.
>
> Please note that, although the Specs do define these Remote Controller
> keys, the driver will have the choice
> to support the key depending on the key-map.
>
> Something like this:
> /* Key Map for the driver */
> ....
> { KEY_UP, <supported> },
> { KEY_DOWN, <supported>},
> {KEY_UPPERRIGHT, <supported>}, /* No definition for
> KEY_UPPERRIGHT in input.h */
> {KEY_UPPERLEFT, <not-supported>}, /* No definition for KEY_UPPERLEFT
> in input.h, although this key is not supported by driver */
> ....
>
>
> In other mailing lists[linux-input], it has been suggested that these
> keys are similar to Joystick keys.
> I've looked into drivers/input/joystick/analog.c file, but could not
> find any buttons/pads which are similar to the above one[Am I missing
> something here??]
>
> any pointers??
Here is list of key bindings used for media device remote controllers
(television, radio, etc):
http://linuxtv.org/wiki/index.php/Remote_Controllers
But still no definitions like up-left etc.
regards
Antti
--
http://palosaari.fi/
prev parent reply other threads:[~2012-07-04 18:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-04 18:34 Info on Remote controller keys like upper-right, upper-left , lower-right, lower-left ,sub-picture etc Dharam Kumar
2012-07-04 18:49 ` Antti Palosaari [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=4FF4901C.3010701@iki.fi \
--to=crope@iki.fi \
--cc=dharam.kumar.gupta@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--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 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).