Source

pygame / doc / capi / sdljoystick.rst

pygame2.sdl.joystick

The :mod:`pygame2.sdl.joystick` C API contains objects and functions for accessing the physical joystick input devices of the computer.

Import

Include headers:

pygame2/pgsdl.h

Macros

PyJoystick

The PyJoystick object is used for gaining access to and retrieving information from joystick input devices using SDL.

Members

Functions