File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
inputremapper/injection/mapping_handlers Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,11 @@ class CombinationHandler(MappingHandler):
42
42
43
43
# map of InputEvent.input_match_hash -> bool , keep track of the combination state
44
44
_pressed_keys : Dict [Hashable , bool ]
45
-
46
45
# the last update we sent to a sub-handler. If this is true, the output key is
47
46
# still being held down.
48
47
_output_active : bool
49
48
_sub_handler : InputEventHandler
50
49
_handled_input_hashes : list [Hashable ]
51
-
52
50
_requires_a_release : Dict [Tuple [int , int ], bool ]
53
51
54
52
def __init__ (
@@ -181,6 +179,7 @@ def reset(self) -> None:
181
179
self ._sub_handler .reset ()
182
180
for key in self ._pressed_keys :
183
181
self ._pressed_keys [key ] = False
182
+ self ._requires_a_release = {}
184
183
self ._output_active = False
185
184
186
185
def is_activated (self ) -> bool :
You can’t perform that action at this time.
0 commit comments