Topic Alt Gr keys are not working

We have two new locations for Keyman technical support:

The Tavultesoft Forums are now read only.


# Alt Gr keys are not working   2011-08-25 03:34:40.453
Pradeeka Seneviratne
Hi,

I am developing Tamil keyboard layout using Keyman Developer 8. I have assigned some letters to Alt Gr state. When I test the keyboard on Keyman web,it doesn't display any letters in Alt Gr state. Please give me a solution to solve this problem.

I have assigned letters as follows
.
.
....
+ [RALT K_E] > U+0BF3 C TAMIL DAY SIGN
+ [RALT K_R] > U+0BF4 C TAMIL MONTH SIGN
+ [RALT K_T] > U+0BF5 C TAMIL YEAR SIGN
....
.
.
# RE: Alt Gr keys are not working   2011-08-28 17:58:17.087
Marc Durdin
Tavultesoft Staff
Hi,

The AltGr shift state is supported only by Internet Explorer - other web browsers do not pass left/right modifier flags through to JavaScript. So we have opted to not include support for AltGr at this time; instead, use CTRL+ALT as the alternative. To do this portably, use the $KeymanOnly and $KeymanWeb prefixes:

.
.
....
$KeymanOnly: + [RALT K_E] > U+0BF3 C TAMIL DAY SIGN
$KeymanOnly: + [RALT K_R] > U+0BF4 C TAMIL MONTH SIGN
$KeymanOnly: + [RALT K_T] > U+0BF5 C TAMIL YEAR SIGN
$KeymanWeb: + [CTRL ALT K_E] > U+0BF3 C TAMIL DAY SIGN
$KeymanWeb: + [CTRL ALT K_R] > U+0BF4 C TAMIL MONTH SIGN
$KeymanWeb: + [CTRL ALT K_T] > U+0BF5 C TAMIL YEAR SIGN
....
.
.

More information on the differences between Keyman Desktop and KeymanWeb keyboards is available at http://blog.tavultesoft.com/2010/02/keymanwebkeyboarddifferences.html
# RE: Alt Gr keys are not working   2011-08-30 03:01:58.590
Pradeeka Seneviratne
Hi Marc,

Thanks a lot for your help and guidelines. I fixed my keyboard layout according to your guidelines. But I have one more question. There is a keyboard layout called HelaBasa Sinhala, under Sinhala keyboard layouts in KeymanWeb. It has some sinhala letters in Alt state and also they are visible in Alt state. But in my layout, I can't see any letters (visually) in Alt state. How they implement it?

Thanks,
Pradeeka
# RE: Alt Gr keys are not working   2011-08-30 16:00:12.710
Marc Durdin
Tavultesoft Staff
Pradeeka, the On Screen Keyboard can be edited in Keyman Developer independently of the keyboard layout. If you are using the $KeymanOnly and $KeymanWeb prefixes, you may need separate On Screen Keyboard files as the layout will be slightly different, in which case it may actually be easier to have two versions of the source file.