# US 12,602,119 B2 · Stylus movement translation switching

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,602,119 B2
- Document ID: US12602119B2
- Status: Granted
- Kind: B2
- Application number: 18/728,795
- Filed: 2023-01-30
- Published: 2025-03-13
- Granted: 2026-04-14
- Earliest claimed: 2022-02-09
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Assaf Bar-Ness; Shoham Dekel
- Web page: https://patentgrep.com/patent/US12602119B2

## CPC

- G06F 3/03545: {Pens or stylus}
- G06F 3/016: {Input arrangements with force or tactile feedback as computer generated output to the user}
- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F 3/0412: {Digitisers structurally integrated in a display}
- G06F 3/0416: {Control or interface arrangements specially adapted for digitisers}
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 2203/04108: Touchless 2D- digitiser, i.e. digitiser detecting the X/Y position of the input means, finger or stylus, also when it does not touch, but is proximate to the digitiser's interaction surface without distance measurement in the Z direction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for a touch-sensitive display device includes detecting a first real-world movement of a stylus from a first surface position to a second surface position separated from the first surface position by a first real-world movement distance. The first real-world movement is translated into a first virtual movement from a first virtual input position to a second virtual input position using an absolute movement translation. Based on one or more movement translation context parameters, movement translation is switched from the absolute movement translation to a relative movement translation. A second real-world movement of the stylus is detected from the second surface position to a third surface position separated from the second surface position by a second real-world movement distance. The second real-world movement is translated into a corresponding second virtual movement from the second virtual input position to a third virtual input position using the relative movement translation.

## Claims

### Claim 1

A method for a touch-sensitive display device, the method comprising:
at a touch-sensitive display of the touch-sensitive display device, detecting a first real-world movement of a stylus from a first surface position to a second surface position, the second surface position being separated from the first surface position by a first real-world movement distance;
using an absolute movement translation to translate the first real-world movement of the stylus into a corresponding first virtual movement from a first virtual input position substantially aligned with the first surface position to a second virtual input position, such that the second virtual input position is substantially aligned with the second surface position, and a first virtual movement distance between the first virtual input position and the second virtual input position is substantially equal to the first real-world movement distance;
based at least in part on one or more movement translation context parameters, switching translation of stylus movements from the absolute movement translation to a relative movement translation;
detecting a second real-world movement of the stylus from the second surface position to a third surface position separated from the second surface position by a second real-world movement distance; and
using the relative movement translation to translate the second real-world movement of the stylus into a corresponding second virtual movement from the second virtual input position to a third virtual input position, such that a second virtual movement distance between the second virtual input position and the third virtual input position is different from the second real-world movement distance;
wherein the relative movement translation uses a first movement translation function to translate the second real-world movement of the stylus into the corresponding second virtual movement when a tip of the stylus is contacting a surface of the touch-sensitive display, and a second movement translation function to translate the second real-world movement of the stylus into the corresponding second virtual movement when the tip of the stylus is spaced away from the surface of the touch-sensitive display; and
wherein the first movement translation function and the second movement translation function differ with respect to the second virtual movement distance for the second real-world movement of the stylus, and wherein the first movement translation function assigns a different weighting to a detected speed or a detected acceleration of the stylus as compared to the second movement translation function.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second real-world movement distance is less than the second virtual movement distance.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first movement translation function assigns a greater weighting to the detected acceleration of the stylus as compared to the second movement translation function, while the second movement translation function assigns a greater weighting to the detected speed of the stylus as compared to the first movement translation function.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more movement translation context parameters include an indication of whether any of the first or second surface positions fall within a virtual trackpad region defined relative to the touch-sensitive display.

### Claim 5 (depends on 4)

The method of claim 4, wherein the virtual trackpad region has a smaller area than the touch-sensitive display.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more movement translation context parameters include an indication of whether the tip of the stylus is contacting the surface of the touch-sensitive display.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more movement translation context parameters include an indication of a status of a mode switching mechanism of the stylus.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more movement translation context parameters include an indication of one or more software applications being executed by the touch-sensitive display device.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more movement translation context parameters include an indication of a portion of a software application graphical interface targeted by either or both of the first and second surface positions.

### Claim 10 (depends on 1)

The method of claim 1, wherein the one or more movement translation context parameters include an indication that recent movements of the stylus relative to the touch-sensitive display are consistent with a predefined gesture.

### Claim 11 (depends on 1)

The method of claim 1, further comprising, while using the relative movement translation, controlling the stylus to provide haptic feedback with haptic characteristics based at least in part on one or more haptic context parameters.

### Claim 12 (depends on 11)

The method of claim 11, wherein the one or more haptic context parameters include the speed of the stylus.

### Claim 13 (depends on 11)

The method of claim 11, wherein the one or more haptic context parameters include an indication of whether the tip of the stylus is contacting the surface of the touch-sensitive display.

### Claim 14

A touch-sensitive display device, comprising:
a touch-sensitive display;
a logic machine; and
a storage machine holding instructions executable by the logic machine to:
at the touch-sensitive display, detect a first real-world movement of a stylus from a first surface position to a second surface position, the second surface position being separated from the first surface position by a first real-world movement distance;
use an absolute movement translation to translate the first real-world movement of the stylus into a corresponding first virtual movement from a first virtual input position substantially aligned with the first surface position to a second virtual input position, such that the second virtual input position is substantially aligned with the second surface position, and a first virtual movement distance between the first virtual input position and the second virtual input position is substantially equal to the first real-world movement distance;
based at least in part on one or more movement translation context parameters, switch translation of stylus movements from the absolute movement translation to a relative movement translation;
detect a second real-world movement of the stylus from the second surface position to a third surface position separated from the second surface position by a second real-world movement distance; and
use the relative movement translation to translate the second real-world movement of the stylus into a corresponding second virtual movement from the second virtual input position to a third virtual input position, such that a second virtual movement distance between the second virtual input position and the third virtual input position is different from the second real-world movement distance;
wherein the relative movement translation uses a first movement translation function to translate the second real-world movement of the stylus into the corresponding second virtual movement when a tip of the stylus is contacting a surface of the touch-sensitive display, and a second movement translation function to translate the second real-world movement of the stylus into the corresponding second virtual movement when the tip of the stylus is spaced away from the surface of the touch-sensitive display; and
wherein the first movement translation function and the second movement translation function differ with respect to the second virtual movement distance for the second real-world movement of the stylus, and wherein the first movement translation function assigns a different weighting to a detected speed or a detected acceleration of the stylus as compared to the second movement translation function.

### Claim 15 (depends on 14)

The touch-sensitive display device of claim 14, wherein the second real-world movement distance is less than the second virtual movement distance.

### Claim 16 (depends on 14)

The touch-sensitive display device of claim 14, wherein the first movement translation function assigns a greater weighting to the detected acceleration of the stylus as compared to the second movement translation function, while the second movement translation function assigns a greater weighting to the detected speed of the stylus as compared to the first movement translation function.

### Claim 17 (depends on 14)

The touch-sensitive display device of claim 14, wherein the one or more movement translation context parameters include an indication of whether any of the first or second surface positions fall within a virtual trackpad region defined relative to the touch-sensitive display.

### Claim 18

A method for a touch-sensitive display device, the method comprising:
at a touch-sensitive display of the touch-sensitive display device, detecting a first real-world movement of a stylus from a first surface position to a second surface position, the second surface position being separated from the first surface position by a first real-world movement distance;
based at least in part on determining that one or both of the first and second surface positions fall within a virtual trackpad region of the touch-sensitive display, using a relative movement translation to translate the first real-world movement of the stylus into a corresponding first virtual movement from a first virtual input position to a second virtual input position, such that a first virtual movement distance between the first virtual input position and the second virtual input position is greater than the first real-world movement distance;
detecting a second real-world movement of the stylus from the second surface position to a third surface position separated from the second surface position by a second real-world movement distance;
based at least in part on the third surface position falling outside the virtual trackpad region, switching translation of stylus movements from the relative movement translation to an absolute movement translation; and
using the absolute movement translation, translating the second real-world movement of the stylus into a corresponding second virtual movement from the second virtual input position to a third virtual input position, such that a second virtual movement distance between the second virtual input position and the third virtual input position is substantially equal to the second real-world movement distance;
wherein the relative movement translation uses a first movement translation function to translate the first real-world movement of the stylus into the corresponding first virtual movement when a tip of the stylus is contacting a surface of the touch-sensitive display, and a second movement translation function to translate the first real-world movement of the stylus into the corresponding first virtual movement when the tip of the stylus is spaced away from the surface of the touch-sensitive display; and
wherein the first movement translation function and the second movement translation function differ with respect to the first virtual movement distance for the first real-world movement of the stylus, and wherein the first movement translation function assigns a different weighting to a detected speed or a detected acceleration of the stylus as compared to the second movement translation function.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first movement translation function assigns a greater weighting to the detected acceleration of the stylus as compared to the second movement translation function, while the second movement translation function assigns a greater weighting to the detected speed of the stylus as compared to the first movement translation function.

### Claim 20 (depends on 18)

The method of claim 18, further comprising, while using the relative movement translation, controlling the stylus to provide haptic feedback with haptic characteristics based at least in part on one or more haptic context parameters.
