diff options
-rw-r--r-- | README | 11 | ||||
-rw-r--r-- | src/caribou.py | 4 | ||||
-rw-r--r-- | src/keyboard.py | 1 |
3 files changed, 11 insertions, 5 deletions
@@ -1,6 +1,13 @@ Running Caribou =============== +python src/caribou.py -cd src -python ./caribou.py +or + +python src/caribou.py --debug + +When an editable text widget has focus, a keyboard should pop up. There are +still some problems with the text focus detection and keyboard placement. + +Use the right control key (Control_R) to quit caribou. diff --git a/src/caribou.py b/src/caribou.py index a1db14d..1e1abac 100644 --- a/src/caribou.py +++ b/src/caribou.py @@ -98,9 +98,9 @@ class Test: def on_key_down(self, event): # key binding for controling the row column scanning # TODO: needs implementing - if event.event_string == "Control_R": + if event.event_string == "Shift_R": pass - elif event.event_string == "Shift_R": + elif event.event_string == "Control_R": if debug == True: print "quitting ..." # TODO: use for loop here? see below diff --git a/src/keyboard.py b/src/keyboard.py index 3434810..b67f88f 100644 --- a/src/keyboard.py +++ b/src/keyboard.py @@ -73,7 +73,6 @@ class CaribouKeyboard(gtk.Frame): self._layouts.append(layoutvbox) for button in switch_buttons: - print for layout in self._layouts: if button.get_name() == layout.get_name(): button.connect("clicked", self.__change_layout, layout) |