File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 43
43
//| """Not currently dynamically supported."""
44
44
//| ...
45
45
//|
46
- //| def send_report(self, buf: Any ) -> Any :
46
+ //| def send_report(self, buf: ReadableBuffer ) -> None :
47
47
//| """Send a HID report."""
48
48
//| ...
49
49
//|
@@ -58,7 +58,7 @@ STATIC mp_obj_t usb_hid_device_send_report(mp_obj_t self_in, mp_obj_t buffer) {
58
58
}
59
59
MP_DEFINE_CONST_FUN_OBJ_2 (usb_hid_device_send_report_obj , usb_hid_device_send_report );
60
60
61
- //| usage_page: Any = ...
61
+ //| usage_page: int = ...
62
62
//| """The usage page of the device as an `int`. Can be thought of a category. (read-only)"""
63
63
//|
64
64
STATIC mp_obj_t usb_hid_device_obj_get_usage_page (mp_obj_t self_in ) {
@@ -74,7 +74,7 @@ const mp_obj_property_t usb_hid_device_usage_page_obj = {
74
74
(mp_obj_t )& mp_const_none_obj },
75
75
};
76
76
77
- //| usage: Any = ...
77
+ //| usage: int = ...
78
78
//| """The functionality of the device as an int. (read-only)
79
79
//|
80
80
//| For example, Keyboard is 0x06 within the generic desktop usage page 0x01.
You can’t perform that action at this time.
0 commit comments