Keyboard events

when you do a

function press1(event:KeyboardEvent) {

how do you specify what key to hit?