7

The situation :

I have two Keyboards connected to a single computer (both with USB cable).

Two problems :

  1. How can I get keyboard inputs when my application is not focused
  2. Get all inputs from specific keyboard and block its inputs for other applications.

I want two Users to work with one Computer with two Keyboards, one works just with my application, with one specific Keyboard and another user, can use the other Keyboard while working with the other software. Keyboard ports never changes. is it possible friends ? and how can i do that?

nIcE cOw
24.6k8 gold badges54 silver badges147 bronze badges
asked Jun 29, 2013 at 8:03
2
  • I am not sure if you can differentiate between the keyboards. but it should be possible to read input and prevent it from getting delivered to other apps using system hooks. msdn.microsoft.com/en-us/library/windows/desktop/… And msdn.microsoft.com/en-us/library/windows/desktop/… . To be honest why do you need two keyboards if there is only one person. Maybe some key bindings like vim or Emacs might do the trick. Commented Jun 29, 2013 at 8:14
  • thanks for reply, there are two person, one of them never see monitor and just work with one keyboard to call numbers in a queue. Commented Jun 29, 2013 at 9:16

1 Answer 1

3
answered Jul 30, 2013 at 15:37
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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.