diff options
author | Sean Young <sean@mess.org> | 2018-04-18 23:44:58 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-04 15:22:09 +0300 |
commit | f9d94a10dad89ae01c0ff816022a8bdd6e1acda0 (patch) | |
tree | e324f9b4a857e047bb2bc435f3db05cb5ff5e04c /drivers/media/rc/rc-core-priv.h | |
parent | c00cb587a2745eb49916db912be7b3d362c6a2f9 (diff) | |
download | linux-f9d94a10dad89ae01c0ff816022a8bdd6e1acda0.tar.xz |
media: rc: imon decoder: support the stick
The iMON PAD controller has a analog stick, which can be switched to
keyboard mode (cursor keys) or work as a crappy mouse.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/rc/rc-core-priv.h')
-rw-r--r-- | drivers/media/rc/rc-core-priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/rc/rc-core-priv.h b/drivers/media/rc/rc-core-priv.h index 07ba77fe6a3b..bbb9a7eb6b63 100644 --- a/drivers/media/rc/rc-core-priv.h +++ b/drivers/media/rc/rc-core-priv.h @@ -126,6 +126,9 @@ struct ir_raw_event_ctrl { int count; int last_chk; unsigned int bits; + bool stick_keyboard; + struct input_dev *idev; + char name[64]; } imon; }; |