question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Greek keyboard layout

See original GitHub issue

Hi, I’d like to see support for Greek keyboard layout. My proposal below.

Greek alphabet contains letters with accent, diereza and accented diereza. I’m not Greek, but as far as I know this proposal contains all valid letters. I’ve added those specials to additional keyboard layout. Only downside of this approach is that {extras} (enabling extras layout) and {abc} (enabling default layout) buttons display with curly brackets. Defining them as [abc] or abc result in adding them to bound input field (maybe there’s something I’m doing wrong?).

export const greek = { default: [ ’ 1 2 3 4 5 6 7 8 9 0 - = {bksp}', '{tab} ; ς ε ρ τ υ θ ι ο π [ ] \\', '{lock} α σ δ φ γ η ξ κ λ ΄ \' {enter}', '{shift} < ζ χ ψ ω β ν μ , . / {shift}', '.com @ {space} ΅ ΄ · {extras}' ], shift: [ '~ ! @ # $ % ^ & * ( ) _ + {bksp}', ': ΅ Ε Ρ Τ Υ Θ Ι Ο Π { } |', '{lock} Α Σ Δ Φ Γ Η Ξ Κ Λ ¨ " {enter}', '{shift} > Ζ Χ Ψ Ω Β Ν Μ < > ? {shift}', '.com @ {space} ΅ ΄ · {extras}' ], extras: [ ' 1 2 3 4 5 6 7 8 9 0 - = {bksp}', ‘ά έ ί ύ ό ώ’, ‘Ά Ώ Έ Ί Ύ Ό’, ‘ϊ ϋ ΅ ΄ · ΐ ΰ’, ‘{abc}’ ] };

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
maciej-sielskicommented, May 31, 2020

Hey Francisco, I totally understand your POV. Especially when it takes to supporting effort. However having an optional “extra” button after space that will give you a 3rd layout might be a way out for the future. This is up to you to decide. I’m going back to my custom layouts when it comes to Polish and Greek keyboards.

Should you require any additional contact please do not hasitate.

Thank you again and regards

0reactions
hodgefcommented, May 30, 2020

Hey @maciej-sielski, I understand your point. What I’m getting at is that I would like to work with the following constraints for these basic layouts:

  • 5 rows
  • Two layouts (default, shift)
  • No keys after the space button

This is what we currently have across the docs and the demos, and I would like to keep it like that. I failed to mention this in the docs so I apologize for that. I updated the how-to with the details.

I’m not really taking issue with what you’re saying here. It’s just that these constraints will keep the layouts consistent, be easier to follow and not require further docs or demos changes (For context: I spent a lot of time in the past weeks transferring and editing docs, and it was very time consuming. I would like to avoid major changes for now).

If you want, please feel free to edit the current Greek and Polish layouts, adding any missing keys in the 4 first rows. This will fit with the constraints laid out above.

You can use this sandbox for testing: https://codesandbox.io/s/zealous-hellman-m1s66?file=/src/index.js

Thanks, Francisco Hodge

Read more comments on GitHub >

github_iconTop Results From Across the Web

Greek Classical Typing Chart - Keyman Support
Greek Classical Typing Chart. This keyboard layout is designed for Classical Greek, the language of Ancient Greece. It is a mnemonic keyboard layout....
Read more >
Greek Unicode Keyboard Input (Windows 10)
Enabling the Greek Keyboard. 1. From the Windows Menu, click to open Settings. 2. In the settings app, click on “Time & language.”....
Read more >
Enabling Greek Characters on Your Keyboard - Wikiversity
After clicking "Greek" you will see a number of different keyboard layouts. Click the box named "Greek Polytonic"; Click "OK"; You're done, you ......
Read more >
Greek Keyboard: How to Install and Type in Greek
1. Go to Start > Control Panel > Clock, Language, and Region. · 2. On the “Region and Language” option, click on “Change...
Read more >
16.04 MATE How to add Greek keyboard layout support
Disable IBus by visiting gnome-language-selector and setting Keyboard Input Method to None · Reset MATE keyboard preferences with gsettings reset ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found