Hi Ilya, The problem with approach documented below is two fold:
1) the characters required do not all exist as precomposed characters thus microsoft's dead key sequences will not work for yoruba. 2) certaon alt-gr sequences are not quaranteed to work in all programs. Some programs treat the Alt-Gr sequence as the equivalent to the Alt key sequence. With program shortcuts overriding keyboard input. >From memory this was a problem we would have with MS Word. Care needs to be taken selecting AltGr sequences to implement in keyboard. And adding frequently typed characters like vowels and tone marks to altgr is usually a bad idea. Easier to move less needed sequences to the altgr state putting feequently type characters on the normal and shift states Andrew On Sunday, 12 April 2015, Ilya Zakharevich <[email protected]> wrote: > On Sat, Apr 11, 2015 at 01:19:23AM +0100, Luis de la Orden wrote: >> Thanks for challenging my understanding of dead keys. I have a layout in my >> Mac that works like a charm to write Yorùbá, Portuguese and Spanish with >> the UK layout. I am having trouble with the Windows layout and should have >> mentioned that more clearly. Nevertheless, I was using Microsoft Keyboard >> Layout Creator and assumed that the limitations of the software (or the >> limitations of my knowledge of the software) were the limitations of the >> technology as a whole. > > I see no problem with using MSKLC with Yorùbá. Just make > AltGr-e, AltGr-o, AltGr-s > produce > e̩, o̩, and s̩. > Then make AltGr--, AltGr-' and AltGr-` into prefix keys (deadkeys) > converting characters into accented forms. IIRC, this would work fine > also with “base keys” producing Unicode clusters (like those above) > (check in the document below). > > For details, see the corresponding sections of > http://search.cpan.org/~ilyaz/UI-KeyboardLayout/lib/UI/KeyboardLayout.pm > [I do not think the “standard” keyboard input on Windows is documented > anywhere else :-( ]. > > Hope this helps, > Ilya > -- Andrew Cunningham Project Manager, Research and Development (Social and Digital Inclusion) Public Libraries and Community Engagement State Library of Victoria 328 Swanston Street Melbourne VIC 3000 Australia Ph: +61-3-8664-7430 Mobile: 0459 806 589 Email: [email protected] [email protected] http://www.openroad.net.au/ http://www.mylanguage.gov.au/ http://www.slv.vic.gov.au/

