[common/client] platform: abstract runtime services

This commit is contained in:
Geoffrey McRae
2026-09-12 12:51:17 +10:00
parent a7d2e4592f
commit eabc56a6de
49 changed files with 4064 additions and 940 deletions

View File

@@ -20,6 +20,8 @@
#include <stdbool.h>
#include "interface/event_source.h"
/**
* initialize configuration options
*/
@@ -46,14 +48,9 @@ void evdev_free(void);
void evdev_setGrab(bool keyboard, bool pointer);
/**
* return the event fd used to dispatch captured input
* return the event source used to dispatch captured input
*/
int evdev_getEventFD(void);
/**
* dispatch captured input on the display server's event thread
*/
void evdev_dispatch(void * opaque);
LG_DSEventSource evdev_getEventSource(void);
/**
* return true if keyboard input should only be processed by evdev