>I have to emulate the holding down of the controlkey but also detect the
>holding down of the "r" key simultaneously.
>
>My attempts to detect either are successful but detecting both is not
>working out.
>
>Any ideas?
>
>--
>
>Cheers,
>Simon


Yeah, here's an idea:

Set a global flag to true when the control key is pressed and to false 
when the control key is released then when the 'r' key is pressed you can 
check that flag to see if it was control-r or a normal r.

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to