Mercurial > code > home > repos > light9
comparison bin/keyboardcomposer @ 474:c4807e96ee90
KC was sending values that didn't match bcf2000 api
Ignore-this: 30e5221aa0c229310e6e6043fd4e86bf
author | drewp@bigasterisk.com |
---|---|
date | Fri, 12 Jun 2009 10:37:24 +0000 |
parents | 24352fe6f5ae |
children | 52a600439ddd |
comparison
equal
deleted
inserted
replaced
473:9ed6c40b3d6a | 474:c4807e96ee90 |
---|---|
199 self.keyhints.pack_configure(before=row) | 199 self.keyhints.pack_configure(before=row) |
200 | 200 |
201 for col in range(1, 9): | 201 for col in range(1, 9): |
202 try: | 202 try: |
203 subtk = self.slider_table[(self.current_row, col - 1)] | 203 subtk = self.slider_table[(self.current_row, col - 1)] |
204 self.sliders.valueOut("button-upper%d" % col, 127) | 204 self.sliders.valueOut("button-upper%d" % col, True) |
205 except KeyError: | 205 except KeyError: |
206 # unfilled bottom row has holes (plus rows with incomplete | 206 # unfilled bottom row has holes (plus rows with incomplete |
207 # groups | 207 # groups |
208 self.sliders.valueOut("button-upper%d" % col, 0) | 208 self.sliders.valueOut("button-upper%d" % col, False) |
209 self.sliders.valueOut("slider%d" % col, 0) | 209 self.sliders.valueOut("slider%d" % col, 0) |
210 continue | 210 continue |
211 self.send_to_hw(subtk.name, col) | 211 self.send_to_hw(subtk.name, col) |
212 | 212 |
213 def got_nudger(self, number, direction, full=0): | 213 def got_nudger(self, number, direction, full=0): |