Re: Missing Key-codes from <linux/input.h> file
From: Dharam Kumar <hidden>
Date: 2012-06-28 06:15:06
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 [off-list ref] wrote:
On Mon, Jun 25, 2012 at 7:56 PM, Jarod Wilson [off-list ref] wrote:quoted
On Mon, Jun 25, 2012 at 07:39:25PM +0530, Dharam Kumar wrote:quoted
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 0x19cHmm..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?quoted
quoted
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. :)quoted
quoted
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@redhat.com
-- 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