lsmi-joystick.1 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH LSMI-JOYSTICK 1 "May 15, 2012"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. lsmi-joystick \- Linux Pseudo MIDI Input -- Joystick
  20. .SH SYNOPSIS
  21. .B lsmi-joystick
  22. .RI [ options ] " files" ...
  23. .SH DESCRIPTION
  24. This driver allows any joystick supported by the Linux joydev interface to
  25. be used as a MIDI pitch/modulation controller. Of course, some joysticks are
  26. more suitable than others. I use an old analog flight stick. Holding down
  27. button 1 causes the vertical axis to send pitchbend messages, while button 2
  28. causes the vertical axis to send modulation messages. Holding down both
  29. buttons causes the vertical axis to send pitchbend messages and the
  30. horizontal axis to send modulation messages.
  31. .SH USAGE
  32. Distribution specific init scripts are not included. The drivers may be
  33. started from init, your .bashrc, by qjackctl, etc. In order to be run by a
  34. non-root user the drivers must have access to the device files in /dev/input.
  35. This may be accomplished by adding a group 'input', adding desired users to
  36. this group, and configuring udev to assign the appropriate ownership to files
  37. in /dev/input. It should be perfectly safe to run the drivers as root,
  38. however.
  39. For realtime scheduling (the \-R option), either use set_rlimits, or set the
  40. appropriate POSIX capabilities on the executable:
  41. .P
  42. /sbin/setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/lsmi-joystick
  43. .P
  44. The lsmi.SlackBuild script already includes RT scheduling support.
  45. .SH OPTIONS
  46. .TP
  47. .B \-h, \-\-help
  48. Show summary of options.
  49. .TP
  50. .B \-d, \-\-device specialfile
  51. Event device to use (instead of js0).
  52. .TP
  53. .B \-R, \-\-realtime rtprio
  54. Use realtime priority 'rtprio' (requires privs).
  55. .TP
  56. .B \-v, \-\-verbose
  57. Be verbose (show note events).
  58. .TP
  59. .B \-p, \-\-port client:port
  60. Connect to ALSA Sequencer client on startup.
  61. .TP
  62. .B \-n, \-\-no-hold
  63. Send controller data even when no joystick button is held.
  64. .TP
  65. .B \-z, \-\-daemon
  66. Fork and don't print anything to stdout.
  67. .SH SEE ALSO
  68. .BR lsmi-keyhack (1),
  69. .BR lsmi-monterey (1),
  70. .BR lsmi-mouse (1).
  71. .br
  72. .SH AUTHOR
  73. lsmi was written by Jonathan Moore Liles.
  74. .PP
  75. This manual page was written by Ariel Errera <ariel@musix.org.ar>,
  76. for the Debian project (but may be used by others). It was then modified
  77. by B. Watson for the SlackBuilds.org project.