oke next problem is the key mapping
i just want to do somthin like presing awds and more but i gues if i can press one button i can do the rest
this is what i got for now
#define KEYEVENTF_UNICODE 0x0004
#define KEYEVENTF_SCANCODE 0x0008
#define INPUT_KEYBOARD 0x0001
typedef struct{
WORD wVk;
WORD wScan;
DWORD dwFlags;
DWORD time;
long dwExtraInfo;
}KEYBDINPUT;
typedef struct
{
DWORD type;
KEYBDINPUT ki;
}
KEYINPUT;