This commit is contained in:
chrys 2018-03-27 00:35:38 +02:00
parent 0b1eb5229d
commit a70eb05087
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class fenrirManager():
parser.add_argument('-d', '--debug', action='store_true', help='Turns on Debugmode') parser.add_argument('-d', '--debug', action='store_true', help='Turns on Debugmode')
parser.add_argument('-p', '--print', action='store_true', help='Print debug messages on screen') parser.add_argument('-p', '--print', action='store_true', help='Print debug messages on screen')
parser.add_argument('-e', '--emulation', action='store_true', help='Use PTY emulation and escape sequences for input') parser.add_argument('-e', '--emulation', action='store_true', help='Use PTY emulation and escape sequences for input')
parser.add_argument('-E', '--evemulation', action='store_true', help='Use PTY emulation and evdev for input (single instance)') parser.add_argument('-E', '--emulated-evdev', action='store_true', help='Use PTY emulation and evdev for input (single instance)')
try: try:
args = parser.parse_args() args = parser.parse_args()
except Exception as e: except Exception as e:

View File

@ -222,7 +222,7 @@ class settingsManager():
#self.setOptionArgDict('keyboard', 'keyboardLayout', 'pty') #self.setOptionArgDict('keyboard', 'keyboardLayout', 'pty')
self.setSetting('keyboard', 'keyboardLayout', 'pty') self.setSetting('keyboard', 'keyboardLayout', 'pty')
self.setOptionArgDict('general', 'debugFile', '/tmp/fenrir-pty.log') self.setOptionArgDict('general', 'debugFile', '/tmp/fenrir-pty.log')
if cliArgs.evemulation: if cliArgs.emulated-evdev:
self.setOptionArgDict('screen', 'driver', 'ptyDriver') self.setOptionArgDict('screen', 'driver', 'ptyDriver')
self.setOptionArgDict('keyboard', 'driver', 'evdevDriver') self.setOptionArgDict('keyboard', 'driver', 'evdevDriver')