Search code examples
vb.netsendkeyson-screen-keyboard

on-screen keyboards' way of sending keys


Some online games that have game guards like XIGNCODE3 disables the events sent by programs that send automatic key events to their games. But the microsoft's On-screen keyboard doesn't get blocked(also some on-screen keyboards sold in the internet). It is weird, because if you make a program using vb.net that uses sendKeys, it doesn't work.

My question is, is the way of sending keys by on-screen keyboards differ that the sendKeys in VB.net?

P.S: not making a bot or something(already made one and failed). Now i'm just curious, no more bot making :D promise!


Solution

  • I think you might be able to do it using the Windows Driver Kit. I'd especially look at the Keyboard Input WDF Filter Driver (Kbfiltr) sample.

    If you wrote your own keyboard driver and installed on the machine, you could probably write your own VB.Net code to "drive" the keyboard as you want.