kodi
xbmc
input
joysticks
interfaces
IButtonMapCallback.h
1
/*
2
* Copyright (C) 2016-2024 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
namespace
KODI
12
{
13
namespace
JOYSTICK
14
{
20
class
IButtonMapCallback
21
{
22
public
:
23
virtual
~
IButtonMapCallback
() =
default
;
24
28
virtual
void
SaveButtonMap
() = 0;
29
40
virtual
void
ResetIgnoredPrimitives
() = 0;
41
46
virtual
void
RevertButtonMap
() = 0;
47
};
48
}
// namespace JOYSTICK
49
}
// namespace KODI
KODI::JOYSTICK::IButtonMapCallback::SaveButtonMap
virtual void SaveButtonMap()=0
Save the button map.
KODI::JOYSTICK::IButtonMapCallback::ResetIgnoredPrimitives
virtual void ResetIgnoredPrimitives()=0
Clear the list of ignored driver primitives.
KODI
Definition:
AudioDecoder.h:18
KODI::JOYSTICK::IButtonMapCallback::RevertButtonMap
virtual void RevertButtonMap()=0
Revert changes to the button map since the last time it was loaded or committed to disk...
JOYSTICK
KODI::JOYSTICK::IButtonMapCallback
Interface for handling button maps.
Definition:
IButtonMapCallback.h:20
Generated by
1.8.13