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

- From: Dharam Kumar \<hidden\>
- Date: 2012-06-25 14:46:00 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/06/8919754
- Thread: https://ratatoskr.run/linux-input/2012/06/8919752/t.md

```text
On Mon, Jun 25, 2012 at 7:56 PM, Jarod Wilson [ref] 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@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
```
