mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-20 15:27:18 +00:00
Only grab event devices
This commit is contained in:
1 parent
a8fd49a234
commit
5836b3292b
1 file changed
+5
@@ -260,6 +260,11 @@ static int enumerateDevices(void) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strstr(dirEnt->d_name, "event") == NULL) {
|
||||
// Skip non-event devices
|
||||
continue;
|
||||
}
|
||||
|
||||
startPollForDevice(dirEnt->d_name);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user