diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-04-16 10:11:54 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-04-16 10:11:54 -0700 |
| commit | 0e03a321e4c4fba6c5d700bfef830c6196aec106 (patch) | |
| tree | 88e524829978a3874da8b0d5001558e3c6942b33 /shared-module/gamepad | |
| parent | c927e6b938ff35fe0f42180d1dc0f9d58f8e571c (diff) | |
Fully split gamepadshift from gamepad
Diffstat (limited to 'shared-module/gamepad')
| -rw-r--r-- | shared-module/gamepad/__init__.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/shared-module/gamepad/__init__.c b/shared-module/gamepad/__init__.c index 8a4f4eae9..46630fd32 100644 --- a/shared-module/gamepad/__init__.c +++ b/shared-module/gamepad/__init__.c @@ -30,10 +30,6 @@ #include "shared-bindings/gamepad/__init__.h" #include "shared-bindings/gamepad/GamePad.h" -#if CIRCUITPY_GAMEPADSHIFT -#include "shared-bindings/gamepadshift/GamePadShift.h" -#endif - #include "shared-bindings/digitalio/DigitalInOut.h" @@ -62,12 +58,6 @@ void gamepad_tick(void) { self->pressed |= self->last & current; self->last = current; } - #if CIRCUITPY_GAMEPADSHIFT - else if (MP_OBJ_IS_TYPE(MP_OBJ_FROM_PTR(singleton), &gamepadshift_type)) { - // buttons connected to a shift register - gamepadshift_tick(singleton); - } - #endif } void gamepad_reset(void) { |
