Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_macropad.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def red_led(self, value):
def keys(self):
"""
The keys on the MacroPad. Uses events to track key number and state, e.g. pressed or
released. You must fetch the events using ``keys.event.get()`` and then the events are
released. You must fetch the events using ``keys.events.get()`` and then the events are
available for usage in your code. Each event has three properties:

* ``key_number``: the number of the key that changed. Keys are numbered starting at 0.
Expand All @@ -292,7 +292,7 @@ def keys(self):
macropad = MacroPad()

while True:
event = macropad.keys.event.get()
event = macropad.keys.events.get()
if event:
print(event)
"""
Expand Down