xbmc
Public Member Functions | List of all members
KODI::JOYSTICK::IButtonMapCallback Class Referenceabstract

Interface for handling button maps. More...

#include <IButtonMapCallback.h>

Inheritance diagram for KODI::JOYSTICK::IButtonMapCallback:
Inheritance graph
[legend]

Public Member Functions

virtual void SaveButtonMap ()=0
 Save the button map.
 
virtual void ResetIgnoredPrimitives ()=0
 Clear the list of ignored driver primitives. More...
 
virtual void RevertButtonMap ()=0
 Revert changes to the button map since the last time it was loaded or committed to disk.
 

Detailed Description

Interface for handling button maps.

Member Function Documentation

◆ ResetIgnoredPrimitives()

virtual void KODI::JOYSTICK::IButtonMapCallback::ResetIgnoredPrimitives ( )
pure virtual

Clear the list of ignored driver primitives.

Called if the user begins capturing primitives to be ignored, and no primitives are captured before the dialog is accepted by the user.

In this case, the button mapper won't have been given access to the button map, so a callback is needed to indicate that no primitives were captured and the user accepted this.

Implemented in KODI::JOYSTICK::CButtonMapping, and PERIPHERALS::CAddonButtonMapping.


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