try to fix stucking keys
This commit is contained in:
parent
99ea1ff37b
commit
9809717095
@ -6,6 +6,7 @@ Glitches (improve diff results):
|
||||
- alpine seems to have problems (southernprince)
|
||||
- whole status line in irssi is spoken insteed of just the changes
|
||||
- whole status line in vim is spoken insteed of just the changes
|
||||
- keys sometimes get stuck
|
||||
|
||||
Questions:
|
||||
- what is the correct codepage for cyrillic
|
||||
|
@ -79,7 +79,7 @@ class driver():
|
||||
def writeEventBuffer(self):
|
||||
if not self._initialized:
|
||||
return
|
||||
for iDevice, uDevice, event in self.env['input']['eventBuffer']:
|
||||
for iDevice, uDevice, event in self.env['input']['eventBuffer']:
|
||||
self.writeUInput(uDevice, event)
|
||||
|
||||
def clearEventBuffer(self):
|
||||
@ -92,6 +92,7 @@ class driver():
|
||||
return
|
||||
uDevice.write_event(event)
|
||||
uDevice.syn()
|
||||
time.sleep(0.0001)
|
||||
|
||||
def updateInputDevices(self, force = False, init = False):
|
||||
if init:
|
||||
|
Loading…
Reference in New Issue
Block a user