Re: Missing Key-codes from <linux/input.h> file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jarod,  All

I'm giving some more info regarding what I queried earlier. I hope
this will put my query in better light.

The missing keys which I've mentioned earlier are basically Remote
Controller keys as specified in MHL specifications( www.mhltech.org ).
Now, as MHL Specifications are closely related to HDMI(and CEC), hence
most probably these 'missing' keys are part of HDMI/CEC specifications
too. And hence, my doubt on why these standard keys are missing from
<linux/input.h> ?

Jarod,
You previously mentioned some of the  missing keys being similar to
Joystick keys.  I will really appreciate if you could pin-point the
location of joystick keys' existence ? It makes sense to me too if
joystick(basically a wired remote control) keys are similar to
TV/Monitor Remote Control keys.

In case, the keys (like upper-left, upper-right, lower-left,
lower-right ) are different from Joystick keys(and hence missing from
input.h ), How can I proceed to add these keys ?

Thanks and Regards,
Dharam


On Mon, Jun 25, 2012 at 8:15 PM, Dharam Kumar
<dharam.kumar.gupta@xxxxxxxxx> wrote:
> On Mon, Jun 25, 2012 at 7:56 PM, Jarod Wilson <jarod@xxxxxxxxxx> wrote:
>> On Mon, Jun 25, 2012 at 07:39:25PM +0530, Dharam Kumar wrote:
>>> Hi,
>>> I'm working on a module which is an input device and hence it needs to
>>> report certain key events.
>>>
>>> While browsing through the <linux/input.h>, I did find most of the
>>> key-codes(which I need to use) already defined but not all.
>>>
>>> Few of the KEY_xxx which i could not find are:
>>>
>>> a.) A Key for going to the previous channel.
>>
>> I believe that's what this one is intended for:
>>
>> #define KEY_PREVIOUS            0x19c
>>
>
> Hmm..I looked at it, but i was not sure ,whether it is the right key
> code for the 'Previous channel'.
> To be specific about what the key is supposed to do:
> "Select the channel used before most recent new channel selection."
> Also, there is another define:
> #define KEY_LAST                     0x195  /* Recall last */
> confusing...No?
>
>>> b.) Keys for Moving upper-right, lower-right, upper-left and
>>> lower-left direction(probably a GUI(or a grid of icons),where you move
>>> diagonally)
>>
>> Sounds a bit like joystick functionality, which already exists.
>
> Will you please be bit more specfic? Which keys/defines exactly you
> are talking about?
> Apologies for me being so naive. :)
>>
>>> d.) A key for Subpicture (this 'subpicture' key is defined in CEA-931C).
>>
>> Could have sworn there was a picture-in-picture button, which may or may
>> not be the same thing, but I don't see it now...
>>
>> --
>> Jarod Wilson
>> jarod@xxxxxxxxxx
>>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux