add template command

This commit is contained in:
chrys
2019-01-29 00:33:50 +01:00
parent 5a13b87b7c
commit c52de66bb6
38 changed files with 29 additions and 0 deletions

View File

@ -82,6 +82,8 @@ class byteManager():
self.env['runtime']['outputManager'].presentText(_('bypass'), soundIcon='PTYBypass', interrupt=True, flush=True)
return True
return False
def sendBytes(self, byteMacro):
pass
def detectByteCommand(self, escapeSequence):
convertedEscapeSequence = self.unifyEscapeSeq(escapeSequence)
command = self.env['runtime']['inputManager'].getCommandForShortcut(convertedEscapeSequence)

View File

@ -61,6 +61,8 @@ class inputManager():
else:
self.grabAllDevices()
self.executeDeviceGrab = False
def sendKeys(self, keyMacro):
pass
def handleInputEvent(self, eventData):
#print(eventData)
if not eventData: