Merge branch 'bleed' of https://github.com/chrys87/fenrir into bleed
This commit is contained in:
commit
28fcdf0f32
@ -90,10 +90,13 @@ class fenrirManager():
|
|||||||
return
|
return
|
||||||
if event['Data'] == b'':
|
if event['Data'] == b'':
|
||||||
return
|
return
|
||||||
|
|
||||||
self.handleControlMode(event['Data'])
|
self.handleControlMode(event['Data'])
|
||||||
|
|
||||||
if self.controlMode and not self.switchCtrlModeOnce == 1 or\
|
if self.controlMode and not self.switchCtrlModeOnce == 1 or\
|
||||||
not self.controlMode and self.switchCtrlModeOnce == 1:
|
not self.controlMode and self.switchCtrlModeOnce == 1:
|
||||||
self.detectByteCommand(event['Data'])
|
self.detectByteCommand(event['Data'])
|
||||||
|
|
||||||
def handleControlMode(self, escapeSequence):
|
def handleControlMode(self, escapeSequence):
|
||||||
if self.switchCtrlModeOnce > 0:
|
if self.switchCtrlModeOnce > 0:
|
||||||
self.switchCtrlModeOnce -= 1
|
self.switchCtrlModeOnce -= 1
|
||||||
|
Loading…
Reference in New Issue
Block a user