changeset 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 9ed6c40b3d6a
children a5f38134fb88
files bin/keyboardcomposer
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/keyboardcomposer	Fri Jun 12 08:53:36 2009 +0000
+++ b/bin/keyboardcomposer	Fri Jun 12 10:37:24 2009 +0000
@@ -201,11 +201,11 @@
         for col in range(1, 9):
             try:
                 subtk = self.slider_table[(self.current_row, col - 1)]
-                self.sliders.valueOut("button-upper%d" % col, 127)
+                self.sliders.valueOut("button-upper%d" % col, True)
             except KeyError:
                 # unfilled bottom row has holes (plus rows with incomplete
                 # groups
-                self.sliders.valueOut("button-upper%d" % col, 0)
+                self.sliders.valueOut("button-upper%d" % col, False)
                 self.sliders.valueOut("slider%d" % col, 0)
                 continue
             self.send_to_hw(subtk.name, col)