Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtual_keyboards #317

Open
tboenig opened this issue Apr 7, 2022 · 5 comments
Open

virtual_keyboards #317

tboenig opened this issue Apr 7, 2022 · 5 comments
Labels
Status: In Progress Indicates that someone is currently working on the issue Type: Question Indicates a general question about the project, repository or code

Comments

@tboenig
Copy link

tboenig commented Apr 7, 2022

In

you provide a virtual keyboard. What is the meaning behind the division of the characters into individual lines?

@bertsky
Copy link

bertsky commented Apr 7, 2022

@tboenig it's just the visualization, i.e. the layout of letter buttons across lines

screenshot

@chaddy314
Copy link
Member

Characters in the virtual keyboard are grouped together by different characteristics.
In the web-view this corresponds to a new line for each line the .txt-file (up to 12, if there are more a new line is started).

For the default keyboard this will result in sth like this:
image

Of course it is possible to change the layout and add custom characters by changing the .txt-file and uploading it. You can also add additional character buttons and delete unneeded ones with the menu below.

@tboenig
Copy link
Author

tboenig commented Apr 7, 2022

Okay, thank you very much for your answers.
I have prepared something, see https://tboenig.github.io/keyboardGT/overview.html.

Would these keyboards complement LAREX? And are they in the right format? Example: https://tboenig.github.io/keyboardGT/keyboards/LAREX/LatExtD.txt

@maxnth maxnth added Type: Question Indicates a general question about the project, repository or code Status: In Progress Indicates that someone is currently working on the issue labels Apr 11, 2022
@maxnth
Copy link
Member

maxnth commented Apr 11, 2022

Okay, thank you very much for your answers. I have prepared something, see https://tboenig.github.io/keyboardGT/overview.html.

Great resource, will certainly refer OCR4all / LAREX users who have questions about MUFI / Virtual Keyboards / etc. to this. Thank you!

Would these keyboards complement LAREX? And are they in the right format? Example: https://tboenig.github.io/keyboardGT/keyboards/LAREX/LatExtD.txt

More or less. LAREX currently excepts a single whitespace between the characters in a row. So the following file would work LatExtD.txt and look like the following in the LAREX UI

Screenshot of imported virtual keyboard
The current text format is a bit too unstructured for my taste and the parser isn't really robust but it works. We'll most likely add other import / export formats in the next major release of LAREX and I guess adding compatibility for the virtual keyboard files of other editors would be kinda neat as well.

We also have a repository which contains all virtual keyboards which are shipped per default with LAREX and we're open for PRs containing other virtual keyboard templates.

@tboenig
Copy link
Author

tboenig commented Apr 13, 2022

The current text format is a bit too unstructured for my taste and the parser isn't really robust but it works.

With the other keyboard formats you have some inspiration for an optimized keyboard format.
Does a PR make sense if your keyboard format is still changing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Indicates that someone is currently working on the issue Type: Question Indicates a general question about the project, repository or code
Projects
None yet
Development

No branches or pull requests

4 participants