Skip to content

Commit

Permalink
Pass actual joystick model to SVG component
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Nov 14, 2023
1 parent efeff6a commit 5707918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/ConfigurationJoystickView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<div class="flex items-center justify-center w-full">
<JoystickPS
class="w-[70%]"
model="PS4"
:model="joystick.model"
:left-axis-horiz="joystick.state.axes[0]"
:left-axis-vert="joystick.state.axes[1]"
:right-axis-horiz="joystick.state.axes[2]"
Expand Down Expand Up @@ -107,7 +107,7 @@
<v-card-text class="flex justify-between align-center">
<JoystickPS
class="w-[50%] p-6"
model="PS4"
:model="currentJoystick.model"
:left-axis-horiz="currentJoystick.state.axes[0]"
:left-axis-vert="currentJoystick.state.axes[1]"
:right-axis-horiz="currentJoystick.state.axes[2]"
Expand Down

0 comments on commit 5707918

Please sign in to comment.