[GLFW3] Gamepad detected but no input received
- Dominant language
- C++
- Stars
- 6.3k
- Forks
- 455
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 130
Description
In Defold 1.13.0 on Windows, a gamepad is connected as follows:
```
{
gamepad = 0,
userid = 0,
gamepad_unknown = false,
gamepad_name = "Wireless Gamepad",
gamepad_guid = "030000007e0500000920000000000000",
gamepad_guid_info = { --[[000001E685F0A580]]
vendor = 1406,
version = 0,
bus = 3,
crc = 0,
product = 8201
},
text = "Wireless Gamepad"
}
```
The mapping exists:
```
driver
{
device: "Wireless Gamepad" # Nintendo Switch Pro Controller
platform: "windows"
dead_zone: 0.200
# (actual mappings redacted)
}
```
However no input actions are received in on_input. Per a comment from @JCash this is an issue with GLFW3 that has been fixed already for macOS. Request that this fix is also implemented for other operating systems as appropriate (Windows, Linux, consoles?)
Discord context: https://discord.com/channels/250018174974689280/250018634494115853/1513090028530569297
Contributor guide
Assessment
This issue has not been assessed yet.