Create a MIDI device out of a computer keyboard
So I'm trying to figure out if there's a way for me to connect a second qwerty keyboard to my computer and use that as a midi device in max/msp. Is there a way for me to do that, or at the very least, still connect a second keyboard to my computer without it interfering with the first? It doesn't have to be recognized as midi, but I want the keys on my second keyboard to map to entirely different functions than the first. For example, hitting 'z' on my first keyboard will trigger the letter z as per usual, but hitting 'z' on my second keyboard will activate a kickdrum sound in my max patch.
Have a look at [hi] which should be able to distinguish between your keyboards, the help file should get you up and running. If you want it to be able to play MIDI then have a look at the patch I posted here. You will probably need to change the [coll] contents to map your keypresses to the desired notes.
lh