8000 docs/library/pyb.rst: Add pyb.hid_mouse and pyb.hid_keyboard constants. · iabdalkader/micropython@ba4f6f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba4f6f5

Browse files
Jos Verlindedpgeorge
authored andcommitted
docs/library/pyb.rst: Add pyb.hid_mouse and pyb.hid_keyboard constants.
1 parent 50b1720 commit ba4f6f5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/library/pyb.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,15 @@ Miscellaneous functions
298298
The *high_speed* parameter, when set to ``True``, enables USB HS mode if
299299
it is supported by the hardware.
300300

301+
Constants
302+
---------
303+
304+
.. data:: pyb.hid_mouse
305+
pyb.hid_keyboard
306+
307+
A tuple of (subclass, protocol, max packet length, polling interval, report
308+
descriptor) to set appropriate values for a USB mouse or keyboard.
309+
301310
Classes
302311
-------
303312

0 commit comments

Comments
 (0)
0