-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request for insight] Android set_player_leds info? #119
Comments
yes, You can try to enable it by changing the and then try setting the correct For BLE controllers you will need to change that with something like Search in the Bluepad32 for |
Thanks @ricardoquesada, for your time, insight and understanding. I did think that function was disabled, but normally see a debug env or something. Again, apologies for my poor coding skills. I will investigate Maybe nobody has made a device that is a good reference design via BLE only? I was hoping that if the correct If you see or know of anything that is worth sharing, please let me know. |
I think you are in the right direction, but I got confused with the terminology. What you need to do, is to define an "Input report" in the "HID descriptor". I guess, just a guess, that on the gamepad then you should receive a sort of "Gatt service hid report" event. That's my guess. |
Thanks @ricardoquesada for your input, no pun intended ;-) That might have been more funny in my head. I might have abuse the terminology trying to sound like I know what I am doing, but I am just guessing. I think the // INPUT (Data,Var,Abs)
tempHidReportDescriptor[hidReportDescriptorSize++] = 0x81;
tempHidReportDescriptor[hidReportDescriptorSize++] = 0x02;
thou you may be looking at it from the Rather let me update my PoC and make a build with some tests and see where we get. Mind if I poke you further? Have not found anywhere else that has offered feedback. Thanks a ton. Two things that I don't understand or can track in the code, is how does the |
Is your feature request related to a problem? Please describe.
Looking for info or insight on how the android_set_player_leds is enabled? Basically looking to find out what would be needed to add to the
Gatt Descriptor
to work with bluepad32.I was thinking something like:
Been looking for an implementation that I could use or mimic so that I could add to the
ESP32-BLE-Gamepad
library, but not yet found anything that I can use, might just be a poor programming skills.I found the function
uni_hid_parser_android_set_player_leds
inuni_hid_parser_android.c
, but I can't see how it's enabled.The text was updated successfully, but these errors were encountered: