Simulating keypress events?

Simulating keypress events?

I know that I can use jQueryObj.trigger('keypress') to simulate a key press event, but how can I populate the keypress event attributes?  I am testing an autocomplete plugin which of course requires simulating keystrokes.