ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::JoystickHardwareInputSet Class Reference

A joystick input device. More...

#include <hardware-input.h>

Inheritance diagram for Common::JoystickHardwareInputSet:
Collaboration diagram for Common::JoystickHardwareInputSet:

List of all members.

Public Member Functions

 JoystickHardwareInputSet (const HardwareInputTableEntry *buttonEntries, const AxisTableEntry *axisEntries)
HardwareInput findHardwareInput (const String &id) const override
 Retrieve a hardware input description from an unique identifier.
HardwareInput findHardwareInput (const Event &event) const override
 Retrieve a hardware input description from one of the events produced when the input is triggered.

Private Attributes

const HardwareInputTableEntry_buttonEntries
const AxisTableEntry_axisEntries

Detailed Description

A joystick input device.

Definition at line 265 of file hardware-input.h.


Constructor & Destructor Documentation

Common::JoystickHardwareInputSet::JoystickHardwareInputSet ( const HardwareInputTableEntry buttonEntries,
const AxisTableEntry axisEntries 
)

Definition at line 483 of file hardware-input.cpp.


Member Function Documentation

HardwareInput Common::JoystickHardwareInputSet::findHardwareInput ( const String id  )  const [override, virtual]

Retrieve a hardware input description from an unique identifier.

In case no input was found with the specified id, an empty HardwareInput structure is return with the type set to kHardwareInputTypeInvalid.

Implements Common::HardwareInputSet.

Definition at line 490 of file hardware-input.cpp.

HardwareInput Common::JoystickHardwareInputSet::findHardwareInput ( const Event event  )  const [override, virtual]

Retrieve a hardware input description from one of the events produced when the input is triggered.

In case the specified event is not produced by this device, an empty HardwareInput structure is return with the type set to kHardwareInputTypeInvalid.

Implements Common::HardwareInputSet.

Definition at line 518 of file hardware-input.cpp.


Member Data Documentation


The documentation for this class was generated from the following files:


Generated on Sat Sep 26 2020 05:03:03 for ResidualVM by doxygen 1.7.1
curved edge   curved edge