it's a console application if you guys wonder, i don't really have a problem with just using WASD instead but i wouldn't mind being able to use the arrow keys.
char _input = 0;
char _up = 'Z';
char _down = 'S';
char _left = 'Q';
char _right = 'D';
do
{
_input = _getch();
switch (_input)
{
case 'Z':
case 'z':
_input = _up;
break;
case 'Q':
case 'q':
_input = _left;
break;
case 'S':
case 's':
_input = _down;
break;
case 'D':
case 'd':
_input = _right;
break;
}
} while (_input == 0);