$Id: README,v 1.4 2006/08/22 13:26:34 afujita Exp $
hfstick

NAME

hfstick - Linux device driver for HORI Flightstick (1 or 2)


TEST ENVIRONMENT
OS: Vine Linux 3.2 (Kernel 2.4.31-0vl1.12)
    Fedora Core release 5 (Kernel 2.6.17-1.2157)
Application:
    FlightGear flight simulator 0.9.10


HOW TO USE

(1) Complile hfstick.c as the other kernel modules will be complied.

# make (or make KSRCDIR=/usr/src/linux)

(2) Install hfstick.o(.ko) onto an appropriate directory of modules.

# cp hfstick.o /lib/modules/2.4.31/kernel/drivers/char/joystick/

(3) Add the following line about hfstick to usb hotplug configuration.

hfstick 0x0003 0x06d3 0x0f10 0x0 0x0 0x0 0x0 0x0 0x00 0x00 0x00 0x00000000   

(module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info)

(4) Add the following line to /etc/modules.conf

post-install hfstick /sbin/modprobe joydev

(5) Type: # /sbin/depmod -ae

(6) Try:

# js_demo (joystick test program for FlightGear)


TODO
- Perhaps we can distinguish Flightstick1 and Flightstick2 when plugged. (Easy, but maybe late)

- Hotplug supports while opening /dev/js0 (Hard)


Special THANKS
 This program has derived from MS Windows Flight Stick driver "hfsd"
 which is public domain and provides source code.
 
 Many Thanks to:
 hfsd -- Flight Stick driver
 http://www.tamanegi.org/prog/hfsd/

