panda3d.core.LinuxJoystickDevice

class LinuxJoystickDevice

Bases: InputDevice

This is a type of device that uses the Linux /dev/input/js# API to read data from a game controller.

New in version 1.10.0.

Inheritance diagram

Inheritance diagram of LinuxJoystickDevice

__init__(manager: LinuxInputDeviceManager, index: size_t) → None

Creates a new device using the Linux joystick device with the given index.

checkEvents() → bool

Returns true if there are pending events.

static getClassType() → TypeHandle
Return type

TypeHandle