diff --git a/micropython/usb/usb-device-keyboard/usb/device/keyboard.py b/micropython/usb/usb-device-keyboard/usb/device/keyboard.py index d58601f34..81ec18828 100644 --- a/micropython/usb/usb-device-keyboard/usb/device/keyboard.py +++ b/micropython/usb/usb-device-keyboard/usb/device/keyboard.py @@ -75,13 +75,13 @@ def release_all(self): if self.send_report(self._key_reports[0], 200): return True return False + '''Example usage - k = KeyboardInterface() - usb.device.get().init(k, builtin_driver=True) - key = [4] #It clicks letter A (refer KeyCode class) - k.send_keys(key) - k.release_all() - + k = KeyboardInterface() + usb.device.get().init(k, builtin_driver=True) + key = [4] #It clicks letter A (refer KeyCode class) + k.send_keys(key) + k.release_all() '''