Add new device vendor: Valve - https://www.valvesoftware.com

This commit is contained in:
Faisal Salman
2025-11-13 11:54:30 +07:00
parent 1d8eab09f1
commit 6f35728377
3 changed files with 13 additions and 0 deletions

View File

@@ -290,6 +290,7 @@ const DeviceVendor = Object.freeze({
TECNO: 'TECNO',
TESLA: 'Tesla',
ULEFONE: 'Ulefone',
VALVE: 'Valve',
VIVO: 'Vivo',
VIZIO: 'Vizio',
VODAFONE: 'Vodafone',

View File

@@ -853,6 +853,7 @@
/(ouya)/i, // Ouya
/(nintendo) (\w+)/i, // Nintendo
/(retroid) (pocket ([^\)]+))/i, // Retroid Pocket
/(valve).+(steam deck)/i,
/droid.+; ((shield|rgcube|gr0006))( bui|\))/i // Nvidia Portable/Anbernic/Logitech
], [[VENDOR, strMapper, { 'Nvidia': 'Shield', 'Anbernic': 'RGCUBE', 'Logitech': 'GR0006' }], MODEL, [TYPE, CONSOLE]], [

View File

@@ -0,0 +1,11 @@
[
{
"desc": "Valve",
"ua": "Mozilla/5.0 (X11; Linux x86_64; Valve Steam Client/Steam Deck [Steam Deck Beta]/default/0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.183 Safari/537.36",
"expect": {
"vendor": "Valve",
"model": "Steam Deck",
"type": "console"
}
}
]