keyboard stuff

This commit is contained in:
chrys 2016-07-10 19:09:50 +02:00
parent ea55d47fdc
commit 4f5ced7ed2

View File

@ -34,7 +34,7 @@ class inputManager():
currShortcutStringList = sorted(currShortcutStringList) currShortcutStringList = sorted(currShortcutStringList)
return str(currShortcutStringList)[1:-1].replace(" ","").replace("'","") return str(currShortcutStringList)[1:-1].replace(" ","").replace("'","")
def loadShortcuts(self, environment, kbConfigPath='/home/chrys/Projekte/fenrir/fenrir/config/keyboard/desktop.kb'): def loadShortcuts(self, environment, kbConfigPath='../../config/keyboard/desktop.kb'):
kbConfig = open(kbConfigPath,"r") kbConfig = open(kbConfigPath,"r")
while(True): while(True):
line = kbConfig.readline() line = kbConfig.readline()