Handler interface for input events from CSeatInputProcessor.
More...
#include <SeatInputProcessing.h>
Handler interface for input events from CSeatInputProcessor.
◆ OnEnter()
| virtual void KODI::WINDOWING::WAYLAND::IInputHandler::OnEnter |
( |
InputType |
type | ) |
|
|
inlinevirtual |
Handle focus enter.
- Parameters
-
| type | input device type for which the surface has gained the focus |
◆ OnEvent()
| virtual void KODI::WINDOWING::WAYLAND::IInputHandler::OnEvent |
( |
InputType |
type, |
|
|
XBMC_Event & |
event |
|
) |
| |
|
inlinevirtual |
Handle input event.
- Parameters
-
| type | input device type that caused the event |
| event | XBMC event data |
◆ OnLeave()
| virtual void KODI::WINDOWING::WAYLAND::IInputHandler::OnLeave |
( |
InputType |
type | ) |
|
|
inlinevirtual |
Handle focus leave.
- Parameters
-
| type | input device type for which the surface has lost the focus |
◆ OnSetCursor()
| virtual void KODI::WINDOWING::WAYLAND::IInputHandler::OnSetCursor |
( |
std::uint32_t |
seatGlobalName, |
|
|
std::uint32_t |
serial |
|
) |
| |
|
inlinevirtual |
Handle request for setting the cursor.
When the client gains pointer focus for a surface, a cursor image must be attached to the pointer. Otherwise the previous pointer image would be used.
This request is sent in addition to OnEnter for InputType::POINTER.
- Parameters
-
| seatGlobalName | numeric Wayland global name of the seat the event occurred on |
| pointer | pointer instance that needs its cursor set |
| serial | Wayland protocol message serial that must be sent back in set_cursor |
The documentation for this class was generated from the following file: