Inputattach

From iPodLinux

Jump to: navigation, search

inputattach is a linux tool handling serial input hardware devices, such as a keyboard, joystick or remote control, of which an extended version supporting the iPod remote is installed in your userland

To use it on your iPod, pass /dev/tts/0 as the device parameter to select the Serial Port at input.

See here for an example use with the serial remote control.

Here's the usage of the iPod version of this too:

Usage: inputattach <mode> <device>

Modes:
  --sunkbd        -skb   Sun Type 4 and Type 5 keyboards
  --spaceorb      -orb   SpaceOrb 360 / SpaceBall Avenger
  --spaceball     -sbl   SpaceBall 2003 / 3003 / 4000 FLX
  --magellan      -mag   Magellan / SpaceMouse
  --warrior       -war   WingMan Warrior
  --stinger       -stng  Gravis Stinger
  --mousesystems  -msc   3-button Mouse Systems mice
  --sunmouse      -sun   3-button Sun mice
  --microsoft     -bare  2-button Microsoft mice
  --mshack        -ms    3-button mice in Microsoft mode
  --mouseman      -mman  3-button Logitech and Genius mice
  --intellimouse  -ms3   Microsoft IntelliMouse
  --mmwheel       -mmw   Logitech mice with 4-5 buttons or wheel
  --iforce        -ifor  I-Force joysticks and wheels
  --h3600ts       -ipaq  Ipaq h3600 touchscreen
  --stowawaykbd   -ipaqkbd  Stowaway keyboard
  --ps2serkbd     -ps2ser PS/2 via serial keyboard
  --ipod-remote   -ipod  iPod remote control
  --ipod3-remote  -ipod3 iPod (third gen) remote control