You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just remember that you have to use `bleKeyboard` instead of just `Keyboard` and you need these two lines at the top of your script:
85
85
```
86
-
#include <BleKeyboard.h>
86
+
#include <NimBleKeyboard.h>
87
87
BleKeyboard bleKeyboard;
88
88
```
89
89
@@ -113,7 +113,7 @@ There is also a `setDelay` method to set a delay between each key event. E.g. `b
113
113
This feature is meant to compensate for some applications and devices that can't handle fast input and will skip letters if too many keys are sent in a small time frame.
114
114
115
115
## NimBLE-Mode
116
-
The NimBLEmode enables a significant saving of RAM and FLASH memory.
116
+
This version <b>exclusively</b> supports NimBLE-Arduino 2.x mode, enabling a significant saving of RAM and FLASH memory.
117
117
118
118
### Comparison (SendKeyStrokes.ino at compile-time)
Change your `platformio.ini` to the following settings
150
-
```ini
151
-
lib_deps =
152
-
NimBLE-Arduino
153
-
154
-
build_flags =
155
-
-D USE_NIMBLE
156
-
```
157
-
158
-
## Credits
140
+
## Credits to original author and contributors
159
141
142
+
Original author [ T-vK]([https://github.com/Berg0162/ESP32-NIMBLE-Keyboard)
160
143
Credits to [chegewara](https://github.com/chegewara) and [the authors of the USB keyboard library](https://github.com/arduino-libraries/Keyboard/) as this project is heavily based on their work!
161
144
Also, credits to [duke2421](https://github.com/T-vK/ESP32-BLE-Keyboard/issues/1) who helped a lot with testing, debugging and fixing the device descriptor!
162
145
And credits to [sivar2311](https://github.com/sivar2311) for adding NimBLE support, greatly reducing the memory footprint, fixing advertising issues and for adding the `setDelay` method.
0 commit comments