Live data from Hacker News

Show HN: DualShock calibration in the browser using WebHID

blog.the.al

31–40 of 82 posts

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

#31
post #30

> It is available only for Google Chrome, Chromium or compatiable browsers (e.g. Edge) because it uses WebHID, a javascript extension that can be used to send commands to a HID device. I didn’t know about WebHID, but it’s interesting Firefox doesn’t support it. According to Mozilla’s position[0]: > This API, like WebUSB, provides access to generic devices. Though this API is limited to human interface devices (HID),…

[deleted]

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

#32

Really nicely done! Can recalibration help when the controller is connected to a Playstation? Does it store the calibration somehow in the controller? Or is this only useful on a PC? I'd love to somehow restore my PS5 DualSense that's fallen victim to stick drift. I looked once in Steam's debug info and instead of the stick reading 0 at center it was reading about 20,000. Given the max is 32,767 I've lost 2/3 of the…

i fixed a busted analog stick by opening it up and cleaning the sensor thanks to some youtube video.

That works quite well, but I had to repeat it a few months later. I recommend cleaning also the other stick as the plastic in the DS4 casing can break from opening it too often.

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

#34
post #18
post #17

Earlier quoted context omitted.

I am acquainted with the process. Did you just miss entire premise of the article, how WebHID made the lives of a bunch of working people much better? Would you rather make these people have a much more difficult time now so Firefox diehard can have a “proper” WebHID in 5 years..?

There's nothing "die hard" about wanting to create a proper standard (and being aware of the trade offs) instead of just implementing whatever Google deigns worthy of throwing up. Now Firefox cannot even implement the "proper HID" because Google has already shipped their version

I mean, its a pretty binary choice. You'd rather have these repairmen (who are laymen at tech) suffer a really crappy workflow just to have a more "pure" solution in an ephemeral point in the future.

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

#35
post #33
post #8

[flagged]

" Eschew flamebait. Avoid generic tangents. " We detached this subthread from https://news.ycombinator.com/item?id=39980210 .

Would be nice to see the same sort of aggressive policing in Brave posts, that are constantly rife with attacks and misinformation.

Aside from that, in this case its pretty obvious you're letting yourself be used as a suppression vehicle by FOSS crazies ramming the flag button. Would have been nice to see a more neutral action being taken instead of choosing a side.

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

#36
post #35
post #33

Earlier quoted context omitted.

" Eschew flamebait. Avoid generic tangents. " We detached this subthread from https://news.ycombinator.com/item?id=39980210 .

Would be nice to see the same sort of aggressive policing in Brave posts, that are constantly rife with attacks and misinformation. Aside from that, in this case its pretty obvious you're letting yourself be used as a suppression vehicle by FOSS crazies ramming the flag button. Would have been nice to see a more neutral action being taken instead of choosing a side.

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.

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

#37
post #30

> It is available only for Google Chrome, Chromium or compatiable browsers (e.g. Edge) because it uses WebHID, a javascript extension that can be used to send commands to a HID device. I didn’t know about WebHID, but it’s interesting Firefox doesn’t support it. According to Mozilla’s position[0]: > This API, like WebUSB, provides access to generic devices. Though this API is limited to human interface devices (HID),…

What is the chrome team's threat model for this? Why are they ok with it?

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

#40
post #30

> It is available only for Google Chrome, Chromium or compatiable browsers (e.g. Edge) because it uses WebHID, a javascript extension that can be used to send commands to a HID device. I didn’t know about WebHID, but it’s interesting Firefox doesn’t support it. According to Mozilla’s position[0]: > This API, like WebUSB, provides access to generic devices. Though this API is limited to human interface devices (HID),…

What is the chrome team's threat model for this? Why are they ok with it?

Probably because it's listening to two general purpose input devices all the time at the very least? If you're that paranoid you probably shouldn't be using a non air-gapped machine in the first place.
Post reply on HN