Skip to content

Commit

Permalink
Add key release
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghahs12 committed Jul 3, 2024
1 parent 718fce6 commit c7f50aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions micropython/usb/usb-device-keyboard/usb/device/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ 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)
Expand Down

0 comments on commit c7f50aa

Please sign in to comment.