Page 1 of 1

i never got anyone that knows how to do this

PostPosted: Thu Oct 18, 2007 12:19 am
by Kooldudese
i have already posted this before, but it seemed that no one before knew how to do this, :( i want to ask if anyone knows how to do this now because i really need this for my game.
i want to know how to use the get key state function.
supposovly this:
Theres a function called 'remapKey'.

Theres two ways i know of to do it.

Number one is key to specific key, like changing '1' to '2':

remapKey(KEY_1, KEY_2);

Number two is key to last key pressed, which is:

remapKey(KEY_PAD_ENTER, getLastKey();

You could use number one with a key menu or use number two.

anyway, if anyone could make a deom to help me it would be very helpful!
Point for anyone who can answer and it actuelly works... :D

Re: i never got anyone that knows how to do this

PostPosted: Thu Oct 18, 2007 2:53 am
by DilloDude
Is the problem remapping the keys or getting getKeyState to work with remapped keys?