Skip to content

Commit

Permalink
Joystick: remove trace and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala authored Dec 1, 2023
1 parent 8d210b8 commit 8f0d1a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lime/ui/Joystick.hx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class Joystick
}
catch (err:Dynamic)
{
trace("Gamepad access issue");
// if something went wrong, treat it the same as when navigator.getGamepads doesn't exist
// we probably don't have permission to use this feature
}

return res;
Expand Down

0 comments on commit 8f0d1a4

Please sign in to comment.