-
Notifications
You must be signed in to change notification settings - Fork 415
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
[iOS] New Line seems not to be send corectly #48
Comments
Thx, will try it! |
The example has an example for sending an enter key as well: https://github.com/T-vK/ESP32-BLE-Keyboard/blob/master/examples/SendKeyStrokes/SendKeyStrokes.ino |
Can you try adding delays and separating the press and release for the ENTER key? Like this:
Do other characters work? What about letters that involve the shift key? Can you test Also, can you rule out that the issue is with the app? For example by sending the keys to a different note app? |
I did some tests, 30ms has many missed line breaks, 40ms still has some occasional misses, with 50ms it seems to be fine. |
Can we add some config parameter for such a delay between key events? |
I want to keep the BLE Keyboard library compatible with the USB Keyboard library, so probably not. But feel free to write your own function that wraps the print, press, release and delay. |
We have added a default delay of 7 milliseconds in PR #111 and also added a |
If I'm trying to send something like this:
it mostly gets printed on iOS like this:
and sometimes like this
I would expect it like this:
I know, there's no official OSX or iOS support yet. But it's working really well so far. Just this issue is frustrating.
The text was updated successfully, but these errors were encountered: