summaryrefslogtreecommitdiff
path: root/shared-bindings/gamepad
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-02 13:28:36 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-02 13:28:36 -0400
commit54cb1feea04c0c93afe40868bc050ff7f645c61e (patch)
tree7add74472e4e33fb2a0c4c9d59cc48ce87b48255 /shared-bindings/gamepad
parent522b17ca93d4e1d64bb113057c8a62992a22c4ab (diff)
Removed all 'self, )'
Diffstat (limited to 'shared-bindings/gamepad')
-rw-r--r--shared-bindings/gamepad/GamePad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/gamepad/GamePad.c b/shared-bindings/gamepad/GamePad.c
index 9a23344b3..5e035762e 100644
--- a/shared-bindings/gamepad/GamePad.c
+++ b/shared-bindings/gamepad/GamePad.c
@@ -114,7 +114,7 @@ STATIC mp_obj_t gamepad_make_new(const mp_obj_type_t *type, size_t n_args,
return MP_OBJ_FROM_PTR(gamepad_singleton);
}
-//| def get_pressed(self, ) -> Any:
+//| def get_pressed(self) -> Any:
//| """Get the status of buttons pressed since the last call and clear it.
//|
//| Returns an 8-bit number, with bits that correspond to buttons,
@@ -133,7 +133,7 @@ STATIC mp_obj_t gamepad_get_pressed(mp_obj_t self_in) {
MP_DEFINE_CONST_FUN_OBJ_1(gamepad_get_pressed_obj, gamepad_get_pressed);
-//| def deinit(self, ) -> Any:
+//| def deinit(self) -> Any:
//| """Disable button scanning."""
//| ...
//|