Keyboard icon indicating copy to clipboard operation
Keyboard copied to clipboard

Support for Additional Special Characters in Language Layouts

Open dwhiting10 opened this issue 11 years ago • 7 comments

I really like how easy you have made it to add additional language layouts/custom language layouts to your keyboard. One additional thing that would be nice to have would be the ability to hold down a key and for several variations of that key to popup to choose from.

For many keyboard layouts, just having a Alt key to bring up a list of character variations works just fine (although it might be slightly confusing for some users). Some languages however have multiple variations for multiple character and this gets much more confusing for the users plus not having enough room for the necessary alt and meta keys. Of course combos can be used but that isn't intuitive for most users and requires having to train users to know how to use this feature.

Any users who is familiar with soft keyboards on mobile devices expects that pressing and holding down on a key will bring up any variations of the character. So if you would think about the feasibility of adding this feature that would be great.

Thanks :smile:

dwhiting10 avatar Apr 10 '15 12:04 dwhiting10

Hi @dwhiting10!

Yeah, I know that is a feature of mobile devices. I guess I never got around to adding something like that. It's a good idea for an extension.

My time is presently limited, so I don't know when I'll be able to work on this enhancement.

Mottie avatar Apr 10 '15 15:04 Mottie

Yep I understand. This isn't exactly a small change :wink:

dwhiting10 avatar Apr 13 '15 11:04 dwhiting10

@dwhiting10 just to be sure, does the image illustrate what you are talking about? or are you talking about how greek has two versions of sigma, one for word final and one for word medial < ς > and < 𝛔 >?� Arabic also has shape changes for each "letter" depending on the location in the word it occurs. These sorts of alterations should be handled by the font not a keyboard...

accents-on-iphone

HughP avatar Apr 13 '15 18:04 HughP

I understood it as he wanted the popup seen in the images... I would make it so the buttons inside the popup would be customizable.

The main issue I see is that right now is if you hold down a key, it repeats. I would likely need to add an option to disable that functionality.

Mottie avatar Apr 13 '15 19:04 Mottie

@HughP @Mottie Yes just like the above images illustrate is what I was thinking. Thanks for clarifying.

dwhiting10 avatar Apr 13 '15 23:04 dwhiting10

Ok, it turned out to not be as difficult as I thought... check out the new altKeysPopup demo. Click/press and hold the keys mentioned in the text at the bottom of the page to see the popup.

I hope the documentation is clear enough to make it easy to add more alternate keys.

Mottie avatar Apr 19 '15 01:04 Mottie

Thanks. This looks really nice. I will have to play with it and run it through its paces :wink:

dwhiting10 avatar Apr 19 '15 21:04 dwhiting10