Skip to content

Commit

Permalink
add keyboard indicator read debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
wevsty committed Oct 6, 2024
1 parent 90effed commit ede2156
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,8 +994,11 @@ def controller_command_reply(self, command: str, status: int, data: object):
self.controller_device_connect()
elif command == "keyboard_read":
if status == 0:
logger.debug(f"keyboard indicator read succeed")
self.keyboard_indicator_buffer.from_dict(data)
self.update_status_bar()
else:
logger.debug(f"keyboard indicator read failed")
elif command in ignored_command:
pass
else:
Expand Down

0 comments on commit ede2156

Please sign in to comment.