This switch is unnecessary. Just do an if windows check, then handle OSX and Linux together in the else.
It is unnecessary to handle OSX as a special case - the listing code does work, it just returns less devices than we would like.