summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README11
-rw-r--r--src/caribou.py4
-rw-r--r--src/keyboard.py1
3 files changed, 11 insertions, 5 deletions
diff --git a/README b/README
index 37cd05a..f47b682 100644
--- a/README
+++ b/README
@@ -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)