|
RADPx-OS Kernel (Radical Posix OS)
Crimson 0.1.5
POSIX-inspired kernel API with embedded and desktop VM targets
|
Client input poll: dequeue one routed event for a surface. More...
#include <radkernel.h>
Collaboration diagram for rad_compositor_ipc_input:Public Attributes | |
| uint32_t | size |
| Public structure field. | |
| uint32_t | surface_id |
| Public structure field. | |
| uint32_t | has_event |
Public structure field (out): 1 when event is valid. | |
| uint32_t | reserved |
| Public structure field. | |
| rad_input_event_t | event |
| Public structure field (out): dequeued event, surface-local. | |
Client input poll: dequeue one routed event for a surface.
A client fills size and surface_id and issues RAD_DEVICE_IOCTL_COMPOSITOR_POLL_INPUT. The compositor sets has_event to 1 and populates event when an event was waiting, or 0 when the per-surface input queue is empty. Pointer coordinates in event are surface-local.