Add gamepad support to the desktop build
Co-Authored-By: deepseek-v4.1-flash (opencode-go) via CodeCraft
This commit is contained in:
1 parent
8d51d6ec6a
commit
e44aab6f5c
7 files changed
+260
-31
No files matched your search
+2
-1
@@ -26,7 +26,8 @@ inherits = "release"
|
||||
lto = "thin"
|
||||
codegen-units = 16
|
||||
|
||||
# desktop builds: system file dialog (xdg portal on Linux) and sound output
|
||||
# desktop builds: system file dialog (xdg portal on Linux), sound output and gamepads
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
rfd = { version = "0.17", default-features = false, features = ["xdg-portal"] }
|
||||
cpal = "0.18"
|
||||
gilrs = "0.11"
|
||||
Reference in new issue
Block a user