File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ def __repr__(self):
67
67
)
68
68
69
69
70
- class _EventQueue :
70
+ class EventQueue :
71
71
"""
72
72
A queue of `Event` objects, filled by a `keypad` scanner such as `Keys` or `KeyMatrix`.
73
73
74
- You cannot create an instance of `_EventQueue ` directly. Each scanner creates an
74
+ You cannot create an instance of `EventQueue ` directly. Each scanner creates an
75
75
instance when it is created.
76
76
"""
77
77
@@ -155,7 +155,7 @@ class _KeysBase:
155
155
def __init__ (self , interval , max_events , scanning_function ):
156
156
self ._interval = interval
157
157
self ._last_scan = time .monotonic ()
158
- self ._events = _EventQueue (max_events )
158
+ self ._events = EventQueue (max_events )
159
159
self ._scanning_function = scanning_function
160
160
self ._scan_thread = threading .Thread (target = self ._scanning_loop , daemon = True )
161
161
self ._scan_thread .start ()
You can’t perform that action at this time.
0 commit comments