openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eRCDeviceInputDev Class Reference

#include <rcinput.h>

Inheritance diagram for eRCDeviceInputDev:
eRCDevice

Public Member Functions

void handleCode (long code)
 Handles a device specific code. More...
 
 eRCDeviceInputDev (eRCInputEventDriver *driver, int consolefd)
 
const char * getDescription () const
 Get user readable description. More...
 
void setExclusive (bool)
 Get a description for a specific key. More...
 
int setKeyMapping (const std::unordered_map< unsigned int, unsigned int > &remaps)
 set key remappngs. More...
 
- Public Member Functions inherited from eRCDevice
 eRCDevice (std::string id, eRCDriver *input)
 Constructs a new remote control. More...
 
virtual ~eRCDevice ()
 
const std::string getIdentifier () const
 

Additional Inherited Members

- Protected Attributes inherited from eRCDevice
eRCInputinput
 
eRCDriverdriver
 
std::string id
 

Constructor & Destructor Documentation

◆ eRCDeviceInputDev()

eRCDeviceInputDev::eRCDeviceInputDev ( eRCInputEventDriver driver,
int  consolefd 
)

Member Function Documentation

◆ getDescription()

const char * eRCDeviceInputDev::getDescription ( ) const
virtual

Get user readable description.

Returns
The description.

Implements eRCDevice.

◆ handleCode()

void eRCDeviceInputDev::handleCode ( long  code)
virtual

Handles a device specific code.

Generates events in eRCInput. code is highly device- and driver dependant. For Example, it might be 16bit codes with one bit make/break or special codes for repeat.

Implements eRCDevice.

◆ setExclusive()

void eRCDeviceInputDev::setExclusive ( bool  b)
virtual

Get a description for a specific key.

Parameters
keyThe key to get the description for.
Returns
User readable description of given key.

Reimplemented from eRCDevice.

◆ setKeyMapping()

int eRCDeviceInputDev::setKeyMapping ( const std::unordered_map< unsigned int, unsigned int > &  remaps)
virtual

set key remappngs.

Parameters
remapsThe the keyy remappings.
Returns
The status indicators defined in eRCInput.

Reimplemented from eRCDevice.


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