I'm trying to detect if a device has an external mouse using javascript. matchMedia('(any-pointer:fine)').matches
works on other touchscreen devices with external mouse attached (e.g. laptop with touch + mouse support), but on MS Surface Pro it doesn't work. Has anyone else run into this or know a way that works for MS Surface Pro?