aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2006-04-29 01:13:21 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2006-04-29 01:13:21 -0400
commit08791e5cf62b6952ca32106aebb79b6066005de4 (patch)
tree7cb1f7bfdb2b31bbc8d504be2245df8f21a28574 /include/linux
parent89c9b4805a525bdd4c6e7529d06292f60ac837fc (diff)
downloadkernel_samsung_espresso10-08791e5cf62b6952ca32106aebb79b6066005de4.zip
kernel_samsung_espresso10-08791e5cf62b6952ca32106aebb79b6066005de4.tar.gz
kernel_samsung_espresso10-08791e5cf62b6952ca32106aebb79b6066005de4.tar.bz2
Input: ressurect EVIOCGREP and EVIOCSREP
While writing to an event device allows to set repeat rate for an individual input device there is no way to retrieve current settings so we need to ressurect EVIOCGREP. Also ressurect EVIOCSREP so we have a symmetrical interface. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 8298b4b..50e338d 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -56,6 +56,8 @@ struct input_absinfo {
#define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */
#define EVIOCGID _IOR('E', 0x02, struct input_id) /* get device ID */
+#define EVIOCGREP _IOR('E', 0x03, int[2]) /* get repeat settings */
+#define EVIOCSREP _IOW('E', 0x03, int[2]) /* set repeat settings */
#define EVIOCGKEYCODE _IOR('E', 0x04, int[2]) /* get keycode */
#define EVIOCSKEYCODE _IOW('E', 0x04, int[2]) /* set keycode */