pxrc.rst 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. =======================================================
  2. pxrc - PhoenixRC Flight Controller Adapter
  3. =======================================================
  4. :Author: Marcus Folkesson <marcus.folkesson@gmail.com>
  5. This driver let you use your own RC controller plugged into the
  6. adapter that comes with PhoenixRC or other compatible adapters.
  7. The adapter supports 7 analog channels and 1 digital input switch.
  8. Notes
  9. =====
  10. Many RC controllers is able to configure which stick goes to which channel.
  11. This is also configurable in most simulators, so a matching is not necessary.
  12. The driver is generating the following input event for analog channels:
  13. +---------+----------------+
  14. | Channel | Event |
  15. +=========+================+
  16. | 1 | ABS_X |
  17. +---------+----------------+
  18. | 2 | ABS_Y |
  19. +---------+----------------+
  20. | 3 | ABS_RX |
  21. +---------+----------------+
  22. | 4 | ABS_RY |
  23. +---------+----------------+
  24. | 5 | ABS_RUDDER |
  25. +---------+----------------+
  26. | 6 | ABS_THROTTLE |
  27. +---------+----------------+
  28. | 7 | ABS_MISC |
  29. +---------+----------------+
  30. The digital input switch is generated as an `BTN_A` event.
  31. Manual Testing
  32. ==============
  33. To test this driver's functionality you may use `input-event` which is part of
  34. the `input layer utilities` suite [1]_.
  35. For example::
  36. > modprobe pxrc
  37. > input-events <devnr>
  38. To print all input events from input `devnr`.
  39. References
  40. ==========
  41. .. [1] https://www.kraxel.org/cgit/input/