summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller/src/hid_app.c
diff options
context:
space:
mode:
authorDavid Shadoff <[email protected]>2021-09-07 21:13:34 -0400
committerDavid Shadoff <[email protected]>2021-09-07 21:13:34 -0400
commit185bb21bdd1177b14415751fd0b626d0f9c79e15 (patch)
tree20c178dc15e3d929eab0551d720f98fb98cc74ad /examples/host/hid_controller/src/hid_app.c
parent582e5dbac53aa2ac7c24249712081833986b3f27 (diff)
Add PS4-compatible controllers
Diffstat (limited to 'examples/host/hid_controller/src/hid_app.c')
-rw-r--r--examples/host/hid_controller/src/hid_app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/host/hid_controller/src/hid_app.c b/examples/host/hid_controller/src/hid_app.c
index d88c74ac4..bbfea8182 100644
--- a/examples/host/hid_controller/src/hid_app.c
+++ b/examples/host/hid_controller/src/hid_app.c
@@ -113,6 +113,7 @@ static inline bool is_sony_ds4(uint8_t dev_addr)
return ( (vid == 0x054c && (pid == 0x09cc || pid == 0x05c4)) // Sony DualShock4
|| (vid == 0x0f0d && pid == 0x005e) // Hori FC4
+ || (vid == 0x0f0d && pid == 0x00ee) // Hori PS4 Mini (PS4-099U)
|| (vid == 0x1f4f && pid == 0x1002) // ASW GG xrd controller
);
}