File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -274,18 +274,18 @@ def direction_right(self, value):
274274 self ._start_stop_thread ()
275275
276276 @property
277- def direction_push (self ):
277+ def direction_middle (self ):
278278 """
279- The function to be called when the joystick is pressed. The function
280- can either take a parameter which will be the `InputEvent` tuple that
281- has occurred, or the function can take no parameters at all.
279+ The function to be called when the joystick middle click is pressed. The
280+ function can either take a parameter which will be the `InputEvent` tuple
281+ that has occurred, or the function can take no parameters at all.
282282
283283 Assign `None` to prevent this event from being fired.
284284 """
285285 return self ._callbacks .get (DIRECTION_MIDDLE )
286286
287- @direction_push .setter
288- def direction_push (self , value ):
287+ @direction_middle .setter
288+ def direction_middle (self , value ):
289289 self ._callbacks [DIRECTION_MIDDLE ] = self ._wrap_callback (value )
290290 self ._start_stop_thread ()
291291
You can’t perform that action at this time.
0 commit comments