pygame  
PyGame
Documentation
||  Home  ||  Help Contents  ||
 
|| CD || Channel || Font || Joystick || Rect || Sound || Surface ||
|| pygame || cdrom || constants || display || event || font || image ||
|| joystick || key || mixer || mixer_music || mouse || surfarray || time ||

pygame.joystick

Thin wrapper around the SDL joystick interface. Likely to be changed.
get_count - number of joysticks in system
get_init - query initialization of joystick module
get_name - system name for joystick
init - initialize cdrom module
is_opened - query opened joystick
open - return new joystick object
quit - uninitialize cdrom module

get_count
pygame.joystick.get_count() -> int
 
get_init
pygame.joystick.get_init() -> bool
 
get_name
pygame.joystick.get_name(id) -> string
 
init
pygame.joystick.init() -> None
 
is_opened
pygame.joystick.is_opened(id) -> bool
 
open
pygame.joystick.open(id) -> Joystick
 
quit
pygame.joystick.quit() -> None