<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Gamepad bi-directional data transfer]]></title><description><![CDATA[<p dir="auto">So I have an AtomS3U,<br />
and I thought of that cool idea to turn it into a authentication key,<br />
plug it into a USB-A port when prompted in my website to authenticate.<br />
I need it to be a two way communication system, to avoid some scenarios I thought of, which can be used to hack the authentication system.</p>
<p dir="auto">To transfer data from the AtomS3U to the browser, there is no problem because I can use keyboard/mouse/gamepad (as other types of auth keys),<br />
and for transferring data from the browser to the AtomS3U, I thought to use the gamepad's vibration API built in most browsers (no need for extra annoying permission dialog in anonymous devices (library, school, etc.)),<br />
but... there is no vibration fetching in the gamepad library for the AtomS3U.<br />
It's only programmed to transmit data as HID, not to receive it from the computer.</p>
<p dir="auto">I would be happy if someone could help me.</p>
]]></description><link>https://community.m5stack.com/topic/6129/gamepad-bi-directional-data-transfer</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 06:08:14 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6129.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Feb 2024 17:58:09 GMT</pubDate><ttl>60</ttl></channel></rss>