Skip to content

Commit

Permalink
joystick-protocol: Rename state variables on the store
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Dec 7, 2023
1 parent e509b04 commit 0bacabf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stores/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export const useControllerStore = defineStore('controller', () => {
const updateCallbacks = ref<controllerUpdateCallback[]>([])
const protocolMapping = useStorage('cockpit-protocol-mapping-v4', cockpitStandardToProtocols)
const cockpitStdMappings = useStorage('cockpit-standard-mappings', availableGamepadToCockpitMaps)
const availableProtocolAxesFunctions = allAvailableAxes
const availableProtocolButtonFunctions = allAvailableButtons
const availableAxesActions = allAvailableAxes
const availableButtonActions = allAvailableButtons
const enableForwarding = ref(true)

const registerControllerUpdateCallback = (callback: controllerUpdateCallback): void => {
Expand Down Expand Up @@ -133,8 +133,8 @@ export const useControllerStore = defineStore('controller', () => {
joysticks,
protocolMapping,
cockpitStdMappings,
availableProtocolAxesFunctions,
availableProtocolButtonFunctions,
availableAxesActions,
availableButtonActions,
downloadJoystickProfile,
loadJoystickProfile,
}
Expand Down

0 comments on commit 0bacabf

Please sign in to comment.