How it started, how it is going ...
Not showing the metric ton of notes, USB HID documentation, WebHID API snippets, forum posts links, Arduino library hacks on top of others' detailed previous hacks. 😖
So far I can show up as a "Phone" but the mute button doesn't work.
In the same time being a "Consumer Device" and increasing/decreasing screen brightness works spendidly :P
@danjenkins @steely_glint The article I wrote about the Stadia Controller is about the #WebHID feature: https://developer.chrome.com/blog/talking-to-the-stadia-controller-with-webhid/.
"This document proposes to enable browsers to render web pages that are served not as HTML files, but as Wasm files, skipping the need for #HTML, #JS, and #CSS parsing in the rendering of the page, by having the #WebGPU, #ARIA, and #WebHID APIs exposed directly to #Wasm. To enable developers to continue to use the wider range of APIs exposed on the web, a mechanism to "escape" to a JavaScript environment would need to be made available as well."
#html #js #css #webgpu #aria #WebHID #wasm
"Towards a Modern Web Stack"
This is interesting.
Ian "Hixie" Hickson editor of #WhatWG HTML specification for 10 years, in January 2023 criticises the use of #HTML, #CSS, #Javascript for intricate #Web applications, and proposes an alternate approach based on 4 lower-level #OpenStandards:
1. #WebAssembly
2. #WebGPU
4. #WebHID
Gets criticised for it and defends his proposal on HN: https://news.ycombinator.com/item?id=34612696
(Correct link to the Google Doc is in bottom comment by Hixie)
#whatwg #html #css #javascript #web #openstandards #webassembly #webgpu #aria #a11y #WebHID
@simevidas Hmm, that's weird. Difficult to debug from a distance, too. Maybe try it with the #WebHID Explorer tool and see if there are differences: https://nondebug.github.io/webhid-explorer/.
@simevidas The current Gamepad API is poll-based, yes. But for Joy-Cons, you can also access them via #WebHID and listen for events: https://github.com/tomayac/joy-con-webhid.
Talking to the Stadia controller 🎮 with WebHID:
https://developer.chrome.com/blog/talking-to-the-stadia-controller-with-webhid/
After flashing my Stadia controller, I played with the #WebHID API to see what the controller could do and wrote up my findings. It turned into a general hacking 🧑💻 guide for HID devices.
Wow, someone has taken my Joy-Con #WebHID code (https://github.com/tomayac/joy-con-webhid) and used it for making music: https://youtu.be/tMTnkjwSFNM 🎶. Sometimes I love the Internet.
RT @taisukef@twitter.com
Kids enjoyed a game with Ring-Con in Programming-Fes 2022 in Katsuyama city.
IchigoJam web supports Ring-Con featuring joy-con-webhid.
Thank you @tomayac@twitter.com ! #WebHID
https://www.youtube.com/watch?v=cmzSd88jUxo
🛟 @taisukef@twitter.com keeps being on fire 🔥: you can now talk to your Ring-Con controller using Joy-Con #WebHID: https://github.com/tomayac/joy-con-webhid. See the quoted tweet for details.
RT @taisukef@twitter.com
リングフィットアドベンチャーをサボりがちな人へ、ブラウザにつないで運動しましょう! Ring-Con on web #WebHID
https://fukuno.jig.jp/3710
📢 Just released Joy-Con #WebHID v0.3.1, which includes HVC controller support (ファミリーコンピュータ コントローラー, https://www.nintendo.co.jp/hardware/switch/onlineservice/specialoffer/fc_controller/index.html), kindly added to the library by @taisukef@twitter.com (see quoted tweet ⤵️).
💻 Library: https://github.com/tomayac/joy-con-webhid
🎮 Demo: https://tomayac.github.io/joy-con-webhid/demo/
RT @taisukef@twitter.com
Let's connect HVC Controller via #WebHID
Demo available, src on GitHub
https://fukuno.jig.jp/3709 #HVCController
Google Meet call control for USB peripheral devices, so you can access features like a headset’s mute setting via the Meet Web app, powered by the #WebHID API: https://workspaceupdates.googleblog.com/2022/08/google-meet-call-control-usb-peripheral-devices.html. Project Fugu 🐡 at work: https://web.dev/hid/.
WebHID API: Control Everything via USB, by @dark_mefody@twitter.com. Great slide deck on doing things with #WebHID: https://mefody.github.io/talks/webhid/. 🔌
#TIL that Nintendo Joy Con controllers are natively supported on iOS 16, which is currently in beta: https://appleinsider.com/inside/ios-16/tips/how-to-use-nintendo-joy-cons-with-iphone-ipad-apple-tv. Friendly reminder that, thanks to the #WebHID API (https://web.dev/hid/), you can use them in Chromium-based browsers, too: https://blog.tomayac.com/2020/12/21/releasing-joy-con-webhid/. 🎮
RT @Vincent_Scheib@twitter.com
#Hiring a tech lead & manager role on Chrome Web Platform in Mountain View, California. Focus on device APIs (#WebBluetooth, Gamepad, Geolocation, #WebHID, #WebNFC, #WebSerialAPI, #WebUSB). Help project fugu 🐡 make the web more capable. https://careers.google.com/jobs/results/84223018462520006-engineering-manager-chrome-web-platform-device-capabilities/?src=Online%2FSocial%2FGoogler_share&utm_campaign=Googler_share&utm_medium=Social&utm_source=online
🐦🔗: https://twitter.com/Vincent_Scheib/status/1443962010274701312
#webusb #WebSerialAPI #WebNFC #WebHID #webbluetooth #hiring
RT @tomayac@twitter.com
@KevinPicchi@twitter.com @SKGbopp@twitter.com Check out @mrdoob@twitter.com's demo https://mrdoob-sandbox.glitch.me/webhid-sandbox.html that is built on top of Joy-Con #WebHID. It's buttery-smooth!
RT @denladeside@twitter.com
#WebHID is fun and easy and can be used to revive old hardware with surprisingly little effort 🥳 Here is a blog post that might help folks get started: https://dev.to/denladeside/reviving-legacy-hardware-with-web-hid-3447 https://twitter.com/denladeside/status/1368701449677533195
🐦🔗: https://twitter.com/denladeside/status/1402769220690137092
Quick introductions to #WebHID, #WebNFC, and #WebUSB in this article: https://blog.bitsrc.io/new-standards-to-access-user-device-hardware-using-javascript-86b0c156dd3d
Gave a tutorial on the #WebHID API at @gdgratoma@twitter.com yesterday in the context of #GoogleIO Extended. Here’s an early-stage stab at reverse-engineering the Ambient Light Sensor in an Apple MacBook Pro: https://coconut-sudden-quicksand.glitch.me/. For some more mature stuff, check https://github.com/tomayac/joy-con-webhid.
RT @Vincent_Scheib@twitter.com
#WebHID getting data from Nintendo Ring Fit controller https://twitter.com/mascii_k/status/1396067558902562819
🐦🔗: https://twitter.com/Vincent_Scheib/status/1396927977854705667