File: consoles.yml

package info (click to toggle)
ruby-device-detector 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,820 kB
  • sloc: ruby: 3,650; makefile: 5
file content (74 lines) | stat: -rw-r--r-- 1,595 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
###############
# Device Detector - The Universal Device Detection library for parsing User Agents
#
# @link https://matomo.org
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
###############

Archos:
  regex: 'Archos.*GAMEPAD([2]?)'
  device: 'console'
  model: 'Gamepad $1'

Microsoft:
  regex: 'Xbox'
  device: 'console'
  models:
    - regex: 'Xbox Series X'
      model: 'Xbox Series X'
    - regex: 'Xbox One X'
      model: 'Xbox One X'
    - regex: 'Xbox One'
      model: 'Xbox One'
    - regex: 'XBOX_ONE_ED'
      model: 'Xbox One S'
    - regex: 'Xbox'
      model: 'Xbox 360'

Nintendo:
  regex: 'Nintendo (([3]?DS[i]?)|Wii[U]?|Switch|GameBoy)'
  device: 'console'
  model: '$1'

OUYA:
  regex: 'OUYA'
  device: 'console'
  model: 'OUYA'

Sanyo:
  regex: 'Aplix_SANYO'
  device: 'console'
  model: '3DO TRY'

Sega:
  regex: 'Dreamcast|Aplix_SEGASATURN'
  device: 'console'
  models:
    - regex: 'Dreamcast'
      model: 'Dreamcast'
    - regex: 'Aplix_SEGASATURN'
      model: 'Saturn'

JXD:
  regex: 'JXD_S601WIFI'
  device: 'console'
  model: 'S601 WiFi'

Sony:
  regex: '(?:PlayStation ?(4 Pro|[2-5]|Portable|Vita)|sony_tv;ps5;|\(PS3\))'
  device: 'console'
  models:
    - regex: 'sony_tv;ps5;'
      model: 'PlayStation 5'
    - regex: 'PlayStation 4 PRO'
      model: 'PlayStation 4 Pro'
    - regex: '\(PS3\)'
      model: 'PlayStation 3'
    - regex: 'PlayStation ?(4 Pro|[2-5]|Portable|Vita)'
      model: 'PlayStation $1'

# Retroid Pocket (www.goretroid.com)
Retroid Pocket:
  regex: 'Retroid Pocket 2(?:Plus|\+)'
  device: 'console'
  model: '2 Plus'