|
xbmc
|


Public Member Functions | |
| bool | AcceptsPrimitive (JOYSTICK::PRIMITIVE_TYPE type) const override |
| Return true if the button mapper accepts primitives of the given type. More... | |
Public Member Functions inherited from KODI::GAME::CGUIDialogButtonCapture | |
| std::string | ControllerID () const override |
| The add-on ID of the game controller associated with this button mapper. More... | |
| bool | NeedsCooldown () const override |
| Return true if the button mapper wants a cooldown between button mapping commands. More... | |
| bool | MapPrimitive (JOYSTICK::IButtonMap *buttonMap, IKeymap *keymap, const JOYSTICK::CDriverPrimitive &primitive) override |
| Handle button/hat press or axis threshold. More... | |
| void | OnEventFrame (const JOYSTICK::IButtonMap *buttonMap, bool bMotion) override |
| Called once per event frame to notify the implementation of motion status. More... | |
| void | OnLateAxis (const JOYSTICK::IButtonMap *buttonMap, unsigned int axisIndex) override |
| Called when an axis has been detected after mapping began. More... | |
| void | Notify (const Observable &obs, const ObservableMessage msg) override |
| Process a message from an observable. More... | |
| void | Show () |
| Show the dialog. | |
Public Member Functions inherited from KODI::JOYSTICK::IButtonMapper | |
| void | SetButtonMapCallback (const std::string &deviceName, IButtonMapCallback *callback) |
| void | ResetButtonMapCallbacks (void) |
| std::map< std::string, IButtonMapCallback * > & | ButtonMapCallbacks (void) |
Protected Member Functions | |
| std::string | GetDialogText () override |
| std::string | GetDialogHeader () override |
| bool | MapPrimitiveInternal (JOYSTICK::IButtonMap *buttonMap, IKeymap *keymap, const JOYSTICK::CDriverPrimitive &primitive) override |
| void | OnClose (bool bAccepted) override |
Protected Member Functions inherited from KODI::GAME::CGUIDialogButtonCapture | |
| void | Process () override |
Protected Member Functions inherited from CThread | |
| CThread (const char *ThreadName) | |
| virtual void | OnStartup () |
| virtual void | OnExit () |
| WaitResponse | AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1)) |
| This call will wait on a CEvent in an interruptible way such that if stop is called on the thread the wait will return with a response indicating what happened. | |
| CThread (IRunnable *pRunnable, const char *ThreadName) | |
| void | Create (bool bAutoDelete=false) |
| template<typename Rep , typename Period > | |
| void | Sleep (std::chrono::duration< Rep, Period > duration) |
| bool | IsAutoDelete () const |
| virtual void | StopThread (bool bWait=true) |
| bool | IsRunning () const |
| bool | IsCurrentThread () const |
| bool | Join (std::chrono::milliseconds duration) |
| bool | SetPriority (const ThreadPriority &priority) |
| Set the threads priority. This uses the platforms native threading library to do so. | |
| virtual void | OnException () |
Additional Inherited Members | |
Protected Types inherited from CThread | |
| enum | WaitResponse { WAIT_INTERRUPTED = -1, WAIT_SIGNALED = 0, WAIT_TIMEDOUT = 1 } |
Static Protected Member Functions inherited from CThread | |
| static const std::thread::id | GetCurrentThreadId () |
| static CThread * | GetCurrentThread () |
Protected Attributes inherited from KODI::GAME::CGUIDialogButtonCapture | |
| CEvent | m_captureEvent |
Protected Attributes inherited from CThread | |
| std::atomic< bool > | m_bStop |
|
overridevirtual |
Return true if the button mapper accepts primitives of the given type.
| type | The primitive type |
Implements KODI::JOYSTICK::IButtonMapper.
1.8.13