Skip to content

Commit

Permalink
controller: Start Cockpit without joystick forwarding
Browse files Browse the repository at this point in the history
Only enable it when a joystick is connected.
  • Loading branch information
rafaellehmkuhl committed May 23, 2024
1 parent b5a8a92 commit ebc6748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const useControllerStore = defineStore('controller', () => {
const cockpitStdMappings = useStorage(cockpitStdMappingsKey, availableGamepadToCockpitMaps)
const availableAxesActions = allAvailableAxes
const availableButtonActions = allAvailableButtons
const enableForwarding = ref(true)
const enableForwarding = ref(false)
const holdLastInputWhenWindowHidden = useStorage('cockpit-hold-last-joystick-input-when-window-hidden', false)
const vehicleTypeProtocolMappingCorrespondency = useStorage<typeof defaultProtocolMappingVehicleCorrespondency>(
'cockpit-default-vehicle-type-protocol-mappings',
Expand Down

0 comments on commit ebc6748

Please sign in to comment.