Method and system for processing touch event into remote control gesture and remote control terminal
A technology of touch events and events, which is applied in the computer field, can solve the problem of inconvenient remote control operation and achieve the effect of optimizing remote control operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 The implementation flow of the method for processing a touch event into a remote control gesture provided by an embodiment of the present invention is shown, and the details are as follows.
[0027] In step S101, a single-finger sliding event is acquired, and if the time that the finger stays in the single-finger sliding event after being pressed is greater than the mouse mode time threshold, the single-finger sliding event is made to enter the mouse mode, otherwise the single-finger sliding event is A swipe event enters swipe mode.
[0028] The embodiment of the present invention acquires a touch event in which a finger slides after being pressed, that is, a single-finger slide event. If the time that the finger stays on the touch screen in the single-finger sliding event (ie, the time the finger does not move after pressing) is greater than the mouse mode time threshold (MOUSE_TIME_INTERVAL), the single-finger sliding event enters the mouse mode. If the tim...
Embodiment 2
[0041] Different from the first embodiment, this embodiment adds two parameters, the fast sliding time threshold (FLING_INTERVAL) and the short intermediate sliding distance threshold (MID_FLING_SCROLL_DISTANCE), so as to increase the probability of the intermediate sliding event. If a short slide event has occurred, the current finger slide direction is the same as that of the short slide event, the current finger slide time is greater than the fast slide time threshold, and the total finger slide distance is between the short and medium slide distance threshold and the medium slide distance threshold In between, the short swipe event is switched to a middle swipe event, and the middle swipe gesture is triggered by the middle swipe event. Usually, the fast-swipe time threshold and the short-to-medium-swipe distance threshold are set to 120ms and 200px, respectively. Since the short-to-medium-slip distance threshold is between the short-to-medium-slip distance threshold and th...
Embodiment 3
[0044] Different from Embodiments 1 and 2, this embodiment adds the following steps. If a short swipe event has occurred, the current finger swipe direction is the same as that of the short swipe event, the current finger swipe time is less than or equal to the fast swipe time threshold, and the total finger swipe distance is between the short and middle swipe distance threshold and the middle swipe distance Between the thresholds, only the current finger sliding time and distance are recorded, that is, the short swipe event is not switched to a middle swipe event, and the middle swipe gesture is not triggered, so that the probability of the middle swipe event is appropriate. Wherein, the current finger swipe time is the time of finger swipe after the occurrence of the previous event, where the previous event is a short swipe event.
[0045] For example, a short swipe event has occurred, and the current finger swipe direction is the same as that of the short swipe event, which...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com