# HG changeset patch # User David McClosky # Date 2007-06-15 20:36:41 # Node ID b74c50018564eb3cd175255c6155aaa39fadf547 # Parent 962f46713b63c6f5bbaea99df8cc1e4b28a770fe upper button lights indicate "dead"ness diff --git a/bin/keyboardcomposer b/bin/keyboardcomposer --- a/bin/keyboardcomposer +++ b/bin/keyboardcomposer @@ -179,8 +179,12 @@ class KeyboardComposer(Frame, SubClient) for col in range(8): try: subtk = self.slider_table[(self.current_row, col)] + self.sliders.valueOut("button-upper%d" % (col + 1), 127) except KeyError: - pass # unfilled bottom row has holes + # unfilled bottom row has holes (plus rows with incomplete + # groups + self.sliders.valueOut("button-upper%d" % (col + 1), 0) + continue self.send_to_hw(subtk.name, col + 1)