summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-03 23:52:06 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-03 23:52:06 +0000
commit7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f (patch)
treef2f71aaa3c3960ed3ecbf170013efafc5e4ad981 /src
parent27b5bcfe5ecff6ba0c9a04f9e76ebe7dc2e6e382 (diff)
downloadpoezio-7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f.tar.gz
poezio-7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f.tar.bz2
poezio-7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f.tar.xz
poezio-7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f.zip
fixes directionnal keys on some systems
Diffstat (limited to 'src')
-rw-r--r--src/gui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui.py b/src/gui.py
index db13d6e4..a5170f94 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -109,11 +109,15 @@ class Gui(object):
self.key_func = {
"KEY_LEFT": self.window.input.key_left,
+ "M-D": self.window.input.key_left,
"KEY_RIGHT": self.window.input.key_right,
+ "M-C": self.window.input.key_right,
"KEY_UP": self.window.input.key_up,
+ "M-A": self.window.input.key_up,
"KEY_END": self.window.input.key_end,
"KEY_HOME": self.window.input.key_home,
"KEY_DOWN": self.window.input.key_down,
+ "M-B": self.window.input.key_down,
"KEY_PPAGE": self.scroll_page_up,
"KEY_NPAGE": self.scroll_page_down,
"KEY_DC": self.window.input.key_dc,