[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOt5+pSrpsyvuyyT=kQj0k6u5m+KnJTH_+Q7hLhkkW0pNFSqpA@mail.gmail.com>
Date: Thu, 5 Jul 2012 00:04:32 +0530
From: Dharam Kumar <dharam.kumar.gupta@...il.com>
To: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Info on Remote controller keys like upper-right, upper-left ,
lower-right, lower-left ,sub-picture etc.
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??
Regards,
Dharam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists