[haXe] SWHX bugs & features
Asger Ottar Alstrup
asger at area9.dk
Mon Aug 7 17:54:20 CEST 2006
On 8/7/06, Michael Pliskin <pl at tepkom.ru> wrote:
>
> Hello Edwin,
>
> >> One more thing that might be of interest for you: CTRL key capture
> >> is related to fscommands not working (you need 'trapallkeys' fscommand
> >> to make flash capture extra keys like ESC, CTRL etc)
>
> EvR> This is not fscommand related but a bug in the Flash plug-in: on
> running
> EvR> windowless (opaque or transparent) the CTRL key doesn't get captured.
> EvR> SWHX is running the plug-in in windowless mode.
>
> Echoing the comments by Asger Alstrup earlier, is it possible to
> work over that? I saw your reply about onKeyPress event, maybe it is
> possible to create a keyboard polling API (to query the status of
> CTRL/ALT keys at runtime)? This would be even better I guess...
To find portable code which does this, you can have a look at SDL. Search
for SDL_PrivateKeyboard in SDL's source code to find out how to do this on
lots and lots of platforms.
Regards,
Asger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20060807/79881846/attachment.htm
More information about the Haxe
mailing list