File "consoles.yml"

Full path: /var/www/html/cemeau/wp-content/plugins/wp-statistics/src/Dependencies/DeviceDetector/regexes/device/consoles.yml
File size: 1.66 KB
MIME-type: text/plain
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

###############
# 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'
  device: 'console'
  models:
    - regex: 'Retroid Pocket ([32]) ?(?:Plus|\+)'
      model: '$1 Plus'
    - regex: 'Retroid Pocket 4 Pro'
      model: '4 Pro'