input: don't open motion sensor device of dualshock/dualsense.
This commit is contained in:
@@ -3662,6 +3662,14 @@ int input_test(int getchar)
|
||||
|
||||
if (input[n].vid == 0x054c)
|
||||
{
|
||||
if (strcasestr(input[n].name, "Motion"))
|
||||
{
|
||||
// don't use Accelerometer
|
||||
close(pool[n].fd);
|
||||
pool[n].fd = -1;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (input[n].pid == 0x0268) input[n].quirk = QUIRK_DS3;
|
||||
else if (input[n].pid == 0x05c4 || input[n].pid == 0x09cc || input[n].pid == 0x0ba0 || input[n].pid == 0x0ce6)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user