mirror of
https://github.com/plausible/analytics.git
synced 2024-12-26 19:15:03 +03:00
6e8ccdd473
Closes #309
41 lines
769 B
YAML
41 lines
769 B
YAML
###############
|
|
# 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 One'
|
|
model: 'Xbox One'
|
|
- regex: 'Xbox'
|
|
model: 'Xbox 360'
|
|
|
|
Nintendo:
|
|
regex: 'Nintendo (([3]?DS[i]?)|Wii[U]?|Switch)'
|
|
device: 'console'
|
|
model: '$1'
|
|
|
|
OUYA:
|
|
regex: 'OUYA'
|
|
device: 'console'
|
|
model: 'OUYA'
|
|
|
|
Sega:
|
|
regex: 'Dreamcast'
|
|
device: 'console'
|
|
model: 'Dreamcast'
|
|
|
|
Sony:
|
|
regex: 'PlayStation (3|4 Pro|4|Portable|Vita)'
|
|
device: 'console'
|
|
model: 'PlayStation $1'
|