pxrc.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. =======================================================
  2. pxrc - PhoenixRC Flight Controller Adapter
  3. =======================================================
  4. :Author: Marcus Folkesson <[email protected]>
  5. This driver let you use your own RC controller plugged into the
  6. adapter that comes with PhoenixRC [1]_ 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 [2]_.
  35. For example::
  36. > modprobe pxrc
  37. > input-events <devnr>
  38. To print all input events from input `devnr`.
  39. References
  40. ==========
  41. .. [1] http://www.phoenix-sim.com/
  42. .. [2] https://www.kraxel.org/cgit/input/