Giter VIP home page Giter VIP logo

esp32-ble-compositehid's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-ble-compositehid's Issues

How do I program a mouse click?

I want to control the mouser pointer with the joystick, but I don't know how to give the command to click the left button?

Only recognized by steam input

Hello, I'm having trouble getting the device recognized in unity as a game controller, it always appears as a joystick. This is the case with my custom code, and when simply using the xinput example file. Is there something the example is missing to display as a normal gamepad?

Steam input recognizes the controller and even sends my debug vibration callback to make my esp32 output serial.

Also wanted to add, really apprecitate the work you've done on this, my hardware prototype with my game is feasible without a dongle because of this library as I know exactly nothing about HID descriptors. I noticed in your other comment you have two esp32s with one relaying messages through the other and that's exactly what I do too :).

In the mean time I am experimenting with transitioning over to steam input and will likely have to bite the $100 dollar fee to do so, not the end of the world if I have to do that.

Unsure if this belongs in "discussion" instead of issue lmk!

how to begin XBox Series X controller and Mouse in one Bluetooth?

`
XboxSeriesXControllerDeviceConfiguration* config = new XboxSeriesXControllerDeviceConfiguration();
BLEHostConfiguration hostConfig = config->getIdealHostConfiguration();
gamepad = new XboxGamepadDevice(config);

MouseConfiguration mouseConfig;
mouse = new MouseDevice(mouseConfig);

compositeHID.addDevice(gamepad);
compositeHID.addDevice(mouse);
//compositeHID.begin(hostConfig); only gamepad work
//compositeHID.begin(); only mouse work`

Missing LIBARY "Callback.h"

In file included from c:\Users\2006e\OneDrive\文件\Arduino\libraries\ESP32-BLE-CompositeHID\GamepadDevice.cpp:1:
c:\Users\2006e\OneDrive\文件\Arduino\libraries\ESP32-BLE-CompositeHID\GamepadDevice.h:7:10: fatal error: Callback.h: No such file or directory
#include <Callback.h>
^~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

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.