mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-11 09:40:06 +00:00
Added Sony DualShock4 CUH-ZCT1E pid
This commit is contained in:
parent
831a45f14b
commit
c53ce53058
@ -111,7 +111,7 @@ 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);
|
||||
return ( (vid == 0x054c && (pid == 0x09cc || pid == 0x05c4)) ); // Sony DualShock4
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
Loading…
x
Reference in New Issue
Block a user