Live data from Hacker News

Show HN: DualShock calibration in the browser using WebHID

blog.the.al

51–60 of 82 posts

Re: Show HN: DualShock calibration in the browser using WebHID

#51

So a malicious website can brick controllers. Good for author but I'm surprised its even possible.

You have to give it permissions to interface with the device, but also it sounds like a site wouldn't be able to so much "brick" it but rather miscalibrate it since it's not permanent. I assume it's just setting some offset values specific to the controller based on the stick's center point and whatnot. If a malicious site were to do that, you could just come back to this site and fix it.

Re: Show HN: DualShock calibration in the browser using WebHID

#52
post #51

So a malicious website can brick controllers. Good for author but I'm surprised its even possible.

You have to give it permissions to interface with the device, but also it sounds like a site wouldn't be able to so much "brick" it but rather miscalibrate it since it's not permanent. I assume it's just setting some offset values specific to the controller based on the stick's center point and whatnot. If a malicious site were to do that, you could just come back to this site and fix it.

Reading it more clearly the developer actually expresses concern about allowing the code to run on clones resulting in potentially bricking them due to not supporting the same operations. Perhaps its more accurately a possible deficiency in clone controllers that the developer supposes may be in danger.

Re: Show HN: DualShock calibration in the browser using WebHID

#54
post #50
post #36

Earlier quoted context omitted.

Your comment was completely unrelated to the Show HN - a place for people to discuss and receive feedback on their work. No side-choosing needed here other than that of the original author and the people who want to talk about the thing being showhn.

WebHID is related, especially because usually on every single post involving WebHID you’ll have people bringing up how it’s not a real standard. That also segues into something I’ve mentioned before: moderation needs to be consistent. Randomly picking when to pull the trigger and when not is a bunch of crap.

WebHID is related

Everything is related to everything somehow. You can't start dumb flamewars on HN and it's especially bad form to start them in people's Show HN, that's all.

Re: Show HN: DualShock calibration in the browser using WebHID

#55
Chrome is doing amazing work with these WebAPIs. Here's a quick list of things enabled by Chrome being open-minded and allowing WebHID and WebUSB APIs to exist:

- Turn your Stadia controllers into bluetooth controllers: https://stadia.google.com/controller/index_en_GB.html

- Android Flash Tool: https://flash.android.com/welcome

- fastboot.js - FastBoot API but entirely though the web: https://kdrag0n.github.io/fastboot.js/demo/

- WebADB - Android debugging interface through the web: https://app.webadb.com/

and here's my favorite (because I used it in my RX-8)

- Node-Carplay - Carplay interface through a USB dongle in your browser with no external dependencies!!1! (https://github.com/rhysmorgan134/node-CarPlay)

Re: Show HN: DualShock calibration in the browser using WebHID

#56
post #54
post #50

Earlier quoted context omitted.

WebHID is related, especially because usually on every single post involving WebHID you’ll have people bringing up how it’s not a real standard. That also segues into something I’ve mentioned before: moderation needs to be consistent. Randomly picking when to pull the trigger and when not is a bunch of crap.

WebHID is related Everything is related to everything somehow. You can't start dumb flamewars on HN and it's especially bad form to start them in people's Show HN, that's all.

Can you point me to said flamewar?

Re: Show HN: DualShock calibration in the browser using WebHID

#57
post #56
post #54

Earlier quoted context omitted.

WebHID is related Everything is related to everything somehow. You can't start dumb flamewars on HN and it's especially bad form to start them in people's Show HN, that's all.

Can you point me to said flamewar?

Sure. The flamewar is this thread. And it starts with things like "you’ll see Firefox diehards froth at the mouth" which is not an invitation to curious conversation (the aspirational goal of the site) but a call for other flamewarriors to come out and play. You can't talk to people or really about most people like that on HN, which I'm sure you've seen in the guidelines. Same goes for the grumpsneer edit you tacked on after getting downvoted and flagged.

Re: Show HN: DualShock calibration in the browser using WebHID

#58

Chrome is doing amazing work with these WebAPIs. Here's a quick list of things enabled by Chrome being open-minded and allowing WebHID and WebUSB APIs to exist: - Turn your Stadia controllers into bluetooth controllers: https://stadia.google.com/controller/index_en_GB.html - Android Flash Tool: https://flash.android.com/welcome - fastboot.js - FastBoot API but entirely though the web: https://kdrag0n.github.io/fastbo…

[deleted]

Re: Show HN: DualShock calibration in the browser using WebHID

#59

Chrome is doing amazing work with these WebAPIs. Here's a quick list of things enabled by Chrome being open-minded and allowing WebHID and WebUSB APIs to exist: - Turn your Stadia controllers into bluetooth controllers: https://stadia.google.com/controller/index_en_GB.html - Android Flash Tool: https://flash.android.com/welcome - fastboot.js - FastBoot API but entirely though the web: https://kdrag0n.github.io/fastbo…

Add to that list QMK VIA, which allows reprogramming a keyboard running the QMK firmware from the browser!

https://www.caniusevia.com/

Re: Show HN: DualShock calibration in the browser using WebHID

#60
JFC, is there any host functionality that Chrome will not try and implement in the browser. No wonder it is so bloated and leaks your fingerprint in a million different ways.

Apple says they will not implement WebHID and 15 other "features" in WebKit...

>Here are some examples of features we have decided to not yet implement due to fingerprinting, security, and other concerns, and where we do not yet see a path to resolving those concerns:

    Web Bluetooth
    Web MIDI API
    Magnetometer API
    Web NFC API
    Device Memory API
    Network Information API
    Battery Status API
    Web Bluetooth Scanning
    Ambient Light Sensor
    HDCP Policy Check extension for EME
    Proximity Sensor
    WebHID
    Serial API
    Web USB
    Geolocation Sensor (background geolocation)
    User Idle Detection
Post reply on HN