Classes | Functions | Variables
key_joystick Namespace Reference

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)
 

Detailed Description

Virtual Joystick from Keyboard
Bharat Tak
September 2016

Function Documentation

◆ main()

def key_joystick.main ( )

Definition at line 155 of file key_joystick.py.

Variable Documentation

◆ background

key_joystick.background = pygame.Surface(windowSurface.get_size())

Definition at line 21 of file key_joystick.py.

◆ BLACK

tuple key_joystick.BLACK = (0,0,0)

Definition at line 13 of file key_joystick.py.

◆ dir

key_joystick.dir = os.path.dirname(__file__)

Definition at line 26 of file key_joystick.py.

◆ filename

key_joystick.filename = os.path.join(dir, '../media/sticks.png')

Definition at line 27 of file key_joystick.py.

◆ HEIGHT

int key_joystick.HEIGHT = 406

Definition at line 15 of file key_joystick.py.

◆ img

key_joystick.img = pygame.image.load(filename)

Definition at line 28 of file key_joystick.py.

◆ WIDTH

int key_joystick.WIDTH = 335

Definition at line 14 of file key_joystick.py.

◆ windowSurface

key_joystick.windowSurface = pygame.display.set_mode((WIDTH, HEIGHT), 0, 32)

Definition at line 16 of file key_joystick.py.



rotors_joy_interface
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Mon Feb 28 2022 23:39:18