Merge pull request #56 from Dima73/tuner
[openblackhole/openblackhole-enigma2.git] / keymapparser.py
index 0e544e9..57044a3 100644 (file)
@@ -63,11 +63,11 @@ def readKeymap(filename):
                context = cmap.attrib.get("context")
                assert context, "map must have context"
 
+               parseKeys(context, filename, p, "generic", cmap)
+
                for device in cmap.findall("device"):
                        parseKeys(context, filename, p, device.attrib.get("name"), device)
 
-               parseKeys(context, filename, p, "generic", cmap)
-
 def removeKeymap(filename):
        p = enigma.eActionMap.getInstance()
        p.unbindKeyDomain(filename)