Coder Social home page Coder Social logo

esp32-hid-gamepad's People

Contributors

natexvi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

esp32-hid-gamepad's Issues

Only one button works

Hello,
I´m struggling with the code for 2 days and can´t find a way how to get to work more than one button. I want to achieve x button gamepad (possibly 10 buttons) and no axis. The one on pin 14 works as expected but other ones not at all. I´ve checked the buttons through the digitalRead() function and they work ok. I´m not sure where´s the problem at all, can you help please?
Some parts of code are commented so only one button works now, if you uncomment them the code is no longer working.
My code:
one push works.ino.txt

I´d also be interested about how to change the mapping for the report?

I´d be very grateful for every advice, I can code frontend but these things are very new to me.
Thanks for any articles I should read and any links I should study further

Report Map clarification

More of a question rather than an issue. In your current code for the gamepad, is it possible to make changes on the report map without having to change other variables to deal with memory. I am working on a gamepad with 2 buttons and 1 joystick, but my program has trouble connecting to the computer when I make changes to the report map.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.