xbmc
Public Member Functions | List of all members
KODI::KEYBOARD::CKeyboardInputHandling Class Reference

Class to translate input from Kodi keycodes to key names defined by the keyboard's controller profile. More...

#include <KeyboardInputHandling.h>

Inheritance diagram for KODI::KEYBOARD::CKeyboardInputHandling:
Inheritance graph
[legend]
Collaboration diagram for KODI::KEYBOARD::CKeyboardInputHandling:
Collaboration graph
[legend]

Public Member Functions

 CKeyboardInputHandling (IKeyboardInputHandler *handler, JOYSTICK::IButtonMap *buttonMap)
 
bool OnKeyPress (const CKey &key) override
 A key has been pressed. More...
 
void OnKeyRelease (const CKey &key) override
 A key has been released. More...
 

Detailed Description

Class to translate input from Kodi keycodes to key names defined by the keyboard's controller profile.

Member Function Documentation

◆ OnKeyPress()

bool CKeyboardInputHandling::OnKeyPress ( const CKey key)
overridevirtual

A key has been pressed.

Parameters
keyThe pressed key
Returns
True if the event was handled, false otherwise

Implements KODI::KEYBOARD::IKeyboardDriverHandler.

◆ OnKeyRelease()

void CKeyboardInputHandling::OnKeyRelease ( const CKey key)
overridevirtual

A key has been released.

Parameters
keyThe released key

Implements KODI::KEYBOARD::IKeyboardDriverHandler.


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