Add new vendor: Retroid

This commit is contained in:
Faisal Salman 2025-06-19 16:14:09 +07:00
parent f300478bdc
commit f9836f1981
4 changed files with 19 additions and 5 deletions

View File

@ -244,6 +244,7 @@ export const Vendor: Readonly<{
PICO: "Pico";
POLYTRON: "Polytron";
REALME: "Realme";
RETROID: "Retroid";
RIM: "RIM";
ROKU: "Roku";
SAMSUNG: "Samsung";

View File

@ -255,6 +255,7 @@ const Vendor = Object.freeze({
PICO: 'Pico',
POLYTRON: 'Polytron',
REALME: 'Realme',
RETROID: 'Retroid',
RIM: 'RIM',
ROKU: 'Roku',
SAMSUNG: 'Samsung',

View File

@ -842,15 +842,16 @@
// CONSOLES
///////////////////
/(ouya)/i, // Ouya
/(nintendo) (\w+)/i // Nintendo
], [VENDOR, MODEL, [TYPE, CONSOLE]], [
/droid.+; (shield)( bui|\))/i // Nvidia Portable
], [MODEL, [VENDOR, NVIDIA], [TYPE, CONSOLE]], [
/(playstation \w+)/i // Playstation
], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [
/\b(xbox(?: one)?(?!; xbox))[\); ]/i // Microsoft Xbox
], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [
/(ouya)/i, // Ouya
/(nintendo) (\w+)/i, // Nintendo
/(retroid) (pocket ([^\)]+))/i // Retroid Pocket
], [VENDOR, MODEL, [TYPE, CONSOLE]], [
/droid.+; (shield)( bui|\))/i // Nvidia Portable
], [MODEL, [VENDOR, NVIDIA], [TYPE, CONSOLE]], [
///////////////////
// WEARABLES

View File

@ -0,0 +1,11 @@
[
{
"desc": "Retroid Pocket 4 Pro",
"ua": "Mozilla/5.0 (Linux; arm_64; Android 13; Retroid Pocket 4 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.96 YaBrowser/24.4.3.96.00 SA/3 Mobile Safari/537.36",
"expect": {
"vendor": "Retroid",
"model": "Pocket 4 Pro",
"type": "console"
}
}
]