summaryrefslogtreecommitdiff
path: root/include/linux/serio.h
diff options
context:
space:
mode:
authorMartin Kebert <gkmarty@gmail.com>2008-03-10 13:40:36 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-04-15 13:26:52 -0400
commit3e24e2b5ae03394d9510530f9dd973050fd18730 (patch)
treeaf85fca629a526f52b2e9f3016dfaff21252c6dd /include/linux/serio.h
parenta32bcc45b9e9d8021b5936c45dc3f8db7a044466 (diff)
downloadlwn-3e24e2b5ae03394d9510530f9dd973050fd18730.tar.gz
lwn-3e24e2b5ae03394d9510530f9dd973050fd18730.zip
Input: add Zhen Hua driver
This is a driver for Zhen Hua PPM-4CH RC transmitter (commonly used in cheap Ready To Fly RC helicopters by Walkera) which using "Zhen Hua 5-byte protocol" for using them as a four axis joystick via serial port. Transmitter connected to serial port (19200 8N1) sending periodically 5 bytes where first byte is for synchronization and next four bytes are values of axis. Signed-off-by: Martin Kebert <gkmarty@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/serio.h')
-rw-r--r--include/linux/serio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h
index 9f3825014674..95674d97dabd 100644
--- a/include/linux/serio.h
+++ b/include/linux/serio.h
@@ -211,5 +211,6 @@ static inline void serio_unpin_driver(struct serio *serio)
#define SERIO_TOUCHWIN 0x33
#define SERIO_TAOSEVM 0x34
#define SERIO_FUJITSU 0x35
+#define SERIO_ZHENHUA 0x36
#endif