Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
evdev: Testing shows: You *can* assign the same device to multiple po…
Browse files Browse the repository at this point in the history
…rts.
  • Loading branch information
baka0815 committed Aug 10, 2018
1 parent 90c0d42 commit e2d186f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/linux-dist/main.cpp
Expand Up @@ -127,14 +127,6 @@ void SetupInput()
}
else
{
for (i = 0; i < port; i++)
{
if (evdev_device_id[port] == evdev_device_id[i])
{
die("You can't assign the same device to multiple ports!\n");
}
}

size_needed = snprintf(NULL, 0, EVDEV_DEVICE_STRING, evdev_device_id[port]) + 1;
evdev_device = (char*)malloc(size_needed);
sprintf(evdev_device, EVDEV_DEVICE_STRING, evdev_device_id[port]);
Expand Down

0 comments on commit e2d186f

Please sign in to comment.