Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Interface for handling button maps. More...
#include <IButtonMapCallback.h>
Public Member Functions | |
virtual | ~IButtonMapCallback ()=default |
virtual void | SaveButtonMap ()=0 |
Save the button map. | |
virtual void | ResetIgnoredPrimitives ()=0 |
Clear the list of ignored driver primitives. | |
virtual void | RevertButtonMap ()=0 |
Revert changes to the button map since the last time it was loaded or committed to disk. | |
Interface for handling button maps.
|
virtualdefault |
|
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.
|
pure virtual |
Revert changes to the button map since the last time it was loaded or committed to disk.
Implemented in KODI::JOYSTICK::CButtonMapping, and PERIPHERALS::CAddonButtonMapping.
|
pure virtual |
Save the button map.
Implemented in KODI::JOYSTICK::CButtonMapping, and PERIPHERALS::CAddonButtonMapping.