🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Gamepad bi-directional data transfer

    Arduino
    1
    1
    776
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LikesCookie
      last edited by

      So I have an AtomS3U,
      and I thought of that cool idea to turn it into a authentication key,
      plug it into a USB-A port when prompted in my website to authenticate.
      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.

      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),
      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.)),
      but... there is no vibration fetching in the gamepad library for the AtomS3U.
      It's only programmed to transmit data as HID, not to receive it from the computer.

      I would be happy if someone could help me.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post