Accessing HID Devices on the Web With the WebHID API: How to play the Chrome Dino Game by Jumping With a Nintendo Joy-Con Controller in One's Pocket

04/06/2021
by   Thomas Steiner, et al.
0

In this demonstration, we show how special hardware like Nintendo Joy-Con controllers can be made accessible from the Web through the new WebHID API. This novel technology proposal allows developers to write Web drivers in pure JavaScript that talk to Human Interface Device (HID) devices via the HID protocol. One such example of a driver has been realized in the project Joy-Con-WebHID, which allows for fun pastimes like playing the Google Chrome browser's offline dinosaur game by jumping. This works thanks to the accelerometers built into Joy-Con controllers whose signals are read out by the driver and used to control the game character in the browser. A video of the experience is available.

READ FULL TEXT
research
11/14/2014

Glider: A GPU Library Driver for Improved System Security

Legacy device drivers implement both device resource management and isol...
research
11/14/2018

Say Hi to Eliza. An Embodied Conversational Agent on the Web

The creation and support of Embodied Conversational Agents (ECAs) has be...
research
10/15/2021

Minimum Viable Device Drivers for ARM TrustZone

While TrustZone can isolate IO hardware, it lacks drivers for modern IO ...
research
10/22/2021

Gapoera: Application Programming Interface for AI Environment of Indonesian Board Game

Currently, the development of computer games has shown a tremendous surg...
research
02/25/2020

IoT Based Real Time Noise Mapping System for Urban Sound Pollution Study

This paper describes the development of a system that enables real time ...
research
05/01/2017

WebAPIRec: Recommending Web APIs to Software Projects via Personalized Ranking

Application programming interfaces (APIs) offer a plethora of functional...
research
04/04/2023

Virtual Avatar Stream: a cost-down approach to the Metaverse experience

The Metaverse through VR headsets is a rapidly growing concept, but the ...

Please sign up or login with your details

Forgot password? Click here to reset