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

Add Home and End key to additional keys #478

Closed
Dacid99 opened this issue Oct 16, 2023 · 10 comments
Closed

Add Home and End key to additional keys #478

Dacid99 opened this issue Oct 16, 2023 · 10 comments

Comments

@Dacid99
Copy link

Dacid99 commented Oct 16, 2023

Would it be possible to add an Home and End key to the additional keys i can add to the keyboard?
It would be very useful when navigating text.

Thank you for the amazing project, it's exactly the keyboard i always wanted (i absolutely love the math symbols section!) !

@Julow
Copy link
Owner

Julow commented Oct 17, 2023

Home and end are on Fn+left and right. Do you need them directly on the keyboard ?

@Dacid99
Copy link
Author

Dacid99 commented Oct 17, 2023

Yeah that would be very helpful. I have exactly the space for those two on the qwertz keyboard on the d and f key, and directly on the keyboard with a swipe is much quicker than fn and swiping. Thank you for the quick reply!

@Spike-from-NH
Copy link
Contributor

Spike-from-NH commented Oct 18, 2023

I want this too—often use Shift-Home and Shift-End too. One can specify "home" and "end" in the .XML custom layout:
< key key0="right" key7="end"/ >

@Julow
Copy link
Owner

Julow commented Oct 20, 2023

I've added home, end, page up and page down to the extra keys in 33653a9 and placed them on the same key as the arrows:
2023-10-20-12-21

It looks a bit messy when they are all enabled but it's ok when only two are enabled. Could you try it and check whether it's usable ?
Debug build can be found here: https://github.com/Julow/Unexpected-Keyboard/actions/runs/6586462297

@Dacid99
Copy link
Author

Dacid99 commented Oct 20, 2023

Yeah that works very nicely!

Did i understand Spike-from-NHs comment correctly, is there the option of adding a custom layout by myself?
If yes, how would I do that?

@Julow
Copy link
Owner

Julow commented Oct 20, 2023

When selecting a layout in the settings, at the bottom of the list is "Custom layout". Here's an example of a layout: https://github.com/Julow/Unexpected-Keyboard/blob/master/res/xml/latn_qwerty_us.xml

@Julow
Copy link
Owner

Julow commented Oct 20, 2023

Feel free to open this issue again if the new placement is problematic. I'm worried that arrow keys are harder to use due to accidentally typing home or end.

@Julow Julow closed this as completed Oct 20, 2023
@Dacid99
Copy link
Author

Dacid99 commented Oct 20, 2023

Ok that was unexpected-ly simple, thanks a lot!
I will be using this version now, if i get annoyed because of frequent mistyping ill report on it.
Keep up the great work!

@Spike-from-NH
Copy link
Contributor

Spike-from-NH commented Oct 20, 2023

Did i understand Spike-from-NHs comment correctly, is there the option of adding a custom layout by myself? If yes, how would I do that?

Yes, @Dacid99. @Julow taught me how to do so in my closed #345. The Preferences have changed since then, but the essence is to prepare your custom XML file,* copy it into your phone's clipboard, activate Preferences (gear icon), select the custom layout, then paste it in. (Select All then Paste if updating.)

.* #365 describes a web-based tool that accepts your gestures and writes the XML for you.

@Dacid99
Copy link
Author

Dacid99 commented Oct 21, 2023

Did i understand Spike-from-NHs comment correctly, is there the option of adding a custom layout by myself? If yes, how would I do that?

Yes, @Dacid99. @Julow taught me how to do so in my closed #345. The Preferences have changed since then, but the essence is to prepare your custom XML file,* copy it into your phone's clipboard, activate Preferences (gear icon), select the custom layout, then paste it in. (Select All then Paste if updating.)

.* #365 describes a web-based tool that accepts your gestures and writes the XML for you.

Super, thank you very much.
Maybe it would be a good idea to add these informtions to the description so everyone is aware of this option.

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

3 participants