Skip to content

Commit

Permalink
Update default joystick profile
Browse files Browse the repository at this point in the history
Add `GO_TO_PREVIOUS_VIEW` AND `GO_TO_NEXT_VIEW` to the default profile and change the button assigned to going full-screen.

Reorganize the other accordingly.
  • Loading branch information
rafaellehmkuhl committed Aug 1, 2023
1 parent d1ab318 commit b6043b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/assets/joystick-profiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export const cockpitStandardToProtocols: ProtocolControllerMapping = {
{ protocol: JoystickProtocol.MAVLink, value: 1 },
{ protocol: JoystickProtocol.MAVLink, value: 2 },
{ protocol: JoystickProtocol.MAVLink, value: 3 },
{ protocol: JoystickProtocol.CockpitAction, value: CockpitAction.GO_TO_PREVIOUS_VIEW },
{ protocol: JoystickProtocol.CockpitAction, value: CockpitAction.GO_TO_NEXT_VIEW },
{ protocol: JoystickProtocol.MAVLink, value: 9 },
{ protocol: JoystickProtocol.MAVLink, value: 10 },
{ protocol: JoystickProtocol.CockpitAction, value: CockpitAction.TOGGLE_FULL_SCREEN },
{ protocol: undefined, value: undefined },
{ protocol: JoystickProtocol.MAVLink, value: 4 },
{ protocol: JoystickProtocol.MAVLink, value: 6 },
{ protocol: JoystickProtocol.MAVLink, value: 7 },
Expand All @@ -31,7 +31,7 @@ export const cockpitStandardToProtocols: ProtocolControllerMapping = {
{ protocol: JoystickProtocol.MAVLink, value: 13 },
{ protocol: JoystickProtocol.MAVLink, value: 14 },
{ protocol: JoystickProtocol.MAVLink, value: 5 },
{ protocol: undefined, value: undefined },
{ protocol: JoystickProtocol.CockpitAction, value: CockpitAction.TOGGLE_FULL_SCREEN },
],
}

Expand Down

0 comments on commit b6043b2

Please sign in to comment.