libei/tools/meson.build
Peter Hutterer 2cf2425102 Add a new text interface for sending keysyms and utf8 text
The text capability allows for two types of events on that interface:
- XKB keysym events, e.g. XK_ssharp (0x00df) with a press/release state
- UTF8 strings

Keysym events are useful for scenarious where the hardware keycode is
unsuitable due to potentially different key mappings on the client and
server side and/or the client just not wanting to worry about those
mappings. For example a client may want to send Ctrl+C instead of
what effectively is now keycodes for what may or may not be a C key.

UTF8 strings take this a step further and provide a full string (with
implementation-defined size limits to avoid OOM). Unlike e.g. the
wayland text input protocols the assumption is here that the
interaction required to generate that string has already been
performed before the final string is sent over the wire.

Closes #73
2025-11-25 12:13:20 +10:00

50 lines
1.4 KiB
Meson

if build_libeis
src_eis_demo_server = files(
'eis-demo-server.c',
)
if dep_libevdev.found()
src_eis_demo_server += files(
'eis-demo-server-uinput.c',
)
endif
eis_demo_server = executable('eis-demo-server',
src_eis_demo_server,
dependencies: [
dep_libutil,
dep_libeis,
dep_libxkbcommon,
dep_libevdev,
],
include_directories: [inc_builddir],
)
endif
if build_libei
executable('ei-demo-client',
'ei-demo-client.c',
dependencies: [dep_libutil, dep_libei, dep_libxkbcommon],
include_directories: [inc_builddir],
)
executable('ei-debug-events',
'ei-debug-events.c',
dependencies: [
dep_libutil,
dep_libei,
dep_libevdev,
dep_libxkbcommon
],
include_directories: [inc_builddir],
install: true,
)
endif
if build_oeffis
executable('oeffis-demo-tool',
'oeffis-demo-tool.c',
c_args: ['-DMESON_BUILDDIR="@0@"'.format(meson.current_build_dir())],
include_directories: [inc_builddir],
dependencies: [dep_libutil, dep_liboeffis],
)
endif