A method (500) and apparatus (601) generate an input signal based on the
orientation of a device. A sensor (302) such as a camera, a gyro, or an
accelerometer detects a change in device orientation and generates a
position input signal that is provided to an application program (612)
such as a game program, a text messaging program, or a user interface
program to affect an operation thereof. The input signal can, for
example, affects a navigation position associated with the application
program.