From: Undef Date: Tue, 23 Jul 2024 08:09:37 +0000 Subject: Add man pages for Buffyboard Forwarded: https://gitlab.com/postmarketOS/buffybox/-/merge_requests/23 --- buffyboard/doc/buffyboard.1.scd | 63 ++++++++++++++++++++++++++++++++++++ buffyboard/doc/buffyboard.conf.5.scd | 53 ++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 buffyboard/doc/buffyboard.1.scd create mode 100644 buffyboard/doc/buffyboard.conf.5.scd diff --git a/buffyboard/doc/buffyboard.1.scd b/buffyboard/doc/buffyboard.1.scd new file mode 100644 index 0000000..7b9cb1c --- /dev/null +++ b/buffyboard/doc/buffyboard.1.scd @@ -0,0 +1,63 @@ +buffyboard(1) "buffyboard" + +# NAME + +BUFFYBOARD - Touch-enabled framebuffer keyboard (not only) for vampire slayers. + +# SYNOPSIS + +buffyboard [OPTION] + +# DESCRIPTION + +Buffyboard is a touch-enabled on-screen keyboard running on the Linux +framebuffer. It's primarily intended for vampire hunting1 but you can +also use it as a general purpose keyboard. + +Buffyboard uses LVGL for input processing and rendering. Key events are +forwarded directly to the kernel via a uinput device. Since the latter +emulates a hardware keyboard, the terminal keymap must match with +buffyboard's layout or else on-screen keys might not produce the correct +result. + +# OPTIONS + +## Optional + +*-C, --config-override* + Path to a config override file. Can be supplied multiple times. Config + files are merged in the following order: + - /etc/buffyboard.conf + - /etc/buffyboard.conf.d/\* (alphabetically) + - Override files (in supplied order) +*-g, --geometry=NxM[@X,Y]* + Force a display size of N horizontal times M vertical pixels, offset + horizontally by X pixels and vertically by Y pixels. +*-d --dpi=N* + Override the display's DPI value. +*-r, --rotate=[0-3]* + Rotate the UI to the given orientation. The + values match the ones provided by the kernel in + /sys/class/graphics/fbcon/rotate. + * 0 - normal orientation (0 degree) + * 1 - clockwise orientation (90 degrees) + * 2 - upside down orientation (180 degrees) + * 3 - counterclockwise orientation (270 degrees) +*-h, --help* + Print this message and exit. +*-v, --verbose* + Enable more detailed logging output on STDERR. +*-V, --version* + Print the unl0kr version and exit. + +# EXAMPLES + +*Execute Buffyboard using the default config* + buffyboard + +# SEE ALSO + *buffyboard.conf*(5) + +# AUTHORS + +*Undef* diff --git a/buffyboard/doc/buffyboard.conf.5.scd b/buffyboard/doc/buffyboard.conf.5.scd new file mode 100644 index 0000000..3394f48 --- /dev/null +++ b/buffyboard/doc/buffyboard.conf.5.scd @@ -0,0 +1,53 @@ +buffyboard(5) "buffyboard" + +# NAME + +UNL0KR - configuration file + +# DESCRIPTION + +BUFFYBOARD expects a configuration file with options in the following format, with +one option/value pair per line: + +``` +[section] +