mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-15 02:37:52 +00:00
Don't modify the driver signature on the web
This commit is contained in:
parent
65433383a6
commit
95dafa2bcd
1 changed files with 0 additions and 4 deletions
|
|
@ -182,10 +182,6 @@ static EM_BOOL Emscripten_JoyStickConnected(int eventType, const EmscriptenGamep
|
|||
item->guid.data[15] = os_id;
|
||||
}
|
||||
|
||||
if (is_xinput) {
|
||||
item->guid.data[14] = 'x'; // See SDL_IsJoystickXInput
|
||||
}
|
||||
|
||||
item->mapping = SDL_strdup(gamepadEvent->mapping);
|
||||
if (!item->mapping) {
|
||||
SDL_free(item->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue