From 5256ae2e59f513afe66203ceecd8759d1bd60a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 18 Jul 2017 13:42:52 +0200 Subject: Another fixes in setup --- turtetris_master/__init__.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 turtetris_master/__init__.py (limited to 'turtetris_master/__init__.py') 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() -- cgit v1.2.3