InternetCitizen2@lemmy.world to Lemmy Shitpost@lemmy.worldEnglish · 5 days agoJavascript/Linux is what I call itlemmy.worldimagemessage-square18fedilinkarrow-up1351arrow-down14
arrow-up1347arrow-down1imageJavascript/Linux is what I call itlemmy.worldInternetCitizen2@lemmy.world to Lemmy Shitpost@lemmy.worldEnglish · 5 days agomessage-square18fedilink
minus-squareweker01linkfedilinkarrow-up4·4 days agoThere are drivers for USB products written in JavaScript. Like the calibration tool for the PS5 controller and iirc a driver for a mini disk player
minus-squareboonhet@lemm.eelinkfedilinkarrow-up2·4 days agoIs that the driver or just the configuration interface in Javascript? I would suspect that the actual driver is written in C.
minus-squareweker01linkfedilinkarrow-up2·edit-24 days agoNope, the driver through the use of the web USB API and/or the WebHID api. Of course it depends on how you define driver but I think they have a very good claim to be drivers. https://developer.mozilla.org/en-US/docs/Web/API/WebHID_API https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API
There are drivers for USB products written in JavaScript. Like the calibration tool for the PS5 controller and iirc a driver for a mini disk player
Is that the driver or just the configuration interface in Javascript?
I would suspect that the actual driver is written in C.
Nope, the driver through the use of the web USB API and/or the WebHID api. Of course it depends on how you define driver but I think they have a very good claim to be drivers.
https://developer.mozilla.org/en-US/docs/Web/API/WebHID_API
https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API