Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Classes | |
class | CMovingSpeed |
Class to calculate the velocity for a motion effect. To ensure it works, the GetUpdatedDistance method must be called at each input received (e.g. continuous key press of same key on the keyboard). The motion effect will stop at the event ID change (different key pressed). More... | |
struct | EventCfg |
Typedefs | |
typedef std::map< EventType, EventCfg > | MapEventConfig |
Enumerations | |
enum class | EventType { NONE = 0 , UP , DOWN , LEFT , RIGHT } |
Functions | |
EventType | ParseEventType (std::string_view eventType) |
Parse a string event type to enum EventType. | |
typedef std::map<EventType, EventCfg> KODI::UTILS::MOVING_SPEED::MapEventConfig |
|
strong |
EventType KODI::UTILS::MOVING_SPEED::ParseEventType | ( | std::string_view | eventType | ) |
Parse a string event type to enum EventType.
eventType | The event type as string |