Method and device for debouncing of touch spot coordinates of touch screen
A touch screen, de-jitter technology, applied in the input/output process of data processing, instruments, electrical digital data processing and other directions, can solve problems such as large jitter problems, large predetermined threshold values, and inability to eliminate contact coordinate jitter problems, etc. To achieve the effect of eliminating jitter problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] An embodiment of the present invention provides a method for de-jittering touch screen contact coordinates, such as figure 1 As shown, the method includes:
[0029] 101. Obtain the current touch point coordinates of the touch screen.
[0030] Wherein, the acquisition of the current contact coordinates of the touch screen can be implemented according to any method in the prior art, which is not limited in the embodiment of the present invention; for example, when the touch screen is a resistive touch screen, the resistive touch screen will The contact pressure generated by the pen point is converted into a resistance change, and the touch screen controller converts this resistance change into the contact coordinates of the X-axis and Y-axis.
[0031] 102. When the distance between the current touch point coordinates and the previous touch point coordinates is less than or equal to a first threshold, judge the current touch point coordinates according to the current touc...
Embodiment 2
[0039] An embodiment of the present invention provides a method for de-jittering touch screen coordinates. When implementing the method, the distance between the current touch coordinates and its previous touch coordinates, and the distance between the current touch coordinates and its previous The weighted average distance of N contact coordinates determines whether the current contact coordinates jitter; as figure 2 As shown, the method includes:
[0040] 201. Acquire the current touch point coordinates of the touch screen. Wherein, the acquisition of the current touch point coordinates of the touch screen can refer to the description in step 101 in Embodiment 1, which will not be repeated here.
[0041] 202. Calculate the distance between the current touch point coordinates and the previous touch point coordinates.
[0042] For example, the coordinates of the current contact point are (x0, y0), and the coordinates of the previous contact point are (x1, y1), then the dist...
Embodiment 3
[0064] The embodiment of the present invention provides a method for de-jittering touch screen contact coordinates. In the embodiment of the present invention, the average distance between the current contact coordinates and the previous N contact coordinates is used to determine whether the current contact coordinates occur Using dithering as an example to illustrate the method, as image 3 As shown, the method includes:
[0065] 301. Acquire current touch point coordinates on the touch screen.
[0066] Wherein, the acquisition of the current touch point coordinates of the touch screen can refer to the description in step 101 in Embodiment 1, which will not be repeated here.
[0067] 302 . Calculate the distance between the current touch point coordinates and the previous touch point coordinates. For details, refer to the description in step 202 in Embodiment 2, which will not be repeated here.
[0068] 303. Determine whether the distance between the current touch point coo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 