[DllImport("user32.dll")]
static extern uint MapVirtualKey(uint uCode, uint uMapType);
None.
None.
Please add some!
[DllImport("user32.dll")]
static extern uint MapVirtualKey(uint uCode, uint uMapType);
[DllImport("user32.dll")]
static extern void keybd_event(byte bVk, byte bScan, uint dwFlags, uint dwExtraInfo);
public const int KEYEVENTF_EXTENDEDKEY = 0x01;
public const int KEYEVENTF_KEYUP = 0x02;
byte key = 0x41;
uint scanCode = MapVirtualKey((uint)key, 0);
keybd_event(key, (byte)scanCode, 0, 0);
keybd_event(key, (byte)scanCode, KEYEVENTF_KEYUP, 0);
Do you know one? Please contribute it!