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
Copy file name to clipboardexpand all lines: README.md
+9-1
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ void setup() {
31
31
32
32
void loop() {
33
33
// Retrieve the HID service handle.
34
-
auto hid = pad.hid();
34
+
auto *hid = pad.hid();
35
35
36
36
// Update internal values.
37
37
float theta = PI * (random(255) / 255.0);
@@ -99,6 +99,12 @@ By default the sample is set to *demo mode* and will output random motions for a
99
99
100
100
To disable *demo mode* you can set the macro definition **DEMO_ENABLE_RANDOM_INPUT** to 0.
101
101
102
+
### ble_shining_kb
103
+
104
+
Simulate a ghost writer by repeating a sentence over and over again.
105
+
106
+
By default the keyboard layout is set to **LAYOUT_US_INTERNATIONAL**, you can change it by uncommenting the desired layout in [*src/services/keylayouts.h*](https://github.com/tcoppex/mbed-ble-hid/blob/master/src/services/keylayouts.h).
107
+
102
108
## Known limitations
103
109
104
110
*Boot protocol*, which allows for mouses and keyboards to be used on a boot level, are laid out but not implemented.
@@ -111,9 +117,11 @@ This project has benefited from the following resources :
* [BLEKeyboard](https://github.com/bitbank2/BLE_Keyboard) by bitbank2
113
119
* [BLE_HID](https://github.com/jpbrucker/BLE_HID) by jpbrucker
120
+
* The `keyboards layout` is a slightly modified version from @PaulStoffregen [teensy](https://github.com/PaulStoffregen/cores/blob/master/teensy/keylayouts.h).
114
121
115
122
You might want to look at jpbrucker's implementation for a well documented but deprecated alternative.
0 commit comments