Yes, you can. This is quite easy. First thing to do would be to have a look at
kb.ck in the /examples/hid/ folder, this will teach you how to use the keyboard as a input device. Run that, press the key you'd like to use and see what id it has. You then include a shred that reads from the keyboard like that file does, write some rules to detect the keys you are interested in and link those to commands like;
if(msg.which == my_keynumber) my_envelope.keyOn;
Quite easy once you get the hang of it.
Kas.