File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44
44
JOY_X_CTR = 32767.5
45
45
JOY_Y_CTR = 32767.5
46
46
47
- class CursorManager :
47
+ class CursorManager ( object ) :
48
48
"""Simple interaction user interface interaction for Adafruit_CursorControl.
49
49
50
50
:param adafruit_cursorcontrol cursor: The cursor object we are using.
@@ -171,7 +171,8 @@ class DebouncedCursorManager(CursorManager):
171
171
def __init__ (self , cursor , debounce_interval = 0.01 ):
172
172
CursorManager .__init__ (self , cursor )
173
173
self ._pressed = 0
174
- self ._debouncer = Debouncer (lambda : bool (self ._pressed & self ._pad_btns ['btn_a' ]), interval = debounce_interval )
174
+ self ._debouncer = Debouncer (lambda : bool (self ._pressed & self ._pad_btns ['btn_a' ]),
175
+ interval = debounce_interval )
175
176
176
177
@property
177
178
def is_clicked (self ):
You can’t perform that action at this time.
0 commit comments