re-implemented keyboard for better performance and keypress detection. there is no longer css customization, but the keyboard is now responsive to the screen width.

This commit is contained in:
2026-02-09 22:01:14 -07:00
parent 29b48ff2ca
commit 234b2685d4
15 changed files with 377 additions and 351 deletions
+6 -6
View File
@@ -32,17 +32,17 @@ Run the following commands:
```
git clone https://github.com/weave-space/oskeyboard
cd oskeyboard
make
./osk
meson compile -C build
./build/osk
```
## Customization
There are two ways to customize `oskeyboard`: editing `keymap.h` and `styles.css`. Currently there is a limitation of custom layouts, as the number of rows and the number of keys per row are hardcoded in `main.c`. That will be remedied in the near future.
## Customization
There is now only one way to customize `oskeyboard`: editing `keymap.h`. Currently there is a limitation of custom layouts, as the number of rows and the number of keys per row are hardcoded in `main.c`. That will be remedied in the near future.
Any changes to `keymap.h` or `styles.css` require you to recompile, simply run `make` to do so.
Any changes to `keymap.h` require you to recompile, simply run `meson compile -C build` to do so.
## TODO
- [ ] Responsive design sizes
- [x] Responsive design sizes
- [ ] CLI flags
- [ ] Man page
- [ ] Documentation