extra-keyboards-for-chrome-os
extra-keyboards-for-chrome-os copied to clipboard
adapt lushootseed keyboard for Hawaiian
Aloha pumehana kākou. I'm trying to assist our Hawaiian immersion students and others by creating a Hawaiian keyboard for Chrome. I've previously worked with Apple and Microsoft to create Hawaiian keyboards that are included in their respective OS'.
I've spent a few days digging through this site (thanks so much to you all), and have a basic understanding of how these work. What I can't seem to figure out is how to structure the lut variable section properly. Basically all we need is to have a modifier key so that we can add a macron to each vowel (both upper and lower case), and generate a single, curly quote when that modifier key and the apostrophe is generated (this is our glottal stop). It seems the most logical modifier would be right-alt as it generates diacritics in the Intl keyboard, and this is also how we did it on the Windows Hawaiian keyboard.
Any kōkua (help) is greatly appreciated and will benefit many! Once completed, if any of you know how it might be possible to have a Hawaiian keyboard added to the Chrome OS we would be incredibly grateful! Mahalo! Keola
If you could give me a few example key sequences with their expected output I can help you get started. For example, to output ō you will need to type the modifier followed by "o" "_" = ō. Can you also provide an example of how you would expect the glottal stop to work.
Mahalo so much for your reply. There are no dead keys. The way our Mac/Win keyboard work is you simply hold down the modifier and while it is down you press the vowel to get the macron. So:
Right Alt + a = ā Right Alt + Shift + A = Ā Same for the rest of the vowels.
For the glottal, same. Hold down right alt and press the apostrophe key.
Mahalo again!!
Aloha Brian and anyone else who can help…
I found a keyboard on github that seems to have to code I need - using the AltGr key. However. I've downloaded it and installed it, and while it shows up in my extensions it does not appear in my keyboard list under settings. I have contacted the author and hope he will help, but if anyone knows why this might be happening I'd be grateful for the pointer. I am still digging myself but the Javascript validates and I don't know what else may be causing its failure to appear.
https://github.com/E-Haci/chrome-os-azerbaijani-keyboard
Mahalo!
Currently Chrome OS is using xkeyboard-config version 2.27 (https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/refs/heads/master/x11-misc/xkeyboard-config/) which was released over a year ago. Recently (May 2020), a Hawaiian layout was added to xkeyboard-config (https://github.com/freedesktop/xkeyboard-config/commit/b0852dec5849fd95d265490c2f1283ed493edfc0).
This leaves us with two options:
- Wait until Chrome OS pushes an update with a newer xkeyboard-config version,
- Create a new extension using a level3 modifier.
I think waiting will take far too long for your needs. I have uploaded an initial attempt at a Hawaiian extension to the hawaiian branch. It is in a partially functional state. As you can read in the latest commit (27851cc7e6a87ff511617a0e4a872bd8feda56c5) message, there are a few shortcut keys that are intercepted by the operating system and prevent the extension from displaying the expected glyph. For example, Alt+e opens the "Edit" menu of the browser rather than emitting ē as desired.
Aloha. I was able to create a functional Hawaiian keyboard using the Azerbaijani keyboard, and it is available for our folks to install in the Google store:
https://chrome.google.com/webstore/detail/hawaiian-keyboard/nbljknjnnkmlpccdnlkkgmnmonhinbnh
I am using the AltGr and AltGr+shift to generate our characters. A few hundred downloads so far and no reports of problems.
If it would possible to get this or something like it into Chrome OS so that it would be available widely, that would be awesome. I can send you or anyone the code.
Mahalo!!!!
Keola
I’ve been reading that the OS is getting ready to make some major changes. With the sudden surge of Chromebooks now, it seems like that might cause more problems than fix in the short term.
I’m totally a newby at programming, I mainly do video work and website. What ever you suggest will work for me. The other tribe just sounded desparate to get something up for school.
Dave
From: Brian Derr [email protected] Sent: Friday, September 18, 2020 5:13 PM To: google/extra-keyboards-for-chrome-os [email protected] Cc: Subscribed [email protected] Subject: Re: [google/extra-keyboards-for-chrome-os] adapt lushootseed keyboard for Hawaiian (#83)
Currently Chrome OS is using xkeyboard-config version 2.27 (https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/refs/heads/master/x11-misc/xkeyboard-config/) which was released over a year ago. Recently (May 2020), a Hawaiian layout was added to xkeyboard-config (freedesktop/xkeyboard-config@b0852dehttps://github.com/freedesktop/xkeyboard-config/commit/b0852dec5849fd95d265490c2f1283ed493edfc0).
This leaves us with two options:
- Wait until Chrome OS pushes an update with a newer xkeyboard-config version,
- Create a new extension using a level3 modifier.
I think waiting will take far too long for your needs. I have uploaded an initial attempt at a Hawaiian extension to the hawaiian branch. It is in a partially functional state. As you can read in the latest commit (27851cchttps://github.com/google/extra-keyboards-for-chrome-os/commit/27851cc7e6a87ff511617a0e4a872bd8feda56c5) message, there are a few shortcut keys that are intercepted by the operating system and prevent the extension from displaying the expected glyph. For example, Alt+e opens the "Edit" menu of the browser rather than emitting ē as desired.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/google/extra-keyboards-for-chrome-os/issues/83#issuecomment-695134780, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADJJKHFRHPCTBBRRPNJQJYLSGPZR3ANCNFSM4QVOVL6Q.
I am using the AltGr and AltGr+shift to generate our characters. A few hundred downloads so far and no reports of problems.
Does your keyboard have an actual AltGr button? That would probably help get around the keyboard shortcut issue I had when testing. My keyboard only has a right Alt button and it doesn't appear that I can remap it to AltGr (at least with the US English language settings).
Aloha. I used AltGr in the code as the Azerbaijani keyboard did, and it works using the Right Alt key. I'm primarily a Macintosh user, and don't really know the distinction between RghtAlt and AltGr. All I know is that works for us in this way.
KD
On Sat, Sep 19, 2020, 6:16 PM Brian Derr [email protected] wrote:
I am using the AltGr and AltGr+shift to generate our characters. A few hundred downloads so far and no reports of problems.
Does your keyboard have an actual AltGr button? That would probably help get around the keyboard shortcut issue I had when testing. My keyboard only has a right Alt button and it doesn't appear that I can remap it to AltGr (at least with the US English language settings).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/extra-keyboards-for-chrome-os/issues/83#issuecomment-695682444, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNDGX2SPKIBZCFQWTOXCM3SGV62HANCNFSM4QVOVL6Q .
Brian where do we stand on the Umatilla? What can I do to help?
Dave
From: Brian Derr [email protected] Sent: Saturday, September 19, 2020 9:17 PM To: google/extra-keyboards-for-chrome-os [email protected] Cc: Dave Sienko [email protected]; Comment [email protected] Subject: Re: [google/extra-keyboards-for-chrome-os] adapt lushootseed keyboard for Hawaiian (#83)
I am using the AltGr and AltGr+shift to generate our characters. A few hundred downloads so far and no reports of problems.
Does your keyboard have an actual AltGr button? That would probably help get around the keyboard shortcut issue I had when testing. My keyboard only has a right Alt button and it doesn't appear that I can remap it to AltGr (at least with the US English language settings).
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/google/extra-keyboards-for-chrome-os/issues/83#issuecomment-695682444, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADJJKHDIDYEZ64WERCCXO63SGV62HANCNFSM4QVOVL6Q.
Dave, I created issue #84 to track the Umatilla work.
@keoladonaghy, so do you hold the right Alt key down and press a vowel or are you pressing the key, releasing, and then pressing a vowel? If you are holding it, does Alt+Shift+i not open a popup window to submit feedback?
Hold down the right Alt key and press the vowel. Is what I found, except for the y key which gets you ü.
Dave
From: Brian Derr [email protected] Sent: Friday, September 25, 2020 2:16 PM To: google/extra-keyboards-for-chrome-os [email protected] Cc: Dave Sienko [email protected]; Comment [email protected] Subject: Re: [google/extra-keyboards-for-chrome-os] adapt lushootseed keyboard for Hawaiian (#83)
@keoladonaghyhttps://github.com/keoladonaghy, so do you hold the right Alt key down and press a vowel or are you pressing the key, releasing, and then pressing a vowel? If you are holding it, does Alt+Shift+i not open a popup window to submit feedback?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/google/extra-keyboards-for-chrome-os/issues/83#issuecomment-699159146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADJJKHH5YKUZYRAX62HMT6LSHUCBZANCNFSM4QVOVL6Q.
Thank you, t̕igʷicid dxʷʔal adsyayus. Thank you for your work.
From: Brian Derr [email protected] Sent: Friday, September 25, 2020 2:15 PM To: google/extra-keyboards-for-chrome-os [email protected] Cc: Dave Sienko [email protected]; Comment [email protected] Subject: Re: [google/extra-keyboards-for-chrome-os] adapt lushootseed keyboard for Hawaiian (#83)
Dave, I created issue #84https://github.com/google/extra-keyboards-for-chrome-os/issues/84 to track the Umatilla work.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/google/extra-keyboards-for-chrome-os/issues/83#issuecomment-699158677, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADJJKHCDZE7UOF5D4BK2RVLSHUB5LANCNFSM4QVOVL6Q.
Aloha. We press and hold the RightAlt and RightAlt+Shift key to generate the macron vowels. RightAlt-apostrophe for the glottal (‘). Way back (early 1990s) when I was first developing custom fonts for Hawaiian (we replaced the umlaut vowels with our macron vowels) there was overwhelming support from our teachers to do it this way rather than pressing Option (we were on Macs), a modifier key, and then the vowel. This is also how it works on Mac OS' and Windows Hawaiian keyboard, so we'd like to keep it for consistency with those platforms.
Mahalo!!!