mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 04:31:19 +00:00
remove test for standard mapping in controller detection (#13528)
This commit is contained in:
parent
2c289a6212
commit
6ae1270e5c
@ -30,16 +30,8 @@
|
||||
static EM_BOOL rwebpad_gamepad_cb(int event_type,
|
||||
const EmscriptenGamepadEvent *gamepad_event, void *user_data)
|
||||
{
|
||||
unsigned vid = 0;
|
||||
unsigned pid = 0;
|
||||
|
||||
if (strncmp(gamepad_event->mapping, "standard",
|
||||
sizeof(gamepad_event->mapping)) == 0)
|
||||
{
|
||||
/* give a dummy vid/pid for automapping */
|
||||
vid = 1;
|
||||
pid = 1;
|
||||
}
|
||||
unsigned vid = 1;
|
||||
unsigned pid = 1;
|
||||
|
||||
switch (event_type)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user