I was wondering if it is possible to have two keyboards on one machine, each working independent of the other. I would like to assign different key mapping on each keyboard. Will try my best to explain as i'm not sure i'm phrasing my question correctly or using the right terminology. For example What i'm trying to achieve is: - Keyboard no.1 would work with the default key layout and mapping, with all keys functioning normally as they are supposed to. - Keyboard no.2 would have a different set of functions assigned to each key, suppose i press the "spacebar" key on keyboard no.2 it would execute an undo command shortcut (ie. ctrl+z), without altering the function of "spacebar" key on keyboard no.1

Thanking you in advance for your time and consideration, Sincerely, Sam

  • At least one keyboard would have to use USB instead of the PS/2 connector. And you would need special system drivers and other OS modifications. – sawdust Jun 26 '15 at 21:21

I'm modifying this answer, as I found a clear-cut solution, which wasn't clear before.

See LuaMacros (written by the author of HidMacros, you can probably use it instead if you wish), you can use it to have multiple keyboards work independently of each other. You can have exactly what you want - one keyboard working normally, and another doing as you please.

This tool lacks in documentation at the moment, as it's at a rather early stage of development, so for info on how to use it be sure to inspect this example script

  • Thank you for the quick reply, really appreciate the help. – responstable Jun 27 '15 at 15:57
  • No problem. Actually, thank you! I wanted to do things like attaching another keyboard that would have different functions under each key - without changing how the "main" keyboard worked for some time now, and it looked like I'd have to write a driver to do what I wanted, so I gave up at least until I'd be interested in writing device drivers... (Which will probably never happen) But lo and behold - your question inspired me to search again, and I found just what I wanted. :) – Xupicor Jun 27 '15 at 16:07
  • Although i'm not very adept at scripting I will try it out and see how it goes. Definitely seems like an efficient way to achieve this. Again thank you for your help, it is very much appreciated, All the best, sincerely, Sam – responstable Jun 27 '15 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.