chore(hhd): add OneXPlayer, Ayaneo, and GPD to hhd supported devices (#1743)

This commit is contained in:
Antheas Kapenekakis 2024-10-14 18:30:05 +02:00 committed by GitHub
parent 85a1e0d275
commit 2fd51ca53e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,10 @@
#!/usr/bin/bash
# Returns true for hardware that is supported by HHD
VEN_ID="$(cat /sys/devices/virtual/dmi/id/sys_vendor)"
if [[ ":ONE-NETBOOK:GPD:AYANEO:" =~ ":$VEN_ID:" ]]; then
exit 0
fi
SYS_ID="$(/usr/libexec/hwsupport/sysid)"
if [[ ":ROG Ally RC71L:ROG Ally X RC72LA:83E1:G1618-04:G1617-01:G1619-05:AIR Plus:AIR 1S:AIR 1S Limited:AIR:AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:AOKZOE A1 Pro:G1619-04:Win600:Loki Max:Loki Zero:Loki MiniPro:V3:ONEXPLAYER F1:ONEXPLAYER F1L:ONEXPLAYER F1 EVA-01:" =~ ":$SYS_ID:" ]]; then
exit 0