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

Tiemo Hollmann TB toolbook at kestner.de
Mon Dec 5 14:11:35 EST 2016


Hello Richmond,

an essential feature of my main programs, which I just wanted to release in a new Quicktime free version is to enter text.
As I have pointed out in my thread "LC 8: no keyUp at fast enter" you can't enter fast text in LC anymore, because the keyup handler (the engine?) swallows chars.

Now I wanted to workaround with rawkeyup, catching the codes and mapping them back into the current chars. But now I find that there are duplicate codes in rawkeyup, which prevent me to map the codes back to the current chars.

Perhaps my English is too bad, to explain this correct.

And I am sure, that it is not an issue of indy, it's an issue of LC 8 (what I need because of working without QT)

Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Richmond Mathewson
Gesendet: Montag, 5. Dezember 2016 19:28
An: How to use LiveCode <use-livecode at lists.runrev.com>
Betreff: Re: AW: Is there a mapping table for all rawKeyUp Codes? No solution yet with LC 8

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/platfor
>>> m
>>> .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


_______________________________________________
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