C# wrapper for a Windows keyboard driver. Can simulate keystrokes and mouse clicks in protected areas like the Windows logon screen (and yes, even in games). Wrapping http://oblita.com/Interception
Imports Interceptor
Dim input As Input = New Input()
Private Sub Entrar_Click(sender As Object, e As EventArgs) Handles Entrar.Click
' Be sure to set your keyboard filter to be able to capture key presses And simulate key presses
' KeyboardFilterMode.All captures all events; 'Down' only captures presses for non-special keys; 'Up' only captures releases for non-special keys; 'E0' and 'E1' capture presses/releases for special keys
input.KeyboardFilterMode = input.KeyboardFilterMode.All
' You can set a MouseFilterMode as well, but you don't need to set a MouseFilterMode to simulate mouse clicks
' Finally, load the driver
input.Load()
input.MoveMouseTo(5, 5)
End Sub
When I try to run my code I get this error
BC30182: Type expected
on the line Dim input As Input = New Input()
any solution? Thank you all