xbmc
Public Member Functions | List of all members
KODI::JOYSTICK::CKeymapHandling Class Reference
Inheritance diagram for KODI::JOYSTICK::CKeymapHandling:
Inheritance graph
[legend]
Collaboration diagram for KODI::JOYSTICK::CKeymapHandling:
Collaboration graph
[legend]

Public Member Functions

 CKeymapHandling (IInputProvider *inputProvider, bool pPromiscuous, const IKeymapEnvironment *environment)
 
void UnregisterInputProvider ()
 Unregister the input provider. More...
 
IInputReceiverGetInputReceiver (const std::string &controllerId) const
 
IKeymapGetKeymap (const std::string &controllerId) const
 
void Notify (const Observable &obs, const ObservableMessage msg) override
 Process a message from an observable. More...
 

Member Function Documentation

◆ Notify()

void CKeymapHandling::Notify ( const Observable obs,
const ObservableMessage  msg 
)
overridevirtual

Process a message from an observable.

Parameters
obsThe observable that sends the message.
msgThe message.

Implements Observer.

◆ UnregisterInputProvider()

void KODI::JOYSTICK::CKeymapHandling::UnregisterInputProvider ( )
inline

Unregister the input provider.

Call this if the input provider is invalidated, such as if a user disconnects a controller. This prevents accessing the invalidated input provider when keymaps are unloaded upon destruction.


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