Controller disconnect on vehicle steer #150

Closed
opened 2026-12-02 01:56:35 +00:00 by github-bot · 1 comment
Owner

@⁠haioken on GitHub · 2026-12-02 01:55 UTC · original

A/D steering in a vehicle brings up the controller-disconnected screen (steering ramp)

Summary

On my system, with native keyboard input, pressing A or D while driving shows the game's controller-disconnected screen within about 100–190 ms of the key press.
It happens on every steering press, every launch. W (accelerate) in the same vehicle, and A/D on foot, do not trigger it.

Setting VICTORY_STEER_RAMP_MS=0 makes it go away completely, so (according to LLM) the trigger is apparently the vehicle steering ramp in crates/victory-loader/src/keyboard_events.rs (SteerRamp).

Obviously turning the ramp off isn't an ideal workaround because the ramp is there to allow for gentle steering.

Environment

VIctory-xmem: <commit f7f0360>, default settings for input, keyboard and mouse only; no gamepad connected
Setttings:

CONSOLE=series-x
VICTORY_OUTPUT=3840x2160
VICTORY_FULLSCREEN=1
VICTORY_FULLSCREEN_RES=3840x2160
VICTORY_BVH_BUILDER=0
VICTORY_BVH_HARDWARE=0
VICTORY_PAGES=0
VICTORY_FSR_4K=quality
VICTORY_SKIP_BINK=0
VICTORY_STEER_RAMP_MS=1
MUTE=0

Steps to reproduce

  1. ./run.sh play
  2. Get into a car.
  3. Tap or hold A or D.

Expected: steering.
Actual: controller-disconnected screen. Releasing the key returns to game immediately, but pressing again brings it back, meaning user cannot steer.

Log evidence

Every A/D press in the car (actions 0x6e3c3649 = INPUT_VEH_CAR_TURN_RIGHT_ONLY, 0x07d1654c = INPUT_VEH_CAR_TURN_LEFT_ONLY, both left stick X 0x3010) is followed within 100–190 ms by menu=true, i.e. INPUT_MOVE_UP_ONLY going inactive as the disconnect screen opens. W (0x300c) never is:

00:29:34.676978Z gameinput: input device device=4 connected=true
00:29:34.676993Z gameinput: input device device=5 connected=true
00:31:55.221211Z keyboard_events: key sent as its active action's pad source key=0x44 action=0x6e3c3649 source=0x3010 chord=1 value=1.0
00:31:55.384895Z keyboard_events: input context changed menu=true map=false wheel=false veh=false
00:31:57.038320Z keyboard_events: input context changed menu=false map=false wheel=false veh=true
00:31:58.882607Z keyboard_events: key sent as its active action's pad source key=0x57 action=0xb9f544b0 source=0x300c chord=1 value=1.0
00:32:00.128860Z keyboard_events: key sent as its active action's pad source key=0x44 action=0x6e3c3649 source=0x3010 chord=1 value=1.0
00:32:00.250468Z keyboard_events: input context changed menu=true map=false wheel=false veh=false
00:32:01.303277Z keyboard_events: input context changed menu=false map=false wheel=false veh=true
00:32:03.048878Z keyboard_events: key sent as its active action's pad source key=0x41 action=0x07d1654c source=0x3010 chord=1 value=-1.0
00:32:03.169495Z keyboard_events: input context changed menu=true map=false wheel=false veh=false
00:32:06.614312Z keyboard_events: key sent as its active action's pad source key=0x57 action=0xb9f544b0 source=0x300c chord=1 value=1.0
00:32:06.816728Z keyboard_events: key sent as its active action's pad source key=0x44 action=0x6e3c3649 source=0x3010 chord=1 value=1.0
00:32:06.919286Z keyboard_events: input context changed menu=true map=false wheel=false veh=false

The stand-in controller is never removed on VIctory's side: the only input device lines are the two connected=true at startup, and there are no connected=false. So the game raises the screen itself.

The full log is attached (play-log-sanitized.log).

play-log-sanitized.log

**@⁠haioken** on GitHub · 2026-12-02 01:55 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/150) ## A/D steering in a vehicle brings up the controller-disconnected screen (steering ramp) ### Summary On my system, with native keyboard input, pressing **A** or **D** while driving shows the game's controller-disconnected screen within about 100–190 ms of the key press. It happens on every steering press, every launch. **W** (accelerate) in the same vehicle, and A/D on foot, do not trigger it. Setting `VICTORY_STEER_RAMP_MS=0` makes it go away completely, so (according to LLM) the trigger is apparently the vehicle steering ramp in `crates/victory-loader/src/keyboard_events.rs` (`SteerRamp`). Obviously turning the ramp off isn't an ideal workaround because the ramp is there to allow for gentle steering. ### Environment VIctory-xmem: `<commit f7f0360>`, default settings for input, keyboard and mouse only; no gamepad connected Setttings: ``` CONSOLE=series-x VICTORY_OUTPUT=3840x2160 VICTORY_FULLSCREEN=1 VICTORY_FULLSCREEN_RES=3840x2160 VICTORY_BVH_BUILDER=0 VICTORY_BVH_HARDWARE=0 VICTORY_PAGES=0 VICTORY_FSR_4K=quality VICTORY_SKIP_BINK=0 VICTORY_STEER_RAMP_MS=1 MUTE=0 ``` ### Steps to reproduce 1. `./run.sh play` 2. Get into a car. 3. Tap or hold **A** or **D**. **Expected:** steering. **Actual:** controller-disconnected screen. Releasing the key returns to game immediately, but pressing again brings it back, meaning user cannot steer. ### Log evidence Every A/D press in the car (actions `0x6e3c3649` = `INPUT_VEH_CAR_TURN_RIGHT_ONLY`, `0x07d1654c` = `INPUT_VEH_CAR_TURN_LEFT_ONLY`, both left stick X `0x3010`) is followed within 100–190 ms by `menu=true`, i.e. `INPUT_MOVE_UP_ONLY` going inactive as the disconnect screen opens. W (`0x300c`) never is: ``` 00:29:34.676978Z gameinput: input device device=4 connected=true 00:29:34.676993Z gameinput: input device device=5 connected=true 00:31:55.221211Z keyboard_events: key sent as its active action's pad source key=0x44 action=0x6e3c3649 source=0x3010 chord=1 value=1.0 00:31:55.384895Z keyboard_events: input context changed menu=true map=false wheel=false veh=false 00:31:57.038320Z keyboard_events: input context changed menu=false map=false wheel=false veh=true 00:31:58.882607Z keyboard_events: key sent as its active action's pad source key=0x57 action=0xb9f544b0 source=0x300c chord=1 value=1.0 00:32:00.128860Z keyboard_events: key sent as its active action's pad source key=0x44 action=0x6e3c3649 source=0x3010 chord=1 value=1.0 00:32:00.250468Z keyboard_events: input context changed menu=true map=false wheel=false veh=false 00:32:01.303277Z keyboard_events: input context changed menu=false map=false wheel=false veh=true 00:32:03.048878Z keyboard_events: key sent as its active action's pad source key=0x41 action=0x07d1654c source=0x3010 chord=1 value=-1.0 00:32:03.169495Z keyboard_events: input context changed menu=true map=false wheel=false veh=false 00:32:06.614312Z keyboard_events: key sent as its active action's pad source key=0x57 action=0xb9f544b0 source=0x300c chord=1 value=1.0 00:32:06.816728Z keyboard_events: key sent as its active action's pad source key=0x44 action=0x6e3c3649 source=0x3010 chord=1 value=1.0 00:32:06.919286Z keyboard_events: input context changed menu=true map=false wheel=false veh=false ``` The stand-in controller is never removed on VIctory's side: the only `input device` lines are the two `connected=true` at startup, and there are no `connected=false`. So the game raises the screen itself. The full log is attached (`play-log-sanitized.log`). [play-log-sanitized.log](https://github.com/user-attachments/files/35716492/play-log-sanitized.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 01:56:35 +00:00
Author
Owner

@⁠goldfishdev on GitHub · 2026-12-02 22:53 UTC · original

fixed by #254

**@⁠goldfishdev** on GitHub · 2026-12-02 22:53 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/150#issuecomment-7361303844) fixed by #254
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#150
No description provided.