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

How to add alternative layouts (e.g. Dvorak or equivalent) #18

Open
ariasuni opened this issue Nov 27, 2020 · 6 comments
Open

How to add alternative layouts (e.g. Dvorak or equivalent) #18

ariasuni opened this issue Nov 27, 2020 · 6 comments

Comments

@ariasuni
Copy link

I’d like to add the Bépo (Dvorak-like for French) keyboard layout to this project. Looking quickly at the source code, it seems there is one keyboard layout per language/locale.

@jpetersen
Copy link
Member

Yes I think you would need to add a language variant (fr_bepo ?) for it right now.

It would be nice to have the layout more flexible instead of "hard coded" into QML to make it easier. But we do not have that right now.

@spacekookie
Copy link

@jpetersen I've just had a look at the QML files and couldn't actually find where the language specific layouts are defined. Could you point me at some files to look at? (I was gonna just change the layouts and build a variant with dvorak for myself)

@ariasuni
Copy link
Author

You can find, for example, the French layout at plugins/fr/qml/Keyboard_fr.qml.

@dobey
Copy link
Contributor

dobey commented Aug 18, 2021

The Lomiri keyboard (continuation of ubuntu-keyboard project) has an en@dv abstract layout. You can see how it's added in #60 where I've started merging that code into maliit keyboard, and add a fr@bepo layout.

@jbaker0428
Copy link

I'm working on a Colemak (en@co) abstract layout. I'm trying to go by the Dvorak merge commit 0b1ffc4 in #60 but that shows some extra files that aren't in the current repo. My fork of current master is missing a debian folder, plugins/en@dv/en@dv.pro, plugins/en@dv/qml/qml.pro, plugins/en@dv/src/src.pro, and plugins/plugins.pro. Is that correct? Looks like there was maybe an architectural change to how plugins work somewhere along the way, but I'm not having any luck finding the matching commit history to confirm that.

@dobey
Copy link
Contributor

dobey commented Jan 28, 2024

Is that correct?

Yes. The lomiri-keyboard source still uses qmake (hence the .pro files), while maliit-keyboard was converged to CMake some time ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants