Added Hori Fighting Commander 4 VID PID

This commit is contained in:
Christian Arlt 2021-09-06 19:40:14 +02:00
parent c53ce53058
commit a0646f20ba
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,9 @@ static inline bool is_sony_ds4(uint8_t dev_addr)
uint16_t vid, pid;
tuh_vid_pid_get(dev_addr, &vid, &pid);
return ( (vid == 0x054c && (pid == 0x09cc || pid == 0x05c4)) ); // Sony DualShock4
return ( (vid == 0x054c && (pid == 0x09cc || pid == 0x05c4)) // Sony DualShock4
|| (vid == 0x0f0d && pid == 0x005e) // Hori FC4
);
}
//--------------------------------------------------------------------+