From 0bacabf86d1a86938d24e7d7685cec9c1a2f8e10 Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Wed, 6 Dec 2023 21:44:38 -0300 Subject: [PATCH] joystick-protocol: Rename state variables on the store --- src/stores/controller.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stores/controller.ts b/src/stores/controller.ts index bed73ce8a..ef927222a 100644 --- a/src/stores/controller.ts +++ b/src/stores/controller.ts @@ -29,8 +29,8 @@ export const useControllerStore = defineStore('controller', () => { const updateCallbacks = ref([]) 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 => { @@ -133,8 +133,8 @@ export const useControllerStore = defineStore('controller', () => { joysticks, protocolMapping, cockpitStdMappings, - availableProtocolAxesFunctions, - availableProtocolButtonFunctions, + availableAxesActions, + availableButtonActions, downloadJoystickProfile, loadJoystickProfile, }