AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8
Richmond Mathewson
richmondmathewson at gmail.com
Mon Dec 5 13:28:09 EST 2016
Why are you stuck with LiveCode 8?
1. My Indy licence lets me go on downloading commercial versions until
it expires (sometime in 2018).
2. If this is not possible, you can, at least, download the Community
version of later builds and
fiddle around to see what happens there.
Richmond.
On 12/5/16 1:58 pm, Tiemo Hollmann TB wrote:
> 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:use-livecode-bounces at lists.runrev.com] Im Auftrag von Antti Ilola
> Gesendet: Sonntag, 27. November 2016 13:55
> An: How to use LiveCode <use-livecode at lists.runrev.com>
> 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 <richmondmathewson at gmail.com>
>> To: How to use LiveCode <use-livecode at lists.runrev.com>
>> 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 <toolbook at kestner.de> 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
>>>> 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
>>>>
>>> _______________________________________________
>>> 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
>>>
>> Am I missing something? Should I expect otherwise?
>>> Peter Bogdanoff
>>> _______________________________________________
>>> 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
>>>
>>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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