Multimedia keys (ConsumerControl); Keyboard.send(); wait for host to be ready
-
Added
ConsumerControl
andConsumerControlCode
to send multimedia control requests, such as volume up/down, play/pause, etc. Many keyboards have these keys. Supported only in CircuitPython 3.0 and up. -
Added the convenience method
Keyboard.send(...)
, which combinesKeyboard.press(...)
andKeyboard.release_all()
. -
When
main.py
starts, the host may not yet have configured the HID devices. Wait for an extra second if necessary to ensure the host is ready (see issue #13).