- Joined
- Jun 30, 2009
- Messages
- 10
- Reaction score
- 0
Hy,
i made an application that sends keystrokes (with SendInput) to another.
I have the KEYEVENTF_SCANCODE flag enabled.As far as i could understand, this flag uses directx key codes.
I've been searching for a few hours now, but cant find any example on how to send de SPACE key. Does anyone know how to do this?
Ive managed to figure out a few characters by trying a few codes:
("press" is a function, nevermind it )
Regards,
Shan
i made an application that sends keystrokes (with SendInput) to another.
I have the KEYEVENTF_SCANCODE flag enabled.As far as i could understand, this flag uses directx key codes.
I've been searching for a few hours now, but cant find any example on how to send de SPACE key. Does anyone know how to do this?
Ive managed to figure out a few characters by trying a few codes:
("press" is a function, nevermind it )
Code:
press(125); // FN key (laptop)
press(0xC); // ' key
press(0xF); // TAB key
press(0xB); // 0 key
press(0xA); // 9 key
press(0x9); // 8 key
press(0x8); // 7 key
press(0x7); // 6 key
press(0x6); // 5 key
press(0x5); // 4 key
press(0x4); // 3 key
Regards,
Shan