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

Common::CustomHardwareInputSet Class Reference

A custom backend input device. More...

#include <hardware-input.h>

Inheritance diagram for Common::CustomHardwareInputSet:
Collaboration diagram for Common::CustomHardwareInputSet:

List of all members.

Public Member Functions

 CustomHardwareInputSet (const HardwareInputTableEntry *hardwareEntries)
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_hardwareEntries

Detailed Description

A custom backend input device.

Todo:
This is currently unused. Perhaps it should be removed.

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


Constructor & Destructor Documentation

Common::CustomHardwareInputSet::CustomHardwareInputSet ( const HardwareInputTableEntry hardwareEntries  ) 

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


Member Function Documentation

HardwareInput Common::CustomHardwareInputSet::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 560 of file hardware-input.cpp.

HardwareInput Common::CustomHardwareInputSet::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 569 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