pacify the linter
This commit is contained in:
parent
36703a1e0d
commit
178acc0702
@ -232,8 +232,8 @@ class Combos(Module):
|
||||
|
||||
if not combo._remaining:
|
||||
self.activate(keyboard, combo)
|
||||
# check if the last buffered key event was a release
|
||||
if self._key_buffer[-1][2] == False:
|
||||
# check if the last buffered key event was a 'release'
|
||||
if not self._key_buffer[-1][2]:
|
||||
keyboard._send_hid()
|
||||
self.deactivate(keyboard, combo)
|
||||
self._key_buffer = []
|
||||
|
@ -1,6 +1,4 @@
|
||||
import random
|
||||
import time
|
||||
from functools import reduce
|
||||
from unittest.mock import Mock, patch
|
||||
|
||||
from kmk.hid import HIDModes
|
||||
|
Loading…
Reference in New Issue
Block a user