1

I understand that I can hook events sent by HID devices, but I am interested in finding out if there is any way to actually send instructions to it. For example, I would like to write an application that allows me to click a button, and the keyboard "presses a key". None of the normal methods (SendInput, SendKeys, etc) are working for my needs, so this is about the only option I have left.

Is this even possible, and if so what should I be looking into? Thanks!

asked Jan 11, 2012 at 11:20
5
  • What is your HID controller? a micro/FPGA or something? Commented Jan 11, 2012 at 11:23
  • I am using a Logitech G15 Gaming Keyboard Commented Jan 11, 2012 at 11:35
  • Thought it is worth mentioning that the Windows On-Screen Keyboard seems to work partially as well. Once I input with the keyboard into the game, the keys from the On-Screen Keyboard work for about 5 seconds. I have no idea why this is, but might make figuring it out a bit easier. Commented Jan 11, 2012 at 11:36
  • Why does SendInput not work? Commented Jan 11, 2012 at 11:38
  • I gave this a try inputsimulator.codeplex.com and it worked for everything except what I need it for (input in a game). It was strange because it even worked in the textbox in the game, but as far as any type of movement or actions, nothing happened at all. Commented Jan 11, 2012 at 12:09

1 Answer 1

2

As none of the normal methods would work, I have opted to use the Oblita Interception Library which seems perfect for my needs. Thanks for the help!

http://oblita.com/Interception

answered Jan 11, 2012 at 15:24
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.