JS обнаружил поддержку мыши
if (matchMedia('(pointer:fine)').matches) {
// Device has a mouse
}
Homeless Hoopoe
if (matchMedia('(pointer:fine)').matches) {
// Device has a mouse
}