-
Notifications
You must be signed in to change notification settings - Fork 146
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
Compiles, but is not working as expected. #1
Comments
Damn, I can confirm it doesn't work properly in Android. (I can't test it on Windows right now.) Maybe @chegewara has an idea. About your request to include keyboard features in this library: This is a mouse library so it should only have mouse related functionality. Maybe I'll make an attempt to create a keyboard library which then obviously would be able to send media keys like "play/pause" "volume up/down" etc. |
@duke2421 Can you test this release please: https://github.com/T-vK/ESP32-BLE-Mouse/releases/tag/tmp It might fix the issues, but I'm not sure. Edit:
|
Hi @T-vK, I tested the tmp release. No change in behavior, sorry. About my project to create a media controller, I agree, it should not be in the mouse library. But now I have a working sample and can test some more things. |
@T-vK I tested it on Win10 and also there it is working with your new HID device descriptor. |
@duke2421 That's great to hear! I'll push the fix later today and create another release. You are absolutely right about using
This helped me a lot understanding HID device descriptors: If I can find the time later today I'll try to make a ble keyboard library or at least check how difficult it would be. |
@T-vK Don't worry, there's no hurry. Thanks for the links. |
@duke2421 I have started making a keyboard library: https://github.com/T-vK/ESP32-BLE-Keyboard I haven't tested it all all though, so it might not work. |
Fell free to create PR and change INPUT to HIDINPUT and OUTPUT to HIDOUTPUT. |
This should be fixed now in v0.2.0. |
setting battery level also in hid, if it was created, yet
I have the same problem on Win11. It compiles but it doesn't actuate mouse commands. BLE Keyboard works indeed. I've also tested the BLE Combo lib and it works entirely but the mouse commands. I'm working with an AZDelivery esp32 dev board. This is my testing code:
|
Hi,
I followed your work already at th ESP-BLE-Snippets.
The basic Arduino code from chegewara is sending the text.
Now I tried your library but can't get it to work.
Here is my test code:
It compiles with no errors, Win10 and Android are able to connect, but under Win10 nothing happens, with Android the mouse pointer appears and moves a little to the right after each keystroke, no matter which command is sent (MOUSE_LEFT, RIGHT or BACK). Am I doing it all wrong?
btw. do you think, you can include 3 more functions in your library. My goal is to make a simple media controll button with a rotary encoder and with following functions: "play/pause", "Volume up", "Volume down" (eventually "next song"). But I am not able to send these keystrokes over BLE with my ESP32, my coding skills are by far not enough ;).
best regards
Daniel
The text was updated successfully, but these errors were encountered: