Back to home page

OSCL-LXR

 
 

    


0001 =======================================================
0002 pxrc - PhoenixRC Flight Controller Adapter
0003 =======================================================
0004 
0005 :Author: Marcus Folkesson <marcus.folkesson@gmail.com>
0006 
0007 This driver let you use your own RC controller plugged into the
0008 adapter that comes with PhoenixRC [1]_ or other compatible adapters.
0009 
0010 The adapter supports 7 analog channels and 1 digital input switch.
0011 
0012 Notes
0013 =====
0014 
0015 Many RC controllers is able to configure which stick goes to which channel.
0016 This is also configurable in most simulators, so a matching is not necessary.
0017 
0018 The driver is generating the following input event for analog channels:
0019 
0020 +---------+----------------+
0021 | Channel |      Event     |
0022 +=========+================+
0023 |     1   |  ABS_X         |
0024 +---------+----------------+
0025 |     2   |  ABS_Y         |
0026 +---------+----------------+
0027 |     3   |  ABS_RX        |
0028 +---------+----------------+
0029 |     4   |  ABS_RY        |
0030 +---------+----------------+
0031 |     5   |  ABS_RUDDER    |
0032 +---------+----------------+
0033 |     6   |  ABS_THROTTLE  |
0034 +---------+----------------+
0035 |     7   |  ABS_MISC      |
0036 +---------+----------------+
0037 
0038 The digital input switch is generated as an `BTN_A` event.
0039 
0040 Manual Testing
0041 ==============
0042 
0043 To test this driver's functionality you may use `input-event` which is part of
0044 the `input layer utilities` suite [2]_.
0045 
0046 For example::
0047 
0048     > modprobe pxrc
0049     > input-events <devnr>
0050 
0051 To print all input events from input `devnr`.
0052 
0053 References
0054 ==========
0055 
0056 .. [1] http://www.phoenix-sim.com/
0057 .. [2] https://www.kraxel.org/cgit/input/