Input: add Zhen Hua driver
authorMartin Kebert <gkmarty@gmail.com>
Mon, 10 Mar 2008 12:40:36 +0000 (13:40 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Apr 2008 17:26:52 +0000 (13:26 -0400)
commit3e24e2b5ae03394d9510530f9dd973050fd18730
treeaf85fca629a526f52b2e9f3016dfaff21252c6dd
parenta32bcc45b9e9d8021b5936c45dc3f8db7a044466
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>
drivers/input/joystick/Kconfig
drivers/input/joystick/Makefile
drivers/input/joystick/zhenhua.c [new file with mode: 0644]
include/linux/serio.h