Update documentation.
This commit is contained in:
parent
35bedfa58c
commit
751604c60a
2 changed files with 7 additions and 61 deletions
|
@ -5,8 +5,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: right-stick
|
device: right-stick
|
||||||
axis: Y
|
axis: Y
|
||||||
deadzone_start: 29000
|
|
||||||
deadzone_end: 31000
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: Y
|
axis: Y
|
||||||
|
@ -16,8 +14,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: right-stick
|
device: right-stick
|
||||||
axis: X
|
axis: X
|
||||||
deadzone_start: 30000
|
|
||||||
deadzone_end: 32000
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: X
|
axis: X
|
||||||
|
@ -27,8 +23,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: pedals
|
device: pedals
|
||||||
axis: Z
|
axis: Z
|
||||||
deadzone_start: 124
|
|
||||||
deadzone_end: 132
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: Z
|
axis: Z
|
||||||
|
@ -39,8 +33,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: left-stick
|
device: left-stick
|
||||||
axis: Y
|
axis: Y
|
||||||
deadzone_start: 29500
|
|
||||||
deadzone_end: 31000
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: RY
|
axis: RY
|
||||||
|
@ -50,8 +42,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: left-stick
|
device: left-stick
|
||||||
axis: X
|
axis: X
|
||||||
deadzone_start: 29000
|
|
||||||
deadzone_end: 30500
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: RX
|
axis: RX
|
||||||
|
@ -62,8 +52,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: right-stick
|
device: right-stick
|
||||||
axis: RX
|
axis: RX
|
||||||
deadzone_start: 29500
|
|
||||||
deadzone_end: 30250
|
|
||||||
output:
|
output:
|
||||||
device: secondary
|
device: secondary
|
||||||
axis: X
|
axis: X
|
||||||
|
@ -72,8 +60,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: right-stick
|
device: right-stick
|
||||||
axis: RY
|
axis: RY
|
||||||
deadzone_start: 29500
|
|
||||||
deadzone_end: 30250
|
|
||||||
output:
|
output:
|
||||||
device: secondary
|
device: secondary
|
||||||
axis: Y
|
axis: Y
|
||||||
|
@ -87,8 +73,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: right-stick
|
device: right-stick
|
||||||
axis: ABS_THROTTLE
|
axis: ABS_THROTTLE
|
||||||
deadzone_start: 0
|
|
||||||
deadzone_end: 500
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: ABS_THROTTLE
|
axis: ABS_THROTTLE
|
||||||
|
@ -100,8 +84,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: left-stick
|
device: left-stick
|
||||||
axis: ABS_THROTTLE
|
axis: ABS_THROTTLE
|
||||||
deadzone_start: 0
|
|
||||||
deadzone_end: 500
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: ABS_RUDDER
|
axis: ABS_RUDDER
|
||||||
|
@ -111,8 +93,8 @@ rules:
|
||||||
name: tractor in
|
name: tractor in
|
||||||
modes:
|
modes:
|
||||||
- main
|
- main
|
||||||
repeat_rate_max: 10
|
repeat_rate_max: 50
|
||||||
repeat_rate_min: 100
|
repeat_rate_min: 500
|
||||||
increment: -1
|
increment: -1
|
||||||
input:
|
input:
|
||||||
device: left-stick
|
device: left-stick
|
||||||
|
@ -127,8 +109,8 @@ rules:
|
||||||
name: tractor out
|
name: tractor out
|
||||||
modes:
|
modes:
|
||||||
- main
|
- main
|
||||||
repeat_rate_max: 10
|
repeat_rate_max: 50
|
||||||
repeat_rate_min: 100
|
repeat_rate_min: 500
|
||||||
increment: 1
|
increment: 1
|
||||||
input:
|
input:
|
||||||
device: left-stick
|
device: left-stick
|
||||||
|
@ -175,44 +157,6 @@ rules:
|
||||||
input:
|
input:
|
||||||
device: right-stick
|
device: right-stick
|
||||||
axis: ABS_THROTTLE
|
axis: ABS_THROTTLE
|
||||||
deadzone_start: 0
|
|
||||||
deadzone_end: 500
|
|
||||||
output:
|
output:
|
||||||
device: primary
|
device: primary
|
||||||
axis: RZ
|
axis: RZ
|
||||||
|
|
||||||
# In tractor mode, most flight controls are disabled to prevent us
|
|
||||||
# from accidentally trying to fly off without throttle control
|
|
||||||
# - type: axis-to-relaxis
|
|
||||||
# name: tractor in
|
|
||||||
# modes:
|
|
||||||
# - tractor
|
|
||||||
# repeat_rate_max: 10
|
|
||||||
# repeat_rate_min: 100
|
|
||||||
# increment: -1
|
|
||||||
# input:
|
|
||||||
# device: left-stick
|
|
||||||
# axis: Y
|
|
||||||
# deadzone_start: 0
|
|
||||||
# deadzone_end: 30250
|
|
||||||
# output:
|
|
||||||
# device: mouse
|
|
||||||
# axis: REL_WHEEL
|
|
||||||
|
|
||||||
# - type: axis-to-relaxis
|
|
||||||
# name: tractor out
|
|
||||||
# modes:
|
|
||||||
# - tractor
|
|
||||||
# repeat_rate_max: 10
|
|
||||||
# repeat_rate_min: 100
|
|
||||||
# increment: 1
|
|
||||||
# input:
|
|
||||||
# device: left-stick
|
|
||||||
# axis: Y
|
|
||||||
# deadzone_start: 29500
|
|
||||||
# deadzone_end: 64000
|
|
||||||
# inverted: true
|
|
||||||
# output:
|
|
||||||
# device: mouse
|
|
||||||
# axis: REL_WHEEL
|
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,9 @@ evtest | grep BTN_
|
||||||
|
|
||||||
### Axis Deadzones
|
### Axis Deadzones
|
||||||
|
|
||||||
For most axis inputs, you will want to define deadzones. There are three possible approaches:
|
**NOTE: For most axis mappings, you probably don't want to specify a deadzone!** Use deadzone configurations in your target game instead. Joyful-configured deadzones are intended to be used in conjunction with the `axis-to-button` and `axis-to-relaxis` input types, or when splitting an axis into multiple outputs. Using them with standard `axis` mappings may result in a loss of fidelity and "stuck" inputs.
|
||||||
|
|
||||||
|
There are three ways to specify deadzones:
|
||||||
|
|
||||||
* Define `deadzone_start` and `deadzone_end` to explicitly set the deadzone bounds.
|
* Define `deadzone_start` and `deadzone_end` to explicitly set the deadzone bounds.
|
||||||
* Define `deadzone_center` and `deadzone_size`; this will create a deadzone of the indicated size centered at the given axis position.
|
* Define `deadzone_center` and `deadzone_size`; this will create a deadzone of the indicated size centered at the given axis position.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue