Skip to content

Commit

Permalink
Fix joystick axis input configuration not appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Nov 29, 2023
1 parent 02502ec commit b2c60e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/joysticks/JoystickPS.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const findInputFromPath = (path: string): JoystickInput[] => {
Object.entries(buttonPath).filter(([, v]) => v === path).forEach((button) => {
inputs.push({ type: InputType.Button, value: button[0] as unknown as JoystickButton })
})
Object.entries(axisPath).filter(([, v]) => v === path).forEach((axis) => {
Object.entries(axisPath.value).filter(([, v]) => v === path).forEach((axis) => {
inputs.push({ type: InputType.Axis, value: axis[0] as unknown as JoystickAxis })
})
return inputs
Expand Down

0 comments on commit b2c60e1

Please sign in to comment.