AW: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

Tiemo Hollmann TB toolbook at kestner.de
Tue Dec 6 13:42:36 CET 2016


Hello Hermann,

Thank you, issues solved, see my replies to Mark from this morning

Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von hh
Gesendet: Dienstag, 6. Dezember 2016 13:33
An: use-livecode at lists.runrev.com
Betreff: Re: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

Tiemo wrote:
> Can I rely on this workaround to get the correct chars, which have 
> been entered on "all" systems?

TMHO:
No. As a workaround to get the "char input" this isn't reliable on _any_ system or hardware configuration. You only *guess* with that:
IF the user uses a 'usual' keyboard layout, then he'll get from that key press a certain character.

Currently I'm using a german keyboard on an english system (because my english keyboard was drunk from a cup of cappucino). But I use the english keyboard layout. So my "ö" yields ";". But it's always the keyCode 59. While the characterCode is what you get from charToNum().

Using "Ukelele" (good site for writing systems and character encoding) http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele
I can use my "ö" for (nearly all) other keypresses.
And the keyCode is always 59.
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list