168ef4836SMarcus Folkesson======================================================= 268ef4836SMarcus Folkessonpxrc - PhoenixRC Flight Controller Adapter 368ef4836SMarcus Folkesson======================================================= 468ef4836SMarcus Folkesson 568ef4836SMarcus Folkesson:Author: Marcus Folkesson <marcus.folkesson@gmail.com> 668ef4836SMarcus Folkesson 768ef4836SMarcus FolkessonThis driver let you use your own RC controller plugged into the 8*8d58ce1bSMarcus Folkessonadapter that comes with PhoenixRC or other compatible adapters. 968ef4836SMarcus Folkesson 1068ef4836SMarcus FolkessonThe adapter supports 7 analog channels and 1 digital input switch. 1168ef4836SMarcus Folkesson 1268ef4836SMarcus FolkessonNotes 1368ef4836SMarcus Folkesson===== 1468ef4836SMarcus Folkesson 1568ef4836SMarcus FolkessonMany RC controllers is able to configure which stick goes to which channel. 1668ef4836SMarcus FolkessonThis is also configurable in most simulators, so a matching is not necessary. 1768ef4836SMarcus Folkesson 1868ef4836SMarcus FolkessonThe driver is generating the following input event for analog channels: 1968ef4836SMarcus Folkesson 2068ef4836SMarcus Folkesson+---------+----------------+ 2168ef4836SMarcus Folkesson| Channel | Event | 2268ef4836SMarcus Folkesson+=========+================+ 2368ef4836SMarcus Folkesson| 1 | ABS_X | 2468ef4836SMarcus Folkesson+---------+----------------+ 2568ef4836SMarcus Folkesson| 2 | ABS_Y | 2668ef4836SMarcus Folkesson+---------+----------------+ 2768ef4836SMarcus Folkesson| 3 | ABS_RX | 2868ef4836SMarcus Folkesson+---------+----------------+ 2968ef4836SMarcus Folkesson| 4 | ABS_RY | 3068ef4836SMarcus Folkesson+---------+----------------+ 3168ef4836SMarcus Folkesson| 5 | ABS_RUDDER | 3268ef4836SMarcus Folkesson+---------+----------------+ 3368ef4836SMarcus Folkesson| 6 | ABS_THROTTLE | 3468ef4836SMarcus Folkesson+---------+----------------+ 3568ef4836SMarcus Folkesson| 7 | ABS_MISC | 3668ef4836SMarcus Folkesson+---------+----------------+ 3768ef4836SMarcus Folkesson 3868ef4836SMarcus FolkessonThe digital input switch is generated as an `BTN_A` event. 3968ef4836SMarcus Folkesson 4068ef4836SMarcus FolkessonManual Testing 4168ef4836SMarcus Folkesson============== 4268ef4836SMarcus Folkesson 4368ef4836SMarcus FolkessonTo test this driver's functionality you may use `input-event` which is part of 44*8d58ce1bSMarcus Folkessonthe `input layer utilities` suite [1]_. 4568ef4836SMarcus Folkesson 4668ef4836SMarcus FolkessonFor example:: 4768ef4836SMarcus Folkesson 4868ef4836SMarcus Folkesson > modprobe pxrc 4968ef4836SMarcus Folkesson > input-events <devnr> 5068ef4836SMarcus Folkesson 5168ef4836SMarcus FolkessonTo print all input events from input `devnr`. 5268ef4836SMarcus Folkesson 5368ef4836SMarcus FolkessonReferences 5468ef4836SMarcus Folkesson========== 5568ef4836SMarcus Folkesson 56*8d58ce1bSMarcus Folkesson.. [1] https://www.kraxel.org/cgit/input/ 57