hey Life,

the DOKeyboard is set to true, and I am polling and update right before I check the key... for instance..

Form1.PowerInput1.Update;
if (Form1.PowerInput1.KeyPressed[DIK_SPACE] = True) then ...

does not work, nor does

Form1.PowerInput1.Update;
if (Form1.PowerInput1.KeyReleased[DIK_SPACE] = True) then ...

but

Form1.PowerInput1.Update;
if (Form1.PowerInput1.Keys[DIK_SPACE] = True) then ...

does work..

but i'm looking for single key presses. I've done a work around which is rather ugly, but..

Form1.PowerInput1.Update;
if (Form1.PowerInput1.Keys[DIK_SPACE] = False) then SpaceLock = False;
if ((SpaceLock = false) AND (Form1.PowerInput1.Keys[DIK_SPACE] = True)) then SpaceLock := True;

that basically locks it after the first time it's pressed until it's released.

Any clue why those first 2 things arn't working though?