Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Aug 4, 2024
1 parent 47e9cd8 commit dd1d9c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ k.type('Hello world!')
- Typing
- Hot keys
- Drag and Drop
- LEDs status
- Easy to setup
- Comprehensive Testing

Expand Down
2 changes: 1 addition & 1 deletion examples/keyboard_leds.py → examples/leds_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
with Keyboard() as k:
print("Press CapsLock / NumLock / ScrLock")
while True:
leds = k.blocking_read_led_state()
leds = k.blocking_read_led_status()
print(leds)
2 changes: 1 addition & 1 deletion zero_hid/keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def list_layout(self):
name, desc = content["Name"], content["Description"]
print(f"{count}. {name}: {desc}")

def blocking_read_led_state(self) -> LEDState:
def blocking_read_led_status(self) -> LEDState:
"""
**The function will block until the LED state has been read from the device.**
"""
Expand Down

0 comments on commit dd1d9c8

Please sign in to comment.