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

LinuxJoystickDevice(LinuxInputDeviceManager *manager, std::size_t index)

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

bool check_events(void) const

Returns true if there are pending events.

static TypeHandle get_class_type(void)