Add squeek2lvgl as submodule and simple conversion script
This commit is contained in:
parent
98c1db8c4b
commit
efe0279314
4 changed files with 35 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -4,3 +4,6 @@
|
|||
[submodule "lvgl"]
|
||||
path = lvgl
|
||||
url = https://github.com/littlevgl/lvgl.git
|
||||
[submodule "squeek2lvgl"]
|
||||
path = squeek2lvgl
|
||||
url = https://gitlab.com/cherrypicker/squeek2lvgl
|
||||
|
|
|
|||
|
|
@ -61,7 +61,13 @@ $ npx lv_font_conv --bpp 4 --size 32 --no-compress -o montserrat_extended_32.c -
|
|||
|
||||
## Changing layouts
|
||||
|
||||
Buffyboards uses squeekboard layouts converted to C via [squeek2lvgl].
|
||||
Buffyboard uses [squeekboard layouts] converted to C via [squeek2lvgl]. To regenerate the layouts, run
|
||||
|
||||
```
|
||||
$ ./regenerate-layouts.sh
|
||||
```
|
||||
|
||||
from the root of the repository.
|
||||
|
||||
# Acknowledgements
|
||||
|
||||
|
|
@ -88,6 +94,7 @@ The [FontAwesome] font is licensed under the Open Font License version 1.1.
|
|||
[lvgl]: https://github.com/lvgl/lvgl
|
||||
[Montserrat]: https://fonts.google.com/specimen/Montserrat
|
||||
[FontAwesome]: https://fontawesome.com/
|
||||
[squeekboard layouts]: https://gitlab.gnome.org/World/Phosh/squeekboard/-/blob/master/data/keyboards
|
||||
[squeek2lvgl]: https://gitlab.com/cherrypicker/squeek2lvgl]
|
||||
[bakonyiferenc/fbkeyboard]: https://github.com/bakonyiferenc/fbkeyboard
|
||||
[squeekboard]: https://gitlab.gnome.org/World/Phosh/squeekboard/-/tree/master
|
||||
|
|
|
|||
23
regenerate-layouts.sh
Executable file
23
regenerate-layouts.sh
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Copyright 2021 Johannes Marbach
|
||||
#
|
||||
# This file is part of buffyboard, hereafter referred to as the program.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
cd squeek2lvgl
|
||||
pipenv install
|
||||
pipenv run python squeek2lvgl.py --input terminal/us.yaml --output .. --generate-scancodes
|
||||
1
squeek2lvgl
Submodule
1
squeek2lvgl
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 5f10b71d79e33b86c157c21b25575c46ca25c254
|
||||
Loading…
Add table
Add a link
Reference in a new issue