Skip to content

Commit 4f21671

Browse files
committed
SDL joystick input for Android, iOS, visionOS, Web
This commit adds support for SDL joystick input for the rest of the platforms Godot Engine supports. Previously it was only available on desktop platforms (Windows, Linux and macOS). This commit also adds joystick vibration feature to the web platform.
1 parent a3b42d8 commit 4f21671

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+12030
-1505
lines changed

drivers/SCsub

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ if env["metal"]:
6161
SConscript("metal/SCsub")
6262

6363
# Input drivers
64-
if env["sdl"] and env["platform"] in ["linuxbsd", "macos", "windows"]:
65-
# TODO: Evaluate support for Android, iOS, and Web.
64+
if env["sdl"]:
6665
SConscript("sdl/SCsub")
6766

6867
# Core dependencies

drivers/apple/joypad_apple.h

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)