A method and device for realizing zooming by using middle mouse button and scroll wheel
A mouse and scroll wheel technology, applied in the computer field, can solve problems such as zooming, poor user experience, and inability to realize gesture zooming, so as to realize gesture zooming and enhance user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] This application provides a method of zooming by using the middle mouse button and the scroll wheel, such as figure 1 shown, including the following steps:
[0040] Step 101: Detect that the middle mouse button is pressed, judge whether the mouse wheel is rolling, if so, execute step 102, otherwise exit the process;
[0041] Step 102: Record two coordinates P1 and P2 on the straight line L passing through the current coordinate P0 of the mouse pointer, the P1 and P2 are respectively located on both sides of P0;
[0042] Step 103: Determine the scrolling direction of the mouse wheel, if scrolling in the first direction, execute step 104, and if scrolling in the second direction, execute step 105; the first direction and the second direction are mutually opposite directions, for example, the first The direction is forward, the second direction is backward;
[0043]Step 104: Detect that the middle mouse button is lifted, generate two sliding events S1 and S2 starting fro...
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