Patent attributes
An electronic device includes a housing, a display at least partially within the housing, a cover positioned over the display and defining an input surface of the electronic device, a motion sensing system configured to detect a motion of the electronic device, and a touch sensor configured to detect, within a time window after the motion of the electronic device is detected, a contact of an input member of a user on the input surface of the electronic device. The electronic device is configured to determine, for a time prior to the detection of the contact, a relative motion between the input member and the input surface. In accordance with a determination that a characteristic of the relative motion satisfies a threshold condition, the electronic device may determine a second input location based at least in part on the location of the contact and the relative motion.