News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

2 keyboard on 1 pc, XP

Started by xanatose, November 10, 2005, 08:53:22 PM

Previous topic - Next topic

xanatose

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).


Tedd

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.
No snowflake in an avalanche feels responsible.

P1

xanatose,

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

Regards,  P1  :8)