Changeset - b74c50018564
[Not reviewed]
default
0 1 0
David McClosky - 18 years ago 2007-06-15 20:36:41
dmcc@bigasterisk.com
upper button lights indicate "dead"ness
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/keyboardcomposer
Show inline comments
 
@@ -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)
 

	
 
            
0 comments (0 inline, 0 general)