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-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
blehid=github:bsiever/microbit-pxt-blehid
5
5
```
6
6
7
-
This extension allows the micro:bit V2 to act like a [Human Interface Devices](https://en.wikipedia.org/wiki/Human_interface_device) (HID) over Bluetooth. It currently supports services for [Keyboard](#keyboard), [Mouse](#mouse), [Media Keys](#media-keys) (play, pause, volume up, etc.), a [Gamepad](#gamepad), and an [Absolute Mouse](absolute-mouse) (puts the mouse at a specific position on the screen).
7
+
This extension allows the micro:bit V2 to act like a [Human Interface Devices](https://en.wikipedia.org/wiki/Human_interface_device) (HID) over Bluetooth. It currently supports services for [Keyboard](#keyboard), [Mouse](#mouse), [Media Keys](#media-keys) (play, pause, volume up, etc.), a [Gamepad](#gamepad), and an [Absolute Mouse](#absolute-mouse) (puts the mouse at a specific position on the screen).
8
8
9
9
See [Cool Ideas and Challenges](#cool-ideas-and-challenges) for some examples of how this extension can be used.
10
10
@@ -67,10 +67,11 @@ Here are examples of all three steps on each operating system:
In the video the micro:bit's bluetooth name is "BBC micro:bit". Yours will be named something like "uBit [XXXXX]", where "XXXXX" will be the unique name of your micro:bit.
@@ -203,6 +204,7 @@ Modifiers are keys like Control, or Alt, the Windows key on a PC, or the Command
203
204
Some commands require multiple modifiers, which can also be joined. All the modifiers in a series add to the first non-modifier. For example, simultaneously pressing Control and Alt and the ``delete`` key can be done via: ``[keyboard.sendString("" + keyboard.modifiers(keyboard._Modifier.control) + keyboard.modifiers(keyboard._Modifier.alt) + keyboard.keys(keyboard._Key.delete))]``
204
205
205
206
It's also possible to send a sequence of modified keys. For example, on Macs Command with "c" copies items and Command with "v" pastes a copied items. A copy/paste/paste could be done by:
`true` indicates that the device is currently subscribed to the service. `false` indicates the device is _not_ currently subscribed to the service. This may mean that the other device is off or out of range.
252
254
253
-
# Media Service #media
255
+
# Media Service #media #media-keys
254
256
255
257
## Starting the Media Service #media-startMediaService
256
258
@@ -260,7 +262,7 @@ media.startMediaService()
260
262
261
263
Starts the media service. This must execute in the `start` block. All other media blocks require the service be started.
262
264
263
-
## Specific Media Keys #media-keys
265
+
## Specific Media Keys
264
266
265
267
```sig
266
268
media.keys(media._MediaKey.next)
@@ -362,9 +364,9 @@ mouse.isEnabled()
362
364
`true` indicates that the device is currently subscribed to the service. `false` indicates the device is _not_ currently subscribed to the service. This may mean that the other device is off or out of range.
363
365
364
366
### ~hint
365
-
#### iOS AssistiveTouch
367
+
#### iOS AssistiveTouch #assistivetouch
366
368
367
-
A mouse can be used in iOS when [AssistiveTouch](https://support.apple.com/en-us/HT210546) features are enabled, See [here](https://www.macworld.com/article/232969/how-to-use-a-mouse-with-your-ipad-or-iphone.html) for more detail.
369
+
A mouse can be used in iOS when [AssistiveTouch](https://support.apple.com/en-us/HT210546) features are enabled, See [(https://www.macworld.com/article/232969/how-to-use-a-mouse-with-your-ipad-or-iphone.html](https://www.macworld.com/article/232969/how-to-use-a-mouse-with-your-ipad-or-iphone.html) for more detail.
368
370
### ~
369
371
370
372
@@ -448,7 +450,7 @@ absmouse.isEnabled()
448
450
449
451
`true` indicates that the device is currently subscribed to the service. `false` indicates the device is _not_ currently subscribed to the service. This may mean that the other device is off or out of range.
450
452
451
-
# Gamepad Service #gamepad-service
453
+
# Gamepad Service #gamepad
452
454
453
455
## Starting the Gamepad Service #gamepad-startGamepadService
0 commit comments