LinuxJoystickDevice

from panda3d.core import LinuxJoystickDevice
class LinuxJoystickDevice

Bases:

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: int)

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