From 2fa72ee0dc67d973330aec4ba98260e9f57f7821 Mon Sep 17 00:00:00 2001 From: Lena Date: Thu, 1 Jan 2026 00:00:00 +0000 Subject: Enter mouseboard 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. --- font.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 font.h (limited to 'font.h') diff --git a/font.h b/font.h new file mode 100644 index 0000000..62ef4bf --- /dev/null +++ b/font.h @@ -0,0 +1,15 @@ +/* font.h - access to the embedded 8x8 bitmap font. */ +#ifndef MOUSEBOARD_FONT_H +#define MOUSEBOARD_FONT_H + +#define FONT_W 8 +#define FONT_H 8 + +/* + * Return the 8-byte glyph for ASCII character c. Each byte is one row, top to + * bottom; within a row bit 0 (LSB) is the leftmost pixel. Non-printable codes + * return the blank glyph. + */ +const unsigned char *font_glyph(char c); + +#endif /* MOUSEBOARD_FONT_H */ -- cgit v1.2.3