Since the keyup handler is broken, I am still trying to build a table for 
mapping the rawkeyup key to a char. When testing a prototype it seemed to be 
easy, but now there are some pitfalls I don't get over. On Mac OS X 10.11, 
German system, German keyboard I get with some different char the same keyname.

When putting the following code into a field:
*On rawkeyup keyname*
*put keyname*
*end rawkeyup*

e.g.
Entering shift + dot (":") I get the keyname: 58
Entering shift + ö ("Ö") I also get the keyname: 58

... and others...
How can I map these keynames back to the char?

Anttis kecode app shows for the first example the keycode 47 and for the second 
example 41. But that’s not what I get from rawkeyup.

And with Marks link to the source code I couldn't find a solution either. 
Because there is only a hex value table included.

Can anybody confirm these doubled codes from rawkeyup (with a German keyboard)?

I am stuck with LiveCode 8

Thanks for any ideas




-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:[email protected]] Im Auftrag von 
Antti Ilola
Gesendet: Sonntag, 27. November 2016 13:55
An: How to use LiveCode <[email protected]>
Betreff: Re: Is there a mapping table for all rawKeyUp Codes?

I found this program, maybe useful.

https://manytricks.com/keycodes/


Antti

---------- Edelleenlähetetty viesti ----------
> From: Richmond <[email protected]>
> To: How to use LiveCode <[email protected]>
> Cc:
> Date: Sat, 26 Nov 2016 17:17:23 +0200
> Subject: Re: Is there a mapping table for all rawKeyUp Codes?
> http://forums.livecode.com/viewtopic.php?f=7&t=28395
>
> Better than nothing . . . but a long, long way from ideal.
>
> Richmond.
>
> On 24.11.2016 20:31, Mark Waddingham wrote:
>
>> Hi Tiemo,
>>
>> If you search for 'PlatformKeyCode' in this file:
>>
>> https://github.com/livecode/livecode/blob/develop/engine/src/platform
>> .h
>>
>> It should give you what you need.
>>
>> Warmest Regards,
>>
>> Mark.
>>
>> Sent from my iPhone
>>
>> On 24 Nov 2016, at 16:31, Tiemo Hollmann TB <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> since keyUp doesn't works anymore  as it should on windows in LC 7/8 
>>> (see my previous post) I have to workaround with rawKeyUp.
>>>
>>> Does anybody has a togo mapping table of the rawkeyup codes to the 
>>> real chars? If not I have to build it myself by testing each char.
>>>
>>> Thanks
>>>
>>> Tiemo
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> [email protected]
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
> Am I missing something? Should I expect otherwise?
>>
>> Peter Bogdanoff
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to