fix menu title
[enigma2.git] / keymapparser.py
index 21e9981..7162565 100644 (file)
@@ -7,8 +7,7 @@ from keyids import KEYIDS;
 # these are only informational (for help)...
 from Tools.KeyBindings import addKeyBinding
 
 # these are only informational (for help)...
 from Tools.KeyBindings import addKeyBinding
 
-def readKeymap(filename = "/usr/share/enigma2/keymap.xml"):
-
+def readKeymap(filename):
        p = enigma.eActionMap.getInstance()
        assert p
 
        p = enigma.eActionMap.getInstance()
        assert p
 
@@ -62,7 +61,7 @@ def readKeymap(filename = "/usr/share/enigma2/keymap.xml"):
 
 #                              print context + "::" + mapto + " -> " + device + "." + hex(keyid)
                                p.bindKey(filename, device, keyid, flags, context, mapto)
 
 #                              print context + "::" + mapto + " -> " + device + "." + hex(keyid)
                                p.bindKey(filename, device, keyid, flags, context, mapto)
-                               addKeyBinding(filename, keyid, context, mapto)
+                               addKeyBinding(filename, keyid, context, mapto, flags)
 
                parseKeys("generic", cmap)
 
 
                parseKeys("generic", cmap)