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

Keymap handling for type folio requires improvement #19

Open
i-am-shodan opened this issue Aug 2, 2023 · 8 comments
Open

Keymap handling for type folio requires improvement #19

i-am-shodan opened this issue Aug 2, 2023 · 8 comments

Comments

@i-am-shodan
Copy link

The keymap handling here interferes with the type folio (i'm using the UK one). For instance KEY_APOSTROPHE is always mapped to the incorrect key.

Yaft should migrate to keyboard handling via https://github.com/reMarkable/epaper-qpa when the folio is attached.

const std::vector<EvKeyInfo> keymap = {

@timower
Copy link
Owner

timower commented Aug 2, 2023

https://github.com/reMarkable/epaper-qpa
Not sure how that is relevant, that's for QT support right?

@timower
Copy link
Owner

timower commented Aug 2, 2023

We just need keymaps for different languages like: https://github.com/reMarkable/epaper-qpa/tree/master/map

@wehlutyk
Copy link

wehlutyk commented Sep 7, 2023

Will there be any possibility for Dvorak?

@D-a-r-n-o-l-d
Copy link

I'm using us layout and dash seems to be unmapped, meaning I can't pass arguments.

@wehlutyk
Copy link

I've been trying setting a local keymap, following https://superuser.com/a/470265 , but I can't get the keymap changed with loadkeys (and setxkbmap is for X11 I believe). Would you have any hints about what could be tried?

@i-am-shodan
Copy link
Author

Take a look at my changes for UK folio https://github.com/i-am-shodan/yaft-rm2-ukfolio

@timower
Copy link
Owner

timower commented Sep 26, 2023

You can define your own keymap in this array:

const std::vector<EvKeyInfo> keymap = {

On the dev branch I've added support for a config file and custom keymaps: 0722df1

@PepikVaio
Copy link

PepikVaio commented Jan 2, 2024

Take a look at my changes for UK folio https://github.com/i-am-shodan/yaft-rm2-ukfolio

Hi, where i find file with changes?

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