aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-07-14 08:37:29 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-07-14 08:37:29 +0000
commit80034cb283cd45d0ee374291777dcaf984f8949c (patch)
tree06f89520e438e61386012f4eb5d35c18736e06fd /lib/python/Components
parentd5d7fec0298f4c0f457170f84244a25fef6b5609 (diff)
downloadenigma2-80034cb283cd45d0ee374291777dcaf984f8949c.tar.gz
enigma2-80034cb283cd45d0ee374291777dcaf984f8949c.zip
make keymap configurable with config.usage.keymap
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/UsageConfig.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/UsageConfig.py b/lib/python/Components/UsageConfig.py
index 393dbbc4..0c976db6 100644
--- a/lib/python/Components/UsageConfig.py
+++ b/lib/python/Components/UsageConfig.py
@@ -1,4 +1,4 @@
-from config import ConfigSubsection, ConfigYesNo, config, ConfigSelection
+from config import ConfigSubsection, ConfigYesNo, config, ConfigSelection, ConfigText
from enigma import Misc_Options
import os
@@ -34,3 +34,5 @@ def InitUsageConfig():
elif configElement.value == "off":
Misc_Options.getInstance().set_12V_output(0)
config.usage.output_12V.addNotifier(set12VOutput)
+
+ config.usage.keymap = ConfigText(default = "/usr/share/enigma2/keymap.xml")