|
5 | 5 | The driver can be reconfigured at runtime by accessing the following sysfs
|
6 | 6 | files in `/sys/module/hid_xpadneo/parameters`:
|
7 | 7 |
|
8 |
| -* `disable_deadzones` (default `0`) |
9 |
| - * `0` enables standard behavior to be compatible with `joydev` expectations |
10 |
| - * `1` enables raw passthrough of axis values without dead zones for high-precision use with modern Wine/Proton games |
11 |
| -* `trigger_rumble_mode` (default `0`) |
12 |
| - * `0` rumbles triggers by pressure and current rumble effect |
13 |
| - * `1` rumbles triggers by force direction (non-conformant) |
14 |
| - * `2` disables trigger rumble |
15 |
| -* `rumble_attenuation` (default `0,0`) |
16 |
| - * Attenuation the strength of the force feedback |
17 |
| - * `0` (none, full rumble) to `100` (max, no rumble) |
18 |
| - * If one or two values are given, the first value is the overall attenuation |
19 |
| - * If two values are given, the second value applies an extra attenuation to the triggers |
20 |
| - * Example 1: `0,100` turns trigger rumble off, `100,0` or `100` turn all rumble off |
21 |
| - * Example 2: `50,50` makes 50% rumble overall, and 25% for the triggers (50% of 50% = 25%) |
22 |
| - * Example 3: `50` makes 50% rumble overall (main and triggers) |
23 |
| - * Trigger-only rumble is not possible |
24 |
| -* `quirks` (default empty) |
25 |
| - * Let's you adjust the quirk mode of your controller |
26 |
| - * Comma separated list of `address:flags` pairs (use `+flags` or `-flags` to change flags instead) |
27 |
| - * Specify your controller MAC address in the format `11:22:33:44:55:66` |
28 |
| - * Specify the flags as sum of the following: |
29 |
| - * `1` if your controller does not support pulse parameters (i.e., 8BitDo controllers) |
30 |
| - * `2` if your controller does not support trigger rumble (most clones in compatibility mode) |
31 |
| - * `4` if your controller does not support individual motor programming (i.e., 8BitDo controllers) |
32 |
| - * `8` if your controller supports hardware profiles (auto-detected, do not set manually) |
33 |
| - * `16` if your controller boots in Linux mode (auto-detected, do not change manually) |
34 |
| - * `32` if you prefer to use Nintendo button mappings (i.e., 8BitDo controllers, defaults to off) |
35 |
| - * `64` if your controller has a awkwardly mapped Share button (auto-detected, do not set manually) |
36 |
| - * `128` if your controller uses motor-enable bits in reverse |
37 |
| - * `256` if your controller uses motor-enable bits with trigger and main motors swapped |
38 |
| - * `512` to avoid having your controller misdetected by heuristics (please report a bug) |
39 |
| -* 'disable_shift_mode' (default 0) |
40 |
| - * Let's you disable Xbox logo button shift behavior |
41 |
| - * '0' Xbox logo button will be used as shift |
42 |
| - * '1' will pass through the Xbox logo button as is |
| 8 | +- `disable_deadzones` (default `0`) |
| 9 | + - `0` enables standard behavior to be compatible with `joydev` expectations |
| 10 | + - `1` enables raw passthrough of axis values without dead zones for high-precision use with modern Wine/Proton games |
| 11 | +- `trigger_rumble_mode` (default `0`) |
| 12 | + - `0` rumbles triggers by pressure and current rumble effect |
| 13 | + - `1` rumbles triggers by force direction (non-conformant) |
| 14 | + - `2` disables trigger rumble |
| 15 | +- `rumble_attenuation` (default `0,0`) |
| 16 | + - Attenuation the strength of the force feedback |
| 17 | + - `0` (none, full rumble) to `100` (max, no rumble) |
| 18 | + - If one or two values are given, the first value is the overall attenuation |
| 19 | + - If two values are given, the second value applies an extra attenuation to the triggers |
| 20 | + - Example 1: `0,100` turns trigger rumble off, `100,0` or `100` turn all rumble off |
| 21 | + - Example 2: `50,50` makes 50% rumble overall, and 25% for the triggers (50% of 50% = 25%) |
| 22 | + - Example 3: `50` makes 50% rumble overall (main and triggers) |
| 23 | + - Trigger-only rumble is not possible |
| 24 | +- `quirks` (default empty) |
| 25 | + - Let's you adjust the quirk mode of your controller |
| 26 | + - Comma separated list of `address:flags` pairs (use `+flags` or `-flags` to change flags instead) |
| 27 | + - Specify your controller MAC address in the format `11:22:33:44:55:66` |
| 28 | + - Specify the flags as sum of the following: |
| 29 | + - `1` if your controller does not support pulse parameters (i.e., 8BitDo controllers) |
| 30 | + - `2` if your controller does not support trigger rumble (most clones in compatibility mode) |
| 31 | + - `4` if your controller does not support individual motor programming (i.e., 8BitDo controllers) |
| 32 | + - `8` if your controller supports hardware profiles (auto-detected, do not set manually) |
| 33 | + - `16` if your controller boots in Linux mode (auto-detected, do not change manually) |
| 34 | + - `32` if you prefer to use Nintendo button mappings (i.e., 8BitDo controllers, defaults to off) |
| 35 | + - `64` if your controller has a awkwardly mapped Share button (auto-detected, do not set manually) |
| 36 | + - `128` if your controller uses motor-enable bits in reverse |
| 37 | + - `256` if your controller uses motor-enable bits with trigger and main motors swapped |
| 38 | + - `512` to avoid having your controller misdetected by heuristics (please report a bug) |
| 39 | +- 'disable_shift_mode' (default 0) |
| 40 | + - Let's you disable Xbox logo button shift behavior |
| 41 | + - '0' Xbox logo button will be used as shift |
| 42 | + - '1' will pass through the Xbox logo button as is |
43 | 43 |
|
44 | 44 | Some settings may need to be changed at loading time of the module, take a look at the following example to see how
|
45 | 45 | that works:
|
|
0 commit comments