Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2018-07-31
SHANGHAI ACTIONS SEMICON
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For other digital devices that do not have a touch screen, gesture zooming cannot be achieved
For example, although many set-top box devices have the ability to recognize multi-touch events, the TV screen connected to the set-top box usually does not have the function of a touch screen. You can only use the mouse to control the set-top box to achieve relatively simple operations such as clicking, dragging, Swipe, etc.; when browsing maps, web pages, and pictures, the content cannot be zoomed, and the user experience is not good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for realizing zooming by using middle mouse button and scroll wheel
  • A method and device for realizing zooming by using middle mouse button and scroll wheel
  • A method and device for realizing zooming by using middle mouse button and scroll wheel

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for zooming by a middle mouse button and a scroll wheel. The method includes detecting and pressing the middle mouse button, judging whether the scroll wheel scrolls or not, and if yes, recording two coordinates P1 and P2 on a straight line L passing the current coordinate P0 of a mouse cursor, wherein the P1 and the P2 are arranged on two sides of the P0; judging the scrolling direction of the scroll wheel, if scrolling to the first direction, detecting that the middle mouse button rises, generating two slide events S1 and S2 by the P1 and the P2 as the starting points, and zooming the browsed content according to the slide events S1 and S2 and finishing this process, wherein the slide direction is deviated from the P0 along the straight line L if the slide event S1 takes the P1 as the starting point, and the slide direction is deviated from the P0 along the straight line L if the slide event S2 takes the P2 as the starting point; if scrolling to the second direction, triggering zoom out of the browsed content in the similar way. By adopting the method for zooming by the middle mouse button and the scroll wheel, zooming can be realized conveniently by the mouse, and user experience is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method and device for realizing zooming by using a middle mouse button and a scroll wheel. Background technique [0002] The gesture zoom function is commonly used in digital devices with touch screens such as touch screen smart phones and tablet PCs with multi-touch functions. When the user touches the screen with two (or more) fingers and slides towards each other, it is equivalent to inputting a zoom-out command to the digital device. Conversely, when the user touches the screen with two (or more) fingers and slides in opposite directions , which is equivalent to inputting an enlargement command to the digital device. The gesture zoom function can be used to zoom in or zoom out webpages, pictures, etc. conveniently for users to browse. [0003] The following takes two-point touch as an example to illustrate the basic principle of gesture zooming. First rec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0484G06F3/0487
CPCG06F3/0484G06F3/0487G06F2203/04806
Inventor 周阵阵江峰倪志高陈水德姜喆
Owner SHANGHAI ACTIONS SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products