From: B.S on
Hi all, i am writing little game and i wonder how to get whan 2
buttons are pressed, lets sey 'D' and 'SPAICE'
sory for my bad english,
From: Christian ASTOR on
On 12 jan, 16:13, "B.S" <giobs...(a)gmail.com> wrote:
> Hi all, i am writing little game and i wonder how to get whan 2
> buttons are pressed, lets sey 'D' and 'SPAICE'
> sory for my bad english,

GetKeyState() or GetAsyncKeyState()
From: B.S on
> GetKeyState() or GetAsyncKeyState()

and how to get whan 2 key are pressed
From: Ron Francis on
"B.S" <giobs111(a)gmail.com> wrote in message
news:027708b9-21ee-4c17-9d22-26f760a7d249(a)34g2000yqp.googlegroups.com...
>> GetKeyState() or GetAsyncKeyState()
>
> and how to get whan 2 key are pressed

B.S,
Read up on those functions as they tell you what keys are being pressed.
"The GetAsyncKeyState function determines whether a key is up or down at the time the function is
called"
You just have to check for the keys that you are interested in.

Ron.