The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: xanatose on November 10, 2005, 08:53:22 PM

Title: 2 keyboard on 1 pc, XP
Post by: xanatose on November 10, 2005, 08:53:22 PM
Just out of curiosity I tried this and it works.  1 PS/2 and 1 USB keboards.

However the PC is using it as its only one keyboard. Is there a way to diferentiate one keyboard from another?

The idea is to use the second keyboard as macro keys.

So, I wonder, Is there is a software to do it or a  way to diferentiate them on programming. (Maybe a driver that changes the keypress message of one of the keybaords).

Title: Re: 2 keyboard on 1 pc, XP
Post by: Tedd on November 11, 2005, 12:31:43 PM
The OS will 'know' at some level. But I expect that both keyboards will feed into 'the keyboard driver' from their respective interface drivers (PS/2, USB).  So it would be a matter of obtaining that information from the great and mighty keyboard driver. And unless such a function was provided, which has limited use so it's unlikely, I think you're going to have to get your hands verrrry dirty.
Title: Re: 2 keyboard on 1 pc, XP
Post by: P1 on November 11, 2005, 03:03:59 PM
xanatose,

One way is to code a special USB driver for the USB Keyboard.

Regards,  P1  :8)