diff options
| author | Lena <lena@omega> | 2026-01-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-01-01 00:00:00 +0000 |
| commit | 2fa72ee0dc67d973330aec4ba98260e9f57f7821 (patch) | |
| tree | e6a25c07c8da61d29e4e1f8a72436565e63c5777 /selftest.c | |
| download | mouseboard-2fa72ee0dc67d973330aec4ba98260e9f57f7821.tar.gz | |
Keyboard-only pointing: a labelled grid over every monitor, type a
label to jump to a cell, bisect it by quadrant until the crosshair is
exact, then one key clicks. The coarse grid keeps labels short and
bisection keeps precision unlimited, so a hotkey and a few keystrokes
replace the mouse.
The core talks only to the backend interface in platform.h; wlroots
Wayland and Win32 backends supply the overlay, keyboard grab and
pointer.
Diffstat (limited to 'selftest.c')
| -rw-r--r-- | selftest.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/selftest.c b/selftest.c new file mode 100644 index 0000000..906f3f6 --- /dev/null +++ b/selftest.c @@ -0,0 +1,12 @@ +/* selftest.c - dependency-free entry point for the shared core checks. */ +#include "core.h" + +void platform_sleep_ms(int ms) +{ + (void)ms; +} + +int main(void) +{ + return core_selftest(); +} |