This application claims foreign priority benefits under 35 U.S.C. ยง119 of Chinese Patent Application Serial No. 201010103747.1, filed on Jan. 28, 2010, the content of which is incorporated herein by reference in its entirety.
Exemplary embodiments of the present invention generally relate to a touch device, and in particular, relate to a scrolling method for a touch device and a device using the scrolling method.
Graphical User Interface (GUI) is well known to most of the people. One of the main functions for a GUI is scrolling a window screen (including up-down scrolling and left-right scrolling) to provide easy browsing for a user. Therefore, a scroll bar is provided at an edge of the window (up-down edge or left-right edge) to allow the user to press on and drag along a parallel direction of the scroll bar with a mouse to scroll the window screen.
A touchpad has the advantages of simple, light and low price, so it is widely applied to various kinds of electronic devices to replace primary input devices, for example, to replace mouse for computers.
An input command such as writing and scrolling may be achieved by using a finger or a conductive object to touch the touch device or slide on the touch device to make the cursor to move. For the application of a scrolling bar, a general method is defining scrolling regions to control the scrolling of the scrolling bar. Referring to
In the prior art, each section corresponds to a preset displacement in a specific direction. If the user needs more displacements, the vertical scrolling region 110 and the horizontal scrolling region 120 have to be defined to have a plurality of sections. The more displacements the user needs, the more sections the vertical scrolling region 110 and the horizontal scrolling region 120 have to have. Because the area of the touchpad is limited, the number of the sections can be defined on the vertical scrolling region 110 and the horizontal scrolling region 120 is also limited. Users often need various displacements, which often cannot be satisfied with the limited area.
The present disclosure provides a scrolling method for a touch device and a device using the scrolling method that may provide various displacements.
According to one exemplary embodiment of the invention, a scrolling control method for a touch device comprises the steps of: selecting a scrolling region on the touch device; defining at least two sections on the scrolling region; detecting touches of an object on at least two different sections successively, of which the time period between the touch of the object on the two sections corresponds to a displacement in a specific direction; and controlling a scroll bar to scroll the displacement in the specific direction according to the operation of the object on a window.
According to one exemplary embodiment of the invention, a scrolling control device comprising a touchpad comprising a scrolling region, wherein a time snap between a touch of an object on the two sections of the sections is corresponding to a displacement in a specific direction when at least two sections are touched successively.
According to the scrolling method for a touch device and device using the same, when at least two sections are touched successively, a time snap between a touch of an object on the two sections of the sections is corresponding to a displacement in a specific direction, so the user may obtain different displacements by determining different time spans for himself.
The foregoing summary, as well as the following detailed description of the invention, will be better understood when read in conjunction with the appended drawings. The embodiments illustrated in the figures of the accompanying drawings herein are by way of example and not by way of limitation. In the drawings:
The embodiments of the present invention now will be described in detail hereinafter with reference to the accompanying drawings, in which preferred embodiments of the invention are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In some embodiments of the present invention, two or more than two sections are disposed in a horizontal direction. In some embodiments of the present invention, two or more than two sections are disposed in a vertical direction. In some embodiments of the present invention, two or more than two sections are disposed in the horizontal direction and two or more than two sections are disposed in the vertical direction.
In some embodiments of the present invention, the specific direction comprises a vertical direction. In some embodiments of the present invention, the specific direction comprises a horizontal direction. In some embodiments of the present invention, the specific direction comprises a vertical direction and a horizontal direction. In some embodiments of the present invention, the specific direction comprises a horizontal direction, vertical direction, upper right direction, bottom right direction, upper left direction, and bottom left direction.
In some embodiments of the present invention, a scrolling control device is also provided. The scrolling control device comprises a touchpad comprising a scrolling region, wherein a time span between two touches of an object on the two sections of the scrolling region corresponds to a displacement when at least two sections are touched successively. The displacement is in a specific direction determined by a location relationship between the touched sections.
In some embodiments of the present invention, the specific direction comprises a vertical direction. In some embodiments of the present invention, the specific direction comprises a horizontal direction. In some embodiments of the present invention, the specific direction comprises a vertical direction and a horizontal direction. In some embodiments of the present invention, the specific direction comprises a horizontal direction, a vertical direction, an upper right direction, a bottom right direction, an upper left direction, and a bottom left direction.
In some embodiments of the present invention, the greater the length of the time span T is, the larger the displacement of the scroll bar is. In some embodiments of the present invention, the less the length of the time span T is, the larger the displacement of the scroll bar is.
Referring
detecting a touch on a section, for example, the section 311; resetting a timer and starting timing; terminating timing if a touch of the object is detected on another section, for example, the section 312 and recording a time span T; comparing the time span T with a first reference time and a second reference time; if the time span T is greater than a first reference time Tmin and less than a second reference time Tmax, controlling a scroll bar to scroll a displacement in a specific direction on a window, wherein the displacement is V2 which is determined by the length of the time span T and the specific direction may be upward because the section 312 is above the section 311; if the time span is not between the first reference time Tmin and the second reference time Tmax, detecting a touch on a section again; after the scroll bar is controlled to scroll a displacement, detecting whether the object is still on the touched section 312; if yes, controlling the scroll bar to scroll a same displacement in a same specific direction on the window, and then detecting whether the object is still on the touched section 312 again; if no, resetting a timer and starting timing;
when the object leaves the section 312, resetting a timer and starting timing; terminating timing if a touch of the object is detected on another section, for example, section 313, and recording a time span T; comparing the time span T with a first reference time and a second reference time; if the time span T is greater than a first reference time Tmin and less than a second reference time Tmax, controlling a scroll bar to scroll a displacement in a specific direction on a window, wherein the displacement is V3 which is determined by the length of the time span T and the specific direction may be upward because the section 313 is above the section 312; if the time span T is not between the first reference time Tmin and the second reference time Tmax, detecting a touch on a section again; after the scroll bar is controlled to scroll a displacement, detecting whether the object is still on the touched section 313; if yes, controlling the scroll bar to scroll a same displacement in a same specific direction on the window, and then detecting whether the object is still on the touched section 313 again; if not, resetting a timer and starting timing;
terminating timing if a touch of the object is detected on another section, for example, section 314, and recording a time span T; comparing the time span T with a first reference time and a second reference time, if the time span T is greater than a first reference time Tmin and less than a second reference time Tmax, controlling a scroll bar to scroll a displacement in a specific direction on a window, wherein the displacement is V4 which is determined by the length of the time span T and the specific direction may be upward because the section 314 is above the section 313; if the time span T is not between the first reference time Tmin and the second reference time Tmax, detecting a touch on a section again; after the scroll bar is controlled to scroll a displacement, detecting whether the object is still on the touched section 314; if yes, controlling the scroll bar to scroll a same displacement in a same specific direction on the window, and then detecting whether the object is still on the touched section 314 again; if not, resetting a timer and starting timing;
terminating timing if a touch of the object is detected on another section, for example, section 315, and recording a time span T; comparing the time span T with a first reference time and a second reference time; if the time span T is greater than a first reference time Tmin and less than a second reference time Tmax, controlling a scroll bar to scroll a displacement in a specific direction on a window, wherein the displacement is V5 which is determined by the length of the time span T and the specific direction may be upward because the section 315 is above the section 314; if the time span T is not between the first reference time Tmin and the second reference time Tmax, detecting a touch on a section again; after the scroll bar is controlled to scroll a displacement, detecting whether the object is still on the touched section 315; if yes, controlling the scroll bar to scroll a same displacement in a same specific direction on the window, and then detecting whether the object is still on the touched section 315 again; if not, resetting a timer and starting timing.
In some embodiments of the present invention, if the speed of the object is constant, that is to say that the time spans between every two touches are the same. The displacements are equal, and the scroll bar may scroll at a constant speed.
Referring
Referring
In some embodiments of the present invention, if the speed of the object is constant, that is to say the time spans between every two sections are the same, so the displacements are equal, and the scroll bar may scroll at a constant speed.
Referring
According to the above mentioned embodiments, the specific direction may comprise a horizontal direction, a vertical direction, an upper right direction, a bottom right direction, an upper left direction, and a bottom left direction.
It will be appreciated by those skilled in the art that changes could be made to the examples described above without departing from the broad inventive concept. It is understood, therefore, that this invention is not limited to the particular examples disclosed, but it is intended to cover modifications within the spirit and scope of the present invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201010103747.1 | Jan 2010 | CN | national |