i never got anyone that knows how to do this
Posted: Thu Oct 18, 2007 12:19 am
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...
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...