diff options
Diffstat (limited to 'turtetris-master/__init__.py')
-rw-r--r-- | turtetris-master/__init__.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/turtetris-master/__init__.py b/turtetris-master/__init__.py new file mode 100644 index 0000000..9cf22b1 --- /dev/null +++ b/turtetris-master/__init__.py @@ -0,0 +1,12 @@ +from .usb_input import Gamepad + + +def main(): + "Main function" + inpt = Gamepad() + while True: + print(inpt.check()) + + +if __name__ == '__main__': + main() |