Classes | |
| class | stick_state |
Functions | |
| def | main () |
Variables | |
| background = pygame.Surface(windowSurface.get_size()) | |
| tuple | BLACK = (0,0,0) |
| dir = os.path.dirname(__file__) | |
| filename = os.path.join(dir, '../media/sticks.png') | |
| int | HEIGHT = 406 |
| img = pygame.image.load(filename) | |
| int | WIDTH = 335 |
| windowSurface = pygame.display.set_mode((WIDTH, HEIGHT), 0, 32) | |
Virtual Joystick from Keyboard Bharat Tak September 2016
| def key_joystick.main | ( | ) |
Definition at line 155 of file key_joystick.py.
| key_joystick.background = pygame.Surface(windowSurface.get_size()) |
Definition at line 21 of file key_joystick.py.
| tuple key_joystick.BLACK = (0,0,0) |
Definition at line 13 of file key_joystick.py.
| key_joystick.dir = os.path.dirname(__file__) |
Definition at line 26 of file key_joystick.py.
| key_joystick.filename = os.path.join(dir, '../media/sticks.png') |
Definition at line 27 of file key_joystick.py.
| int key_joystick.HEIGHT = 406 |
Definition at line 15 of file key_joystick.py.
| key_joystick.img = pygame.image.load(filename) |
Definition at line 28 of file key_joystick.py.
| int key_joystick.WIDTH = 335 |
Definition at line 14 of file key_joystick.py.
Definition at line 16 of file key_joystick.py.