Update real-world example rules.

This commit is contained in:
Anna Rose Wiggins 2025-07-28 12:26:19 -04:00
parent 3b609bf37f
commit 1ec3f60f59
2 changed files with 14 additions and 36 deletions

View file

@ -66,27 +66,20 @@ rules:
# Vertical thrust is on the VPC "paddles" in the main flight mode # Vertical thrust is on the VPC "paddles" in the main flight mode
- type: axis - type: axis-combined
name: translation up name: translation vertical
modes: modes:
- main - main
input: input_lower:
device: right-stick
axis: ABS_THROTTLE
output:
device: primary
axis: ABS_THROTTLE
- type: axis
name: translation down
modes:
- main
input:
device: left-stick device: left-stick
axis: ABS_THROTTLE axis: Throttle
inverted: true
input_upper:
device: right-stick
axis: Throttle
output: output:
device: primary device: primary
axis: ABS_RUDDER axis: RZ
# By default, the left thumbstick controls tractor beam via mousewheel # By default, the left thumbstick controls tractor beam via mousewheel
- type: axis-to-relaxis - type: axis-to-relaxis
@ -125,30 +118,15 @@ rules:
# In Mining mode, we move vertical thrust to the left thumbstick # In Mining mode, we move vertical thrust to the left thumbstick
# and remap the right paddle to be mining laser power # and remap the right paddle to be mining laser power
- type: axis - type: axis
name: translation up alternate name: translation up/down alternate
modes: modes:
- mining - mining
input: input:
device: left-stick device: left-stick
axis: RY axis: RY
deadzone_start: 29250
deadzone_end: 64000
output: output:
device: primary device: primary
axis: ABS_THROTTLE axis: RZ
- type: axis
name: translation down alternate
modes:
- mining
input:
device: left-stick
axis: RY
deadzone_start: 0
deadzone_end: 30500
output:
device: primary
axis: ABS_RUDDER
- type: axis - type: axis
name: mining laser name: mining laser
@ -156,7 +134,7 @@ rules:
- mining - mining
input: input:
device: right-stick device: right-stick
axis: ABS_THROTTLE axis: Throttle
output: output:
device: primary device: primary
axis: RZ axis: Throttle

View file

@ -6,7 +6,7 @@ devices:
- name: secondary - name: secondary
type: virtual type: virtual
num_buttons: 74 num_buttons: 74
num_axes: 2 num_axes: 3
- name: mouse - name: mouse
type: virtual type: virtual
num_buttons: 0 num_buttons: 0