A remote control.
More...
#include <rc.h>
A remote control.
Handles one remote control. Gets codes from a eRCDriver. Produces events in eRCInput.
◆ eRCDevice()
eRCDevice::eRCDevice |
( |
std::string |
id, |
|
|
eRCDriver * |
input |
|
) |
| |
Constructs a new remote control.
- Parameters
-
id | The identifier of the RC, for use in settings. |
input | The eRCDriver where this remote gets its codes from. |
◆ ~eRCDevice()
eRCDevice::~eRCDevice |
( |
| ) |
|
|
virtual |
◆ getDescription()
virtual const char* eRCDevice::getDescription |
( |
| ) |
const |
|
pure virtual |
◆ getIdentifier()
const std::string eRCDevice::getIdentifier |
( |
| ) |
const |
|
inline |
◆ handleCode()
virtual void eRCDevice::handleCode |
( |
long |
code | ) |
|
|
pure virtual |
◆ setExclusive()
virtual void eRCDevice::setExclusive |
( |
bool |
b | ) |
|
|
inlinevirtual |
Get a description for a specific key.
- Parameters
-
key | The key to get the description for. |
- Returns
- User readable description of given key.
Reimplemented in eRCDeviceInputDev.
◆ setKeyMapping()
int eRCDevice::setKeyMapping |
( |
const std::unordered_map< unsigned int, unsigned int > & |
remaps | ) |
|
|
virtual |
set key remappngs.
- Parameters
-
remaps | The the keyy remappings. |
- Returns
- The status indicators defined in eRCInput.
Reimplemented in eRCDeviceInputDev.
◆ driver
◆ id
std::string eRCDevice::id |
|
protected |
◆ input
The documentation for this class was generated from the following files: