summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Konrath <ben@bagu.org>2009-11-25 15:17:38 -0500
committerBen Konrath <ben@bagu.org>2009-11-25 15:17:38 -0500
commitc7d958f6582cf8558b5125aa784e1b4307923d47 (patch)
tree1e1cb0c4494946b2069346e78907003a4e5fd575
parentf1234a8ba9b0d7781d90adad06e4c728f4405be7 (diff)
downloadcaribou-c7d958f6582cf8558b5125aa784e1b4307923d47.tar.gz
change quit key to right control, update readme
-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)