Hi Cal, I asked about that Holger recently so here is his answer:
------------------snip------------------------ > Another question is regarding keyboard. It is possible to detect somehow > multiple keypresses in rebol? I noticed you are probably use system specific > keyboard handler for detecting keypresses so when I want to use keyboard for > controling game/animation etc. the keyboard behaves like in text > editor...with key delays and repetition. I would invited something like > 8-bit keycode mask for detecting multiple keys or just know if the key is > still pressed without the repetition of the key event. > Maybe there is another method how to achieve smooth and multiple key > detection? Not really. Most operating systems have low-level keyboard routines, but then you have to deal with platform-specific encodings, i.e. you no longer get ASCII codes. At the moment we do not plan to support this any time soon. --------------------snip--------------------------------- So no good news for us :(... No quality keboard control in multimedia projects. I think the solution will be Rebol's own keyboard handler or at least simple mezanine function - "platform specific keypress decoder" which will read low-level keyboard codes and convert them into rebol key-events or something like that. (What's your opinion on that Holger?) BTW I tried to use SHIFT and CTRL keys with combination of other "common" key to achieve multiple keypresses but there are platform diferencies of the keyboard behavior too :( ie. when I wrote kb-handler under WIN port of /View and tried under Amiga and Mac I was unable to control the aplication in the way how it works on WIN.(I haven't test it under Linux yet so I don't know...) Regards, Cyphre ----- Original Message ----- From: "Cal Dixon" <[EMAIL PROTECTED]> To: "rebollist" <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 4:01 AM Subject: [REBOL] key events in view > Is there any way to detect the separate key up and key down events in view > (so that I can have games where holding down two keys at once works)? > > Cal Dixon > -><- > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > > --- Odchoz� zpr�va neobsahuje viry. Zkontrolov�no antivirov�m syst�mem AVG (http://www.grisoft.cz). Verze: 6.0.282 / Virov� b�ze: 150 - datum vyd�n�: 25.9.2001 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
