As we have to explain surprisingly frequently, MAME uses DirectInput in RAW mode. This is necessary to properly support multiple of each device (e.g. 2 USB keyboards, or 4 mice, or 2 lightguns, etc) but it also means there's no way to inject keypresses unless you're an actual device with a Windows driver.
|