From c56742e26dbf9c0f12fe78e22f551288dbfb5896 Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Sun, 18 May 2025 22:59:06 -0400 Subject: feat: corrected a typo' --- annotated_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annotated_example.py b/annotated_example.py index 98d77b1..b7f0aca 100644 --- a/annotated_example.py +++ b/annotated_example.py @@ -117,7 +117,7 @@ def key_change_callback(deck, key, state): if __name__ == "__main__": """ Breakdown of the line below: - What this does is it goes into DeviceManager.py, creates a giant list of all of the possible devices that it may connect to, thenuse the enumerate() method provided by hidapi to check if there is a device with said ids connected to the machine. We receive essentially a list of tuples. The first item is the index, the next is an OBJECT representing the StreamDeck (not directly interacting with the stuff) + What this does is it goes into DeviceManager.py, creates a giant list of all of the possible devices that it may connect to, then use the enumerate() method provided by hidapi to check if there is a device with said ids connected to the machine. We receive essentially a list of tuples. The first item is the index, the next is an OBJECT representing the StreamDeck (not directly interacting with the stuff) """ streamdecks = DeviceManager().enumerate() # So this is a list of Stream Deck objects -- cgit v1.2.3