1. A system for performing a function in response to receiving input from a stylus, the system comprising: an electronic device having a display for displaying content to a user and a stylus detection surface for allowing user input via the stylus; and a user interface executable on the device and configured to perform a function in response to a stylus-based touch-sensitive control feature input, the input comprising a swipe gesture received on a touch-sensitive area deployed on a pen-like housing of the stylus; wherein the function includes presenting via the display a first display state of the electronic device in response to a first swipe gesture on the touch-sensitive area deployed on the housing of the stylus, and presenting via the display a second display state in response to a second swipe gesture on the touch-sensitive area deployed on the housing of the stylus, wherein the first display state is visually different from the second display state.