Remix.run Logo
rafram 8 hours ago

On macOS, I think I've installed device drivers exactly once in the last decade, and they were for a weird printer.

lxgr 5 hours ago | parent | next [-]

macOS allows USB access without installing a driver, so that's probably why. The "driver" is just part of the app.

otterley 5 hours ago | parent [-]

That’s how most operating systems have worked for over two decades. Most OSes support USB devices that present themselves as HID, mass storage, audio, etc. without any dedicated drivers needed. It’s only specialized devices or functionality that tends to need additional drivers.

lxgr an hour ago | parent [-]

It's not even just USB classes that the OS provides a native driver for. I believe that on both iOS and macOS (not sure about newer Windows versions), you can essentially access USB as a byte streaming device.

If your app is the only one expected to communicate with a given device, you can then just directly embed the logic speaking that protocol in it. A driver is only needed if you want to provide a shared high-level abstraction to other applications as well.

kristofferR 8 hours ago | parent | prev [-]

Most device drivers nowadays aint necessary to solely get the device working, but to get it working well. All keyboards will work out of the box without any drivers/webusb-pages, but good luck configuring rapid triggers on your Wooting keyboard or a DPI-switching macro on your Logitech mouse without it.