diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2025-03-12 18:32:51 +0100 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2025-03-12 18:32:51 +0100 |
| commit | d349c96071359c7e13f3b881cd6daa8f8ef0c827 (patch) | |
| tree | f64b10e91ca2f796e4487e466f14d4e9ecd791bb /src/llvm_backend.cpp | |
| parent | d3b1aaad18e7a1445992aea76dfb6fa00e5a9d80 (diff) | |
core/sys/wasm/js: improve gamepad API
1. Properly set `id` and `mapping` on the `get_gamepad_state` result
2. Increase `id` limit to 96 bytes, connecting my DualShock 4 made it crash
3. If an `id` or `mapping` is longer than the limits, slice it and add `...`
Diffstat (limited to 'src/llvm_backend.cpp')
0 files changed, 0 insertions, 0 deletions