File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,8 +50,7 @@ def switch(self):
5050
5151# INITIALIZATION -----------------------
5252if True :
53- # The 'if True:' and indentation is a method to segment the code into logical blocks.
54- # Although not supported by MU, it also enables "code folding" by most editing programs
53+ # The 'if True:' here is simply to help visually separate the code into logical sections.
5554 macropad = MacroPad ()
5655 macropad .display .auto_refresh = False
5756 macropad .pixels .auto_write = False
@@ -153,7 +152,7 @@ def switch(self):
153152 else :
154153 macropad .keyboard_layout .write (item )
155154 else :
156- # Release any still-pressed modifier keys
155+ # Release any still-pressed keys
157156 for item in sequence :
158157 if isinstance (item , int ) and item >= 0 :
159158 macropad .keyboard .release (item )
You can’t perform that action at this time.
0 commit comments