summaryrefslogtreecommitdiffstats
path: root/include/media/ir-core.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-21 16:24:24 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-18 05:52:57 +0200
commitada39630c758c5c3098f4fc1361103ea2bc1afe0 (patch)
treecfad77eb7e0f96256edc08c058ea7b39ee2d30b1 /include/media/ir-core.h
parentV4L/DVB: ir-core: add two functions to report keyup/keydown events (diff)
downloadlinux-ada39630c758c5c3098f4fc1361103ea2bc1afe0.tar.xz
linux-ada39630c758c5c3098f4fc1361103ea2bc1afe0.zip
V4L/DVB: ir-core/saa7134: Move ir keyup/keydown code to the ir-core
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r--include/media/ir-core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index 198fd61f0da9..9e03528a767a 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -84,7 +84,8 @@ struct ir_input_dev {
u32 ir_g_keycode_from_table(struct input_dev *input_dev,
u32 scancode);
-
+void ir_keyup(struct input_dev *dev);
+void ir_keydown(struct input_dev *dev, int scancode);
int ir_input_register(struct input_dev *dev,
const struct ir_scancode_table *ir_codes,
const struct ir_dev_props *props,