1 2 3 4 5 6 7 8 9 10 11 12
from .usb_input import Gamepad def main(): "Main function" inpt = Gamepad() while True: print(inpt.check()) if __name__ == '__main__': main()