mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
V4L/DVB: ir-core: add two functions to report keyup/keydown events
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
a3572c34da
commit
6660de568d
2 changed files with 60 additions and 1 deletions
|
|
@ -72,6 +72,10 @@ struct ir_input_dev {
|
|||
unsigned long devno; /* device number */
|
||||
const struct ir_dev_props *props; /* Device properties */
|
||||
struct ir_raw_event_ctrl *raw; /* for raw pulse/space events */
|
||||
|
||||
/* key info - needed by IR keycode handlers */
|
||||
u32 keycode; /* linux key code */
|
||||
int keypressed; /* current state */
|
||||
};
|
||||
|
||||
#define to_ir_input_dev(_attr) container_of(_attr, struct ir_input_dev, attr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue