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

Common::HardwareInputSet Class Reference

Interface for querying information about a hardware input device. More...

#include <hardware-input.h>

Inheritance diagram for Common::HardwareInputSet:

List of all members.

Public Member Functions

virtual ~HardwareInputSet ()
virtual HardwareInput findHardwareInput (const String &id) const =0
 Retrieve a hardware input description from an unique identifier.
virtual HardwareInput findHardwareInput (const Event &event) const =0
 Retrieve a hardware input description from one of the events produced when the input is triggered.

Detailed Description

Interface for querying information about a hardware input device.

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


Constructor & Destructor Documentation

Common::HardwareInputSet::~HardwareInputSet (  )  [virtual]

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


Member Function Documentation

virtual HardwareInput Common::HardwareInputSet::findHardwareInput ( const String id  )  const [pure 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.

Implemented in Common::KeyboardHardwareInputSet, Common::MouseHardwareInputSet, Common::JoystickHardwareInputSet, Common::CustomHardwareInputSet, and Common::CompositeHardwareInputSet.

virtual HardwareInput Common::HardwareInputSet::findHardwareInput ( const Event event  )  const [pure 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.

Implemented in Common::KeyboardHardwareInputSet, Common::MouseHardwareInputSet, Common::JoystickHardwareInputSet, Common::CustomHardwareInputSet, and Common::CompositeHardwareInputSet.


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


Generated on Sat Sep 12 2020 05:04:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge