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

Common::MouseHardwareInputSet Class Reference

A mouse input device. More...

#include <hardware-input.h>

Inheritance diagram for Common::MouseHardwareInputSet:
Collaboration diagram for Common::MouseHardwareInputSet:

List of all members.

Public Member Functions

 MouseHardwareInputSet (const HardwareInputTableEntry *buttonEntries)
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

Detailed Description

A mouse input device.

Describes the mouse buttons

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


Constructor & Destructor Documentation

Common::MouseHardwareInputSet::MouseHardwareInputSet ( const HardwareInputTableEntry buttonEntries  ) 

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


Member Function Documentation

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

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


Member Data Documentation


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


Generated on Sat Sep 19 2020 05:04:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge