remapping a GetKeyState() event
Posted: Sat Sep 06, 2008 4:33 pm
Does anybody know a possible way to remap a key used in a GetKeyState event? for example:
if you just remap the left key, an event like the example in a script won't be remapped, you would still need to use the left key. Is ther a way to remap both? Help much appriciated.
- Code: Select all
char*key = GetKeyState();
if(key[KEY_LEFT ] == 1)
{
y -= 10;
}
if you just remap the left key, an event like the example in a script won't be remapped, you would still need to use the left key. Is ther a way to remap both? Help much appriciated.