1. In a computer system, a method for providing a user interface for use with a stylus, the method comprising: receiving a stylus-based user input; and responsive to receiving the input, displaying a menu comprising selectable items to allow a user, by selecting one of the selectable items, to direct the computer system to generate right-mouse button input or to interpret one or more subsequent stylus-based user inputs as hover cursor input, keyboard-like input, or handwriting input.