Missing Key-codes from input.h file.
From: anish kumar <hidden>
Date: 2012-06-25 17:17:33
On Mon, 2012-06-25 at 18:52 +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. b.) Keys for Moving upper-right, lower-right, upper-left and lower-left direction(probably a GUI(grid of icons),where you move diagonally) d.) A key for Subpicture (this 'subpicture' key is deeined in CEA-931C).
I think you are interested in the user space implementation of the keys reported by the input subsystem of kernel. Keys reported by the driver->input subsystem->reported to user space. I am not sure about linux way of reporting keys but in android the key is reported at a particular sysfs file and this sysfs file is read by eventhub.cpp.This file in turn is responsible for sending the events to particular application and it is the responsibility of the application how they interpret this keys.It can interpret events by moving diagonally a pointer/touch or going left/right. Not sure if this is what you are interested in but would have been better if you had described the problem in more detail.
Does anybody have any idea about this? - Dharam _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies