Add placeholder steering wheel option for VR driving

This commit is contained in:
iChris4 committed 2026-09-30 02:40:36 +02:00
1 parent ebc97ef9ce
commit 85fab2fa09
10 files changed
+101 -22

No files matched your search

@@ -182,6 +182,13 @@ class SettingsPage(
write = { c, index -> c.setString("vr", "first_person_seat", SEATS[index]) },
enabledIf = firstPerson,
)
// runtime_config.h's kVrPlaceholderSteeringWheelDefault is off.
toggle(
R.string.vr_placeholder_wheel, R.string.vr_placeholder_wheel_helper,
read = { it.bool("vr", "placeholder_steering_wheel") ?: false },
write = { c, value -> c.setBool("vr", "placeholder_steering_wheel", value) },
enabledIf = cockpit,
)
// heurazy's grab-and-turn wheel: runtime_config.h's kVrHandSteeringDefault is on.
toggle(
R.string.vr_hand_steering, R.string.vr_hand_steering_helper,
@@ -533,6 +533,8 @@
<string name="vr_seat_helper">The cockpit puts you at the driver\'s eyes, life-size, with the steering wheel or handlebar turning within reach. Custom uses the head offsets from the in-headset settings.</string>
<string name="vr_seat_cockpit">Cockpit</string>
<string name="vr_seat_custom">Custom</string>
<string name="vr_placeholder_wheel">Placeholder wheel or handlebar</string>
<string name="vr_placeholder_wheel_helper">In the cockpit, draws a separate VR steering wheel (karts) or handlebar (bikes) whenever the vehicle\'s own is not the one turning, as in the race\'s opening pan. Off, you only see the vehicle\'s own.</string>
<string name="vr_hand_steering">Hand steering</string>
<string name="vr_hand_steering_helper">In the cockpit, squeeze a grip near the steering wheel or handlebar to grab it, and turn it to steer. Releasing both grips gives steering back to the stick. Hand steering by heurazy.</string>
<string name="vr_cockpit_item_hand">Item in cockpit hand</string>