TWI751649B - Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse - Google Patents

Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse Download PDF

Info

Publication number
TWI751649B
TWI751649B TW109127509A TW109127509A TWI751649B TW I751649 B TWI751649 B TW I751649B TW 109127509 A TW109127509 A TW 109127509A TW 109127509 A TW109127509 A TW 109127509A TW I751649 B TWI751649 B TW I751649B
Authority
TW
Taiwan
Prior art keywords
mouse
cursor
coordinate
mentioned
movement
Prior art date
Application number
TW109127509A
Other languages
Chinese (zh)
Other versions
TW202206985A (en
Inventor
張郁旼
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW109127509A priority Critical patent/TWI751649B/en
Application granted granted Critical
Publication of TWI751649B publication Critical patent/TWI751649B/en
Publication of TW202206985A publication Critical patent/TW202206985A/en

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

A system for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse, includes a mouse mat having a touch panel, a mouse having conductive pads, and a processing device. The processing device obtains an initial cursor-coordinate of the cursor of the mouse on a display, and calculates an initial touch-coordinate of the mouse on the mouse mat; when a mouse movement event and a cursor movement event occur at the same time, sensing a moved touch-coordinate of the mouse on the mouse mat, and obtaining a moved cursor coordinate of the cursor on the display. The processing device further calculates a touch-slope angle and a cursor-slope angle; and determine whether a difference between the touch-slope angle and the cursor-slope angle is within an allowable angle difference range, and/or determines whether a difference between the moved touch-coordinate and the moved cursor-coordinate is within a an allowable coordinate difference range.

Description

判斷滑鼠的游標移動與滑鼠的實際移動是否一 致的方法、系統以及電腦程式產品 Determine whether the cursor movement of the mouse is consistent with the actual movement of the mouse method, system and computer program product

本揭露係有關於一種輸入裝置,特別係有關於利用觸控面板的一種輸入裝置。 The present disclosure relates to an input device, and more particularly, to an input device using a touch panel.

隨著電競產業的發展與盛行,越來越多的廠商朝向電競產業發展。同時,電競玩家或選手對硬體配備的要求也越來越高,特別是關於硬體能否如實反映玩家或選手的操作行為。此外,在以個人電腦為對象的輸入系統中,滑鼠游標位置的誤報或是游標的不正常移動,都會影響到玩家或選手的操作。再者,對任何運動競技而言,公平性的是至關重要的,當然對電競而言也是如此。因此,必須防止有心人士利用第三方程式等方法,使滑鼠游標作出與選手的操作不一致的移動。 With the development and popularity of the e-sports industry, more and more manufacturers are developing towards the e-sports industry. At the same time, e-sports players or players have higher and higher requirements for hardware equipment, especially whether the hardware can faithfully reflect the operation behavior of players or players. In addition, in an input system for a personal computer, a false alarm of the mouse cursor position or an abnormal movement of the cursor will affect the operation of the player or the player. Furthermore, fairness is crucial to any sports competition, and certainly to eSports as well. Therefore, it is necessary to prevent the intentional person from using the third equation and other methods to make the mouse cursor move inconsistent with the player's operation.

綜上所述,需要一種系統及方法,能夠偵測並判斷 滑鼠游標的移動與滑鼠本身的實際移動是否一致。如此一來,能夠避免游標的誤報及不正常移動所造成的影響,或是防止作弊行為的產生。 In summary, there is a need for a system and method capable of detecting and judging Whether the movement of the mouse cursor is consistent with the actual movement of the mouse itself. In this way, the influence caused by the false alarm and abnormal movement of the cursor can be avoided, or the occurrence of cheating behaviors can be prevented.

為了判斷滑鼠游標的移動與滑鼠本身的實際移動是否一致,本揭露實施例提供一種判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法。上述方法包括執行第一感測操作獲取滑鼠的游標在顯示器上的初始游標座標,以及計算滑鼠在滑鼠墊上對應顯示器的初始觸控座標;執行第一判斷操作,判斷滑鼠是否發生滑鼠移動事件,以及判斷游標是否發生游標移動事件;以及當第一判斷操作判斷同時發生滑鼠移動事件及游標移動事件時,執行第二感測操作,感測滑鼠在滑鼠墊上的移動後觸控座標,以及獲取游標在顯示器上的移動後游標座標。上述方法包括更執行計算操作,根據初始觸控座標及移動後觸控座標計算觸控斜率角度,以及根據初始游標座標及移動後游標座標計算游標斜率角度;以及執行第二判斷操作,判斷觸控斜率角度與上述游標斜率角度之間的角度差值是否處於容許角度差值範圍內,及/或判斷移動後觸控座標與移動後游標座標之間的座標差值是否處於容許座標差值範圍內。上述方法進一步包括執行第二過濾操作,當角度差值處於容許角度差值範圍內且座標差值處於容許座標差值範圍內時,第二過濾操作允許游標移動事件,使游標的游標移動事件顯示在顯示器上。上述方法可再進一步 包括當角度差值不在容許角度差值範圍內,及/或座標差值不在容許座標差值範圍內時,第二過濾操作濾掉游標移動事件,使游標的游標移動事件不會顯示在顯示器上。藉由上述判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,可以偵測游標的不正常移動,且藉由第二過濾操作的過濾,可以進一步防止作弊行為的產生。 In order to determine whether the movement of the mouse cursor is consistent with the actual movement of the mouse itself, an embodiment of the present disclosure provides a method for determining whether the cursor movement of the mouse is consistent with the actual movement of the mouse. The above method includes performing a first sensing operation to obtain the initial vernier coordinates of the mouse cursor on the display, and calculating the initial touch coordinates of the mouse corresponding to the display on the mouse pad; performing a first judging operation to determine whether the mouse has slipped. mouse movement event, and determine whether a cursor movement event occurs on the cursor; and when the first determination operation determines that the mouse movement event and the cursor movement event occur at the same time, perform a second sensing operation, after sensing the movement of the mouse on the mouse pad Touch coordinates, and get the cursor coordinates after moving the cursor on the display. The above method includes further performing a calculation operation, calculating the touch slope angle according to the initial touch coordinates and the moved touch coordinates, and calculating the vernier slope angle according to the initial vernier coordinates and the moved vernier coordinates; and performing a second judgment operation to judge the touch Whether the angle difference between the slope angle and the above-mentioned cursor slope angle is within the allowable angle difference range, and/or whether the coordinate difference between the moved touch coordinates and the moved cursor coordinates is within the allowable coordinate difference range . The above method further includes performing a second filtering operation, when the angle difference is within the allowable angle difference range and the coordinate difference is within the allowable coordinate difference range, the second filtering operation allows the cursor movement event to display the cursor movement event of the cursor on the display. The above method can be further Including, when the angle difference is not within the allowable angle difference range, and/or the coordinate difference value is not within the allowable coordinate difference value range, the second filtering operation filters out the cursor movement event, so that the cursor movement event of the cursor will not be displayed on the display. . By the above method of judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse, abnormal movement of the cursor can be detected, and by the filtering of the second filtering operation, the occurrence of cheating can be further prevented.

為了判斷滑鼠游標的移動與滑鼠本身的實際移動是否一致,本揭露實施例提供一種判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統。上述系統包括具有觸控面板的滑鼠墊;具有複數導電墊的滑鼠,當滑鼠***作時,複數導電墊與觸控面板接觸;以及與滑鼠墊及滑鼠連接的電腦系統,電腦系統包括:處理裝置;顯示器,顯示滑鼠的游標;以及儲存裝置,儲存滑鼠的一控制程式。當上述控制程式由處理裝置執行時,會使電腦系統執行下列操作:第一感測操作,獲取滑鼠的游標在顯示器上的初始游標座標,以及計算滑鼠在滑鼠墊上對應顯示器的初始觸控座標;第一判斷操作,判斷滑鼠是否發生滑鼠移動事件,以及判斷游標是否發生游標移動事件;當第一判斷操作判斷同時發生滑鼠移動事件及游標移動事件時,執行第二感測操作,感測滑鼠在滑鼠墊上的移動後觸控座標,以及獲取游標在顯示器上的移動後游標座標。電腦系統更執行下列操作:計算操作,根據初始觸控座標及移動後觸控座標計算觸控斜率角度,以及根據初始游標座標及移動後游標座標計算游標斜率角度;以及第二判斷操作,判斷觸控斜率角度與游標斜率角度之間的角度差值是否處於容許角度差值範圍內,及/或判斷移動後觸控座標 與移動後游標座標之間的座標差值是否處於容許座標差值範圍內。上述控制程式進一步使電腦系統執行第二過濾操作,當角度差值處於容許角度差值範圍內且座標差值處於容許座標差值範圍內時,第二過濾操作允許游標移動事件,使游標的游標移動事件顯示在顯示器上。再進一步地,當角度差值不在容許角度差值範圍內,及/或座標差值不在容許座標差值範圍內時,第二過濾操作可濾掉游標移動事件,使游標的游標移動事件不會顯示在顯示器上。藉由上述判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統,可以偵測游標的不正常移動,且藉由第二過濾操作的過濾,可以進一步防止作弊行為的產生。 In order to determine whether the movement of the mouse cursor is consistent with the actual movement of the mouse itself, an embodiment of the present disclosure provides a system for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse. The above system includes a mouse pad with a touch panel; a mouse with a plurality of conductive pads, when the mouse is operated, the plurality of conductive pads are in contact with the touch panel; and a computer system connected with the mouse pad and the mouse, the computer The system includes: a processing device; a display, which displays the cursor of the mouse; and a storage device, which stores a control program of the mouse. When the above control program is executed by the processing device, it will cause the computer system to perform the following operations: a first sensing operation, obtaining the initial cursor coordinates of the mouse cursor on the display, and calculating the initial touch of the mouse on the mouse pad corresponding to the display Control coordinates; the first judgment operation is to judge whether a mouse movement event occurs on the mouse, and whether a cursor movement event occurs on the cursor; when the first judgment operation judges that a mouse movement event and a cursor movement event occur at the same time, the second sensing is performed operation, sense the touch coordinates after the mouse moves on the mouse pad, and obtain the cursor coordinates after the cursor moves on the display. The computer system further performs the following operations: a calculation operation, calculating the touch slope angle according to the initial touch coordinates and the moved touch coordinates, and calculating the vernier slope angle according to the initial vernier coordinates and the moved cursor coordinates; and a second judgment operation, judging the touch slope angle. Whether the angle difference between the control slope angle and the cursor slope angle is within the allowable angle difference range, and/or determine the touch coordinates after moving Whether the coordinate difference value from the moved cursor coordinate is within the allowable coordinate difference value range. The above control program further causes the computer system to perform a second filtering operation. When the angle difference is within the allowable angle difference range and the coordinate difference is within the allowable coordinate difference range, the second filtering operation allows the cursor to move the event, so that the cursor of the cursor is moved. Movement events are shown on the display. Still further, when the angle difference is not within the allowable angle difference range, and/or the coordinate difference is not within the allowable coordinate difference range, the second filtering operation can filter out the cursor movement event, so that the cursor movement event of the cursor will not be. displayed on the display. With the above-mentioned system for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse, the abnormal movement of the cursor can be detected, and the occurrence of cheating can be further prevented by filtering through the second filtering operation.

100:輸入裝置 100: Input device

110:滑鼠 110: Mouse

130:觸控面板 130: touch panel

140:通訊裝置 140: Communication device

160:觸控座標 160: Touch coordinates

200:電腦系統 200: Computer Systems

210:處理裝置 210: Processing device

220:儲存裝置 220: Storage Device

240:通訊裝置 240: Communication Device

250:顯示器 250: Monitor

260:游標座標 260: vernier coordinates

110A,110B,110C:滑鼠 110A, 110B, 110C: Mouse

160A,160B,160C:觸控座標 160A, 160B, 160C: Touch coordinates

170A1,170A2:導電軟墊 170A1, 170A2: Conductive cushion

170B1,170B2,170B3:導電軟墊 170B1, 170B2, 170B3: Conductive cushion

170C1,170C2,170C3,170C4:導電軟墊 170C1, 170C2, 170C3, 170C4: Conductive cushion

360:初始觸控座標 360: Initial touch coordinates

460:初始游標座標 460: Initial cursor coordinates

560:移動後觸控座標 560: Touch coordinates after moving

660:移動後游標座標 660: Cursor coordinates after moving

M:觸控斜率 M: Touch slope

N:游標斜率 N: Vernier slope

θM:觸控斜率角度 θ M : Touch slope angle

θN:游標斜率角度 θ N : Vernier slope angle

601:第一觸控座標 601: The first touch coordinates

602:第二觸控座標 602: Second touch coordinates

603:第三觸控座標 603: The third touch coordinate

604:第四觸控座標 604: Fourth touch coordinate

605:第五觸控座標 605: Fifth touch coordinates

t1:第一時間 t1: the first time

t2:第二時間 t2: second time

t3:第三時間 t3: the third time

t4:第四時間 t4: Fourth time

t5:第五時間 t5: Fifth time

a12,a23,a34:加速度 a12, a23, a34: acceleration

S:斜率 S: slope

700:控制方法 700: Control Method

710~774:操作 710~774: Operation

本揭露從後續實施方式及附圖可更佳理解。須強調的是,依據產業之標準作法,各種特徵並未按比例繪製,並僅用於說明之目的。事實上,各種特徵之尺寸可能任意增加或減少以清楚論述。亦須強調的是,所附之附圖僅出示本發明之典型實施例,不應認為是對範圍之限制,因為本揭露亦可適用於其他實施例。 The present disclosure can be better understood from the following embodiments and accompanying drawings. It is emphasized that, in accordance with standard industry practice, the various features are not drawn to scale and are used for illustration purposes only. In fact, the dimensions of the various features may be arbitrarily increased or decreased for clarity of discussion. It is also emphasized that the appended drawings illustrate only typical embodiments of this invention and are not to be considered limiting in scope, as the present disclosure may apply to other embodiments.

第1圖係根據本揭露實施例所示的輸入裝置的示意圖。 FIG. 1 is a schematic diagram of an input device according to an embodiment of the present disclosure.

第2A圖至第2C圖係根據本揭露實施例所示,滑鼠下方之導電軟墊的座標與滑鼠的觸控座標的示意圖。 2A to 2C are schematic diagrams showing the coordinates of the conductive pad under the mouse and the touch coordinates of the mouse according to an embodiment of the present disclosure.

第3A圖及第3B圖係根據本揭露實施例所示,觸控座標的相對位置校正的示意圖。 3A and 3B are schematic diagrams illustrating relative position correction of touch coordinates according to an embodiment of the present disclosure.

第4圖係根據本揭露實施例所示,滑鼠游標以及滑鼠本身同時發生移動事件的示意圖。 FIG. 4 is a schematic diagram of simultaneous movement events of the mouse cursor and the mouse itself according to an embodiment of the present disclosure.

第5圖係根據本揭露實施例所示,觸控斜率與游標斜率的示意圖。 FIG. 5 is a schematic diagram of a touch slope and a cursor slope according to an embodiment of the present disclosure.

第6圖係根據本揭露實施例所示,觸控斜率的預測的示意圖。 FIG. 6 is a schematic diagram of prediction of touch slope according to an embodiment of the present disclosure.

第7圖係根據本揭露實施例所示,用於輸入裝置的控制方法的流程圖。 FIG. 7 is a flowchart of a control method for an input device according to an embodiment of the present disclosure.

以下之揭露提供許多不同實施例或範例,用以實施本揭露之不同特徵。本揭露之各部件及排列方式,其特定範例敘述於下以簡化說明。理所當然的,這些範例並非用以限制本揭露。舉例來說,若敘述中有著第一特徵成形於第二特徵之上或上方,其可能包含第一特徵與第二特徵以直接接觸成形之實施例,亦可能包含有附加特徵形成於第一特徵與第二特徵之間,而使第一特徵與第二特徵間並非直接接觸之實施例。此外,本揭露可在多種範例中重複參考數字及/或字母。該重複之目的係為簡化及清晰易懂,且本身並不規定所討論之多種實施例及/或配置間之關係。 The following disclosure provides many different embodiments or examples for implementing various features of the present disclosure. Specific examples of the various components and arrangements of the present disclosure are described below to simplify the description. Of course, these examples are not intended to limit the present disclosure. For example, where the description has a first feature formed on or over a second feature, it may include embodiments where the first feature and the second feature are formed in direct contact, and may also include additional features formed on the first feature between the first feature and the second feature without direct contact between the first feature and the second feature. Furthermore, the present disclosure may repeat reference numerals and/or letters in various instances. This repetition is for simplicity and clarity, and does not in itself prescribe the relationship between the various embodiments and/or configurations discussed.

進一步來說,本揭露可能會使用空間相對術語,例如「在...下方」、「下方」、「低於」、「在...上方」、「高於」及類似詞彙,以便於敘述圖式中一個元件或特徵與其他元件或特徵間之關係。除了圖式所描繪之方位外,空間相對術語亦欲涵蓋使用中或操作中之裝置其不同方位。設備可能會被轉向不同方位(旋轉 90度或其他方位),而此處所使用之空間相對術語則可相應地進行解讀。 Further, this disclosure may use spatially relative terms such as "below", "below", "below", "above", "above" and similar terms for ease of description The relationship of one element or feature to other elements or features in the drawings. In addition to the orientation depicted in the drawings, spatially relative terms are intended to encompass different orientations of the device in use or operation. The device may be turned in a different orientation (rotation 90 degrees or other orientation), and the spatially relative terms used herein are to be interpreted accordingly.

再進一步來說,除非特定否認,單數詞包含複數詞,反之亦然。而當一數字或一數字範圍以「大約」、「大概」或類似之用語描述,該用語旨在涵蓋包括所述數字在內之合理數字,例如所述數字之+/-10%或於本技術領域中具有通常知識者所理解之其他數值。此外,本揭露並不限於所示之動作或事件之順序,因為一些動作可以不同之順序發生及/或與其他動作或事件同時發生。此外,並非所有出示的動作或事件皆為實施根據本揭露之方法所必需的。 Furthermore, unless specifically denied, a singular word includes a plural word and vice versa. And when a number or a range of numbers is described by "about", "approximately" or similar terms, the term is intended to cover reasonable numbers including the stated number, such as +/- 10% of the stated number or within this There are other values understood by those of ordinary skill in the art. Furthermore, the present disclosure is not limited to the order of acts or events shown, as some acts may occur in different orders and/or concurrently with other acts or events. Furthermore, not all acts or events shown are necessary to implement methods in accordance with the present disclosure.

為了避免滑鼠游標的誤報以及不正常移動,或是防止利用滑鼠的作弊行為,本揭露提供一種用於電腦系統的輸入裝置及控制方法。該輸入裝置及控制方法會偵測滑鼠的實際移動及實際位置,並將滑鼠的實際移動及實際位置與滑鼠游標的移動及位置進行比較,以判斷滑鼠的實際行為是否與滑鼠游標的行為一致。如此一來,便可以判斷滑鼠游標是否如實地反映了滑鼠的實際行為。同時,當滑鼠的實際行為與滑鼠游標的行為不一致時,還可以濾除滑鼠游標的行為,以確保顯示器只會顯示出滑鼠的實際行為。 In order to avoid false alarms and abnormal movements of the mouse cursor, or to prevent cheating by using the mouse, the present disclosure provides an input device and a control method for a computer system. The input device and the control method detect the actual movement and actual position of the mouse, and compare the actual movement and actual position of the mouse with the movement and position of the mouse cursor, so as to determine whether the actual behavior of the mouse is consistent with that of the mouse. Cursors behave the same. In this way, it can be determined whether the mouse cursor faithfully reflects the actual behavior of the mouse. Meanwhile, when the actual behavior of the mouse is inconsistent with the behavior of the mouse cursor, the behavior of the mouse cursor can also be filtered out, so as to ensure that the display only shows the actual behavior of the mouse.

第1圖係根據本揭露實施例所示,輸入裝置100的示意圖。輸入裝置100包括滑鼠110以及包括觸控面板130的滑鼠墊(或是以觸控面板130作為滑鼠墊)。當滑鼠110***作時,會與觸控面板130接觸。滑鼠110及觸控面板130可藉由有線或無線的方式連 接到電腦系統200。電腦系統200包括處理裝置210、儲存裝置220、通訊裝置240、以及顯示器250。觸控面板130可藉由通訊裝置140以有線或無線的方式連接到通訊裝置240,並因此連接到電腦系統200。當滑鼠110***作時,會在顯示器250上產生游標座標260。且當滑鼠110***作時,藉由滑鼠110與觸控面板130的接觸,會在觸控面板130上產生觸控座標160。 FIG. 1 is a schematic diagram of an input device 100 according to an embodiment of the present disclosure. The input device 100 includes a mouse 110 and a mouse pad including a touch panel 130 (or using the touch panel 130 as a mouse pad). When the mouse 110 is operated, it will come into contact with the touch panel 130 . The mouse 110 and the touch panel 130 can be connected in a wired or wireless manner. Connected to computer system 200 . The computer system 200 includes a processing device 210 , a storage device 220 , a communication device 240 , and a display 250 . The touch panel 130 can be connected to the communication device 240 through the communication device 140 in a wired or wireless manner, and thus connected to the computer system 200 . When the mouse 110 is operated, the cursor coordinates 260 are generated on the display 250 . And when the mouse 110 is operated, the touch coordinates 160 are generated on the touch panel 130 through the contact between the mouse 110 and the touch panel 130 .

在本揭露實施例中,滑鼠底部更設置有導電軟墊,其材質例如為導電橡膠、導電泡棉、導電貼紙等。在一些實施例中,以上述導電軟墊取代滑鼠底部原本的軟墊。藉由滑鼠110下方的導電軟墊與觸控面板130的接觸,觸控面板130得以偵測到滑鼠110。由於觸控面板130與電腦系統200連接,因此電腦系統200可取得滑鼠110的導電軟墊在觸控面板130上的座標。電腦系統200(更精確地說,處理裝置210)可藉由導電軟墊在觸控面板130上的座標,計算出滑鼠110在觸控面板130上的觸控座標160。 In the disclosed embodiment, the bottom of the mouse is further provided with a conductive soft pad, the material of which is, for example, conductive rubber, conductive foam, and conductive stickers. In some embodiments, the above-mentioned conductive soft pads are used to replace the original soft pads at the bottom of the mouse. The touch panel 130 detects the mouse 110 through the contact between the conductive pad under the mouse 110 and the touch panel 130 . Since the touch panel 130 is connected to the computer system 200 , the computer system 200 can obtain the coordinates of the conductive pad of the mouse 110 on the touch panel 130 . The computer system 200 (more precisely, the processing device 210 ) can calculate the touch coordinates 160 of the mouse 110 on the touch panel 130 by using the coordinates of the conductive soft pad on the touch panel 130 .

在一些實施例中,是以所有軟墊的X軸座標的平均值作為觸控座標的X軸座標,並以所有導電軟墊的Y軸座標的平均值作為觸控座標的Y軸座標,但不限於此。可根據導電軟墊的數量以及導電軟墊所排列的形狀,以不同的方式定義出觸控座標。 In some embodiments, the average value of the X-axis coordinates of all the soft pads is used as the X-axis coordinate of the touch coordinate, and the average value of the Y-axis coordinates of all the conductive soft pads is used as the Y-axis coordinate of the touch coordinate, but Not limited to this. The touch coordinates can be defined in different ways according to the number of the conductive pads and the arranged shape of the conductive pads.

第2A圖至第2C圖係根據本揭露實施例所示,滑鼠底部之導電軟墊的座標與滑鼠的觸控座標的示意圖。第2A圖至第2C圖用於說明滑鼠的導電軟墊與觸控座標之間的關係。如第2A圖所示,滑鼠110A具有兩個導電軟墊:導電軟墊170A1及導電軟墊 170A2。當導電軟墊170A1在觸控面板(例如:觸控面板130)上的座標為(xA1,yA1),且導電軟墊170A2在觸控面板上的座標為(xA2,yA2)時,滑鼠110A的觸控座標160A的座標為((xA1+xA2)/2,(yA1+yA2)/2)。 2A to 2C are schematic diagrams showing the coordinates of the conductive pad at the bottom of the mouse and the touch coordinates of the mouse according to an embodiment of the present disclosure. 2A to 2C are used to illustrate the relationship between the conductive pad of the mouse and the touch coordinates. As shown in FIG. 2A, the mouse 110A has two conductive pads: a conductive pad 170A1 and a conductive pad 170A2. When the coordinates of the conductive pad 170A1 on the touch panel (eg, the touch panel 130 ) are (x A1 , y A1 ), and the coordinates of the conductive pad 170A2 on the touch panel are (x A2 , y A2 ) , the coordinates of the touch coordinates 160A of the mouse 110A are ((x A1 +x A2 )/2, (y A1 +y A2 )/2).

如第2B圖所示,滑鼠110B具有三個導電軟墊:導電軟墊170B1、導電軟墊170B2、以及導電軟墊170B3。當導電軟墊170B1在觸控面板(例如:觸控面板130)上的座標為(xB1,yB1),導電軟墊170B2在觸控面板上的座標為(xB2,yB2),且導電軟墊170B3在觸控面板上的座標為(xB3,yB3)時,滑鼠110B的觸控座標160B的座標為((xB1+xB2+xB3)/3,(yB1+yB2+yB3)/3)。 As shown in FIG. 2B, the mouse 110B has three conductive pads: a conductive pad 170B1, a conductive pad 170B2, and a conductive pad 170B3. When the coordinates of the conductive pad 170B1 on the touch panel (eg, the touch panel 130 ) are (x B1 , y B1 ), the coordinates of the conductive pad 170B2 on the touch panel are (x B2 , y B2 ), and When the coordinates of the conductive pad 170B3 on the touch panel are (x B3 , y B3 ), the coordinates of the touch coordinates 160B of the mouse 110B are ((x B1 +x B2 +x B3 )/3,(y B1 + y B2 +y B3 )/3).

如第2C圖所示,滑鼠110C具有四個導電軟墊:導電軟墊170C1、導電軟墊170C2、導電軟墊170C3、以及導電軟墊170C4。當導電軟墊170C1在觸控面板(例如:觸控面板130)上的座標為(xC1,yC1),導電軟墊170C2在觸控面板上的座標為(xC2,yC2),導電軟墊170C3在觸控面板上的座標為(xC3,yC3),且導電軟墊170C4在觸控面板上的座標為(xC4,yC4)時,滑鼠110C的觸控座標160C為((xC1+xC2+xC3+xC4)/4,(yC1+yC2+yC3+yC4)/4)。 As shown in FIG. 2C, the mouse 110C has four conductive pads: a conductive pad 170C1, a conductive pad 170C2, a conductive pad 170C3, and a conductive pad 170C4. When the coordinates of the conductive pad 170C1 on the touch panel (eg, the touch panel 130 ) are (x C1 , y C1 ), the coordinates of the conductive pad 170C2 on the touch panel are (x C2 , y C2 ), the conductive When the coordinates of the soft pad 170C3 on the touch panel are (x C3 , y C3 ), and the coordinates of the conductive soft pad 170C4 on the touch panel are (x C4 , y C4 ), the touch coordinates 160C of the mouse 110C are ((x C1 +x C2 +x C3 +x C4 )/4,(y C1 +y C2 +y C3 +y C4 )/4).

在一些實施例中,在感測到滑鼠的導電軟墊及/或取得滑鼠的觸控座標後,電腦系統可濾除觸控面板上的其他接觸。舉例來說,電腦系統會根據導電軟墊的座標資訊,保留導電軟墊的觸控資訊。同時,電腦系統會濾除觸控面板上的其他非導電軟墊的接觸資訊,例如滑鼠使用者的手部接觸或其他異物的接觸。 In some embodiments, after sensing the conductive pad of the mouse and/or obtaining the touch coordinates of the mouse, the computer system can filter out other contacts on the touch panel. For example, the computer system will retain the touch information of the conductive pad according to the coordinate information of the conductive pad. At the same time, the computer system filters out the contact information of other non-conductive soft pads on the touch panel, such as the mouse user's hand contact or the contact of other foreign objects.

當輸入裝置被連接到電腦系統並開始操作時,電腦系統首先會取得滑鼠在顯示器上的游標座標,並取得滑鼠在滑鼠墊上的觸控座標。舉例來說,電腦系統200會取得滑鼠110在顯示器250上的游標座標260,以及取得滑鼠110在觸控面板130上的觸控座標160。接著,電腦系統會根據游標座標對觸控座標進行相對位置校正。舉例來說,電腦系統200(更精確地說,處理裝置210)會根據游標座標260對觸控座標160進行相對位置校正,以使用顯示器250的座標系統來表示觸控座標160。校正後的觸控座標160與游標座標260使用相同的座標系統,且校正後的觸控座標160大致上等於游標座標260。 When the input device is connected to the computer system and starts to operate, the computer system first obtains the cursor coordinates of the mouse on the display, and obtains the touch coordinates of the mouse on the mouse pad. For example, the computer system 200 obtains the cursor coordinates 260 of the mouse 110 on the display 250 and obtains the touch coordinates 160 of the mouse 110 on the touch panel 130 . Then, the computer system will perform relative position correction on the touch coordinates according to the vernier coordinates. For example, the computer system 200 (more precisely, the processing device 210 ) performs relative position correction on the touch coordinates 160 according to the vernier coordinates 260 , so as to use the coordinate system of the display 250 to represent the touch coordinates 160 . The corrected touch coordinates 160 and the vernier coordinates 260 use the same coordinate system, and the corrected touch coordinates 160 are substantially equal to the vernier coordinates 260 .

在一些實施例中,校正後的觸控座標160與游標座標260使用顯示器250的像素作為座標,但本揭露不限於此。舉例來說,若顯示器的解析度為1280*800,則觸控座標與游標座標所使用的座標系統在X軸上會有1~1280共1280個座標點,且在Y軸上會有1~800共800個座標點。在一些實施例中,觸控面板具有與顯示器相同的解析度。在一些其他實施例中,觸控面板的解析度可被調整為與顯示器相同。不過,使用者或製造商可根據實際產品的需求,自行定義合適的座標系統。 In some embodiments, the corrected touch coordinates 160 and vernier coordinates 260 use pixels of the display 250 as coordinates, but the present disclosure is not limited thereto. For example, if the resolution of the display is 1280*800, the coordinate system used by the touch coordinates and the cursor coordinates will have a total of 1280 coordinate points from 1 to 1280 on the X axis, and there will be 1~1280 on the Y axis. 800 has a total of 800 coordinate points. In some embodiments, the touch panel has the same resolution as the display. In some other embodiments, the resolution of the touch panel can be adjusted to be the same as the display. However, users or manufacturers can define a suitable coordinate system according to the actual product requirements.

第3A圖及第3B圖係根據本揭露實施例所示,觸控座標的相對位置校正的示意圖。第3A圖為校正前的示意圖,而第3B圖則為校正後的示意圖。當滑鼠110被放置在觸控面板130上時,電腦系統200首先會取得滑鼠110在觸控面板130上的觸控座標160, 並取得滑鼠游標在顯示器250上的游標座標260,如第3A圖所示。其中觸控座標160的座標為(xc,yc),而游標座標260的座標為(x0’,y0’)。 3A and 3B are schematic diagrams illustrating relative position correction of touch coordinates according to an embodiment of the present disclosure. FIG. 3A is a schematic diagram before calibration, and FIG. 3B is a schematic diagram after calibration. When the mouse 110 is placed on the touch panel 130, the computer system 200 first obtains the touch coordinates 160 of the mouse 110 on the touch panel 130, and obtains the cursor coordinates 260 of the mouse cursor on the display 250, such as shown in Figure 3A. The coordinates of the touch coordinates 160 are (x c , y c ), and the coordinates of the vernier coordinates 260 are (x 0 ', y 0 ').

接著,電腦系統200會根據游標座標260的座標(x0’,y0’)對觸控座標160的座標(xc,yc)進行相對位置校正。校正後的觸控座標160的座標被重新定義為座標(x0,y0),且被稱為初始觸控座標360,如第3B圖所示。校正後的游標座標260的座標仍舊保持(x0’,y0’),但被改稱為初始游標座標460。其中初始觸控座標360的座標(x0,y0)大致上等於初始游標座標460的座標(x0’,y0’)。在理想狀況下,座標(x0,y0)等於座標(x0’,y0’)。然而,若在校正時受到外力影響(例如:滑鼠及/或滑鼠墊的震動),座標(x0,y0)可能會不等於座標(x0’,y0’),但兩者仍會相當接近。 Next, the computer system 200 performs relative position correction on the coordinates (x c , y c ) of the touch coordinates 160 according to the coordinates (x 0 ', y 0 ') of the vernier coordinates 260 . The coordinates of the corrected touch coordinates 160 are redefined as coordinates (x 0 , y 0 ), and are referred to as initial touch coordinates 360 , as shown in FIG. 3B . The coordinates of the corrected vernier coordinate 260 still remain (x 0 ', y 0 '), but are renamed the original vernier coordinate 460 . The coordinates (x 0 , y 0 ) of the initial touch coordinates 360 are substantially equal to the coordinates (x 0 ', y 0 ') of the initial vernier coordinates 460 . Ideally, coordinates (x 0 , y 0 ) are equal to coordinates (x 0 ', y 0 '). However, if the calibration is affected by external force (for example, the vibration of the mouse and/or the mouse pad), the coordinates (x 0 , y 0 ) may not be equal to the coordinates (x 0 ', y 0 '), but the two would still be fairly close.

舉例來說,假設觸控座標160的座標為(100,100),而游標座標260的座標為(200,200)。在理想情況下,校正後的觸控座標160的座標會變成(200,200),且校正後的觸控座標160會被改稱為初始觸控座標360。 For example, it is assumed that the coordinates of the touch coordinates 160 are (100, 100), and the coordinates of the cursor coordinates 260 are (200, 200). Ideally, the coordinates of the corrected touch coordinates 160 will become (200, 200), and the corrected touch coordinates 160 will be renamed as the original touch coordinates 360 .

在一些實施例中,每當滑鼠110自觸控面板130上被移除並重新被放置在觸控面板130上時,電腦系統200會重新進行相對位置校正。在一些實施例中,每當滑鼠110在觸控面板130上靜止超過一特定時間時,電腦系統200會重新進行相對位置校正。特定時間可為1到10秒,但不限於此。在一些實施例中,每隔一特定時間間隔,電腦系統200會重新進行相對位置校正。特定時間間隔可 為10毫秒到10秒,但不限於此。 In some embodiments, each time the mouse 110 is removed from the touch panel 130 and repositioned on the touch panel 130 , the computer system 200 will re-calibrate the relative position. In some embodiments, the computer system 200 re-calibrates the relative position whenever the mouse 110 remains stationary on the touch panel 130 for more than a certain period of time. The specific time may be 1 to 10 seconds, but is not limited thereto. In some embodiments, the computer system 200 re-calibrates the relative position every specific time interval. specific time interval 10 milliseconds to 10 seconds, but not limited to.

在校正觸控座標後,電腦系統會開始判斷滑鼠游標以及滑鼠本身是否發生移動事件。舉例來說,當滑鼠110的觸控座標發生變化時(變得不同於初始觸控座標360的座標(x0,y0)),電腦系統200會判斷滑鼠本身發生移動事件。舉例來說,當游標座標發生變化時(變得不同於初始游標座標460的座標(x0’,y0’)),電腦系統200會判斷滑鼠游標發生移動事件。 After correcting the touch coordinates, the computer system will start to determine whether the mouse cursor and the mouse itself have a movement event. For example, when the touch coordinates of the mouse 110 change (become different from the coordinates (x 0 , y 0 ) of the initial touch coordinates 360 ), the computer system 200 determines that the mouse itself has a movement event. For example, when the cursor coordinates change (become different from the coordinates (x 0 ', y 0 ') of the initial cursor coordinates 460 ), the computer system 200 determines that the mouse cursor is moved.

應注意的是,由於滑鼠游標是經由電腦系統移動,因此無論產生移動的原因為何(例如:第三方程式或滑鼠的實際移動),電腦系統都會知道滑鼠游標發生了移動事件。此外,還應注意的是,上述對滑鼠游標的移動事件的判斷,是在電腦系統內部進行。此時滑鼠游標的移動事件尚未實際顯示在顯示器上。 It should be noted that since the mouse cursor is moved by the computer system, the computer system will know that the mouse cursor has moved regardless of the reason for the movement (eg, the third equation or the actual movement of the mouse). In addition, it should also be noted that the above judgment on the movement event of the mouse cursor is performed inside the computer system. At this point the mouse cursor movement event has not actually been displayed on the display.

在一些實施例中,當滑鼠游標發生移動事件但滑鼠本身沒有發生移動事件時,電腦系統會濾除滑鼠游標的移動事件。如此一來,顯示器將不會顯示滑鼠游標的移動。在一些其他實施例中,當滑鼠游標發生移動事件但滑鼠本身沒有發生移動事件時,電腦系統仍不會濾除滑鼠游標的移動事件。如此一來,顯示器將會顯示滑鼠游標的移動。 In some embodiments, when the mouse cursor has a moving event but the mouse itself does not have a moving event, the computer system will filter out the moving event of the mouse cursor. As a result, the monitor will not show the movement of the mouse cursor. In some other embodiments, when the mouse cursor has a moving event but the mouse itself does not have a moving event, the computer system still does not filter out the moving event of the mouse cursor. As a result, the display will show the movement of the mouse cursor.

當滑鼠游標以及滑鼠本身同時發生移動事件時,電腦系統會取得滑鼠在觸控面板上的新座標,稱為移動後觸控座標。同時,電腦系統還會取得滑鼠游標在顯示器上的新座標,稱為移動後游標座標。應注意的是,上述滑鼠游標的移動事件僅存在於電腦 系統內部,尚未實際顯示在顯示器上。也就是說,電腦系統知道滑鼠游標「將要」移動到移動後游標座標,但尚未允許顯示器顯示這個移動事件。 When the mouse cursor and the mouse itself move at the same time, the computer system will obtain the new coordinates of the mouse on the touch panel, which are called post-movement touch coordinates. At the same time, the computer system will also obtain the new coordinates of the mouse cursor on the display, which are called the moved cursor coordinates. It should be noted that the above mouse cursor movement events only exist on the computer Inside the system, not yet actually displayed on the monitor. That is, the computer system knows that the mouse cursor "will" move to the moved cursor coordinates, but has not yet allowed the display to display the move event.

第4圖係根據本揭露實施例所示,滑鼠游標以及滑鼠本身同時發生移動事件的示意圖。在第4圖中,觸控面板130上的滑鼠110的觸控座標,自初始觸控座標360(座標為(x0,y0))移動到移動後觸控座標560(座標為(x1,y1))。同樣在第4圖中,顯示器250上的游標的座標,自初始游標座標460(座標為(x0’,y0’))移動到移動後游標座標660(座標為(x1’,y1’))。應注意的是,如上所述,雖然電腦系統200知道滑鼠游標「將要」移動到移動後游標座標660,但尚未允許顯示器250顯示這個移動事件。 FIG. 4 is a schematic diagram of simultaneous movement events of the mouse cursor and the mouse itself according to an embodiment of the present disclosure. In FIG. 4 , the touch coordinates of the mouse 110 on the touch panel 130 are moved from the initial touch coordinates 360 (coordinates are (x 0 , y 0 )) to the post-movement touch coordinates 560 (coordinates are (x 0 )) 1 ,y 1 )). Also in Figure 4, the coordinates of the cursor on the display 250 are moved from the initial cursor coordinates 460 (coordinates are (x 0 ', y 0 ')) to the moved cursor coordinates 660 (coordinates are (x 1 ', y 1 ) ')). It should be noted that, as mentioned above, although the computer system 200 knows that the mouse cursor "is about to" move to the moved cursor coordinate 660, it has not yet allowed the display 250 to display this move event.

在取得初始觸控座標360、移動後觸控座標560、初始游標座標460、以及移動後游標座標660後,電腦系統開始計算觸控斜率、觸控斜率角度、游標斜率、以及游標斜率角度。觸控斜率是初始觸控座標360與移動後觸控座標560之間的斜率,觸控斜率代表滑鼠在觸控面板上移動的斜率。游標斜率是初始游標座標460與移動後游標座標660之間的斜率,游標斜率代表滑鼠游標在顯示器上移動的斜率。電腦系統藉由反三角函數(tan-1),以觸控斜率及游標斜率分別計算出觸控斜率角度及游標斜率角度。 After obtaining the initial touch coordinates 360 , the moved touch coordinates 560 , the initial cursor coordinates 460 , and the moved cursor coordinates 660 , the computer system starts to calculate the touch slope, the touch slope angle, the cursor slope, and the cursor slope angle. The touch slope is the slope between the initial touch coordinate 360 and the moved touch coordinate 560 , and the touch slope represents the slope of the mouse moving on the touch panel. The cursor slope is the slope between the initial cursor coordinate 460 and the moved cursor coordinate 660, and the cursor slope represents the slope of the mouse cursor moving on the display. The computer system uses the inverse trigonometric function (tan -1 ) to calculate the touch slope angle and the cursor slope angle respectively according to the touch slope and the cursor slope.

第5圖係根據本揭露實施例所示,觸控斜率M與游標斜率N的示意圖。為使說明清晰易懂,在第5圖中,初始觸控座標360及移動後觸控座標560與初始游標座標460及移動後游標座標660 一起被繪製在觸控面板130上(如上所述,在相對位置校正後,觸控座標與游標座標使用相同的座標系統)。應注意的是,在第5圖中,儘管初始觸控座標360與初始游標座標460被繪製為兩的不同的點,但這僅僅是為了使圖式清晰易懂。如上所述,在理想狀況下,初始觸控座標360的座標等於初始游標座標460的座標。 FIG. 5 is a schematic diagram of a touch slope M and a cursor slope N according to an embodiment of the present disclosure. In order to make the description clear and easy to understand, in Figure 5, the initial touch coordinate 360 and the moved touch coordinate 560 and the initial vernier coordinate 460 and the moved vernier coordinate 660 are drawn together on the touch panel 130 (as described above, after the relative position correction, the touch coordinates and the vernier coordinates use the same coordinate system). It should be noted that, in FIG. 5, although the initial touch coordinates 360 and the initial vernier coordinates 460 are drawn as two different points, this is only to make the drawing clear and easy to understand. As described above, under ideal conditions, the coordinates of the initial touch coordinates 360 are equal to the coordinates of the initial vernier coordinates 460 .

在第5圖中,初始觸控座標360的座標為(x0,y0),且移動後觸控座標560的座標為(x1,y1),因此初始觸控座標360與移動後觸控座標560之間的觸控斜率M為(y1-y0)/(x1-x0)。藉由觸控斜率M可以獲得觸控斜率M的觸控斜率角度θM。觸控斜率角度θM為tan-1(M),等於tan-1((y1-y0)/(x1-x0))。 In Fig. 5, the coordinates of the initial touch coordinates 360 are (x 0 , y 0 ), and the coordinates of the touch coordinates 560 after the movement are (x 1 , y 1 ), so the initial touch coordinates 360 are the same as the touch coordinates after the movement. The touch slope M between the control coordinates 560 is (y 1 -y 0 )/(x 1 -x 0 ). From the touch slope M, the touch slope angle θ M of the touch slope M can be obtained. The touch slope angle θ M is tan -1 (M), which is equal to tan -1 ((y 1 -y 0 )/(x 1 -x 0 )).

在第5圖中,初始游標座標460的座標為(x0’,y0’),且移動後游標座標660的座標為(x1’,y1’),因此初始游標座標460與移動後游標座標660之間的游標斜率N為(y1’-y0’)/(x1’-x0’)。藉由游標斜率N可以獲得游標斜率N的游標斜率角度θN。游標斜率角度θN為tan-1(N),等於tan-1((y1’-y0’)/(x1’-x0’))。 In Fig. 5, the coordinates of the initial vernier coordinates 460 are (x 0 ', y 0 '), and the coordinates of the moved vernier coordinates 660 are (x 1 ', y 1 '), so the initial vernier coordinates 460 are the same as the ones after the movement. The vernier slope N between the vernier coordinates 660 is (y 1 '-y 0 ')/(x 1 '-x 0 '). The vernier slope angle θ N of the vernier slope N can be obtained from the vernier slope N. The vernier slope angle θ N is tan -1 (N), which is equal to tan -1 ((y 1 '-y 0 ')/(x 1 '-x 0 ')).

舉例來說,若初始游標座標460的座標(x0’,y0’)為(200,200),且移動後游標座標660的座標(x1’,y1’)為(380,270),則游標斜率N為(270-200)/(380-200)=7/18。游標斜率角度θN為tan-1(N)=tan-1(7/18)≒21.25度。舉例來說,若初始觸控座標360的座標(x0,y0)為(198,199),且移動後觸控座標560的座標(x1,y1)為(381,268),則觸控斜率M為(268-199)/(381-198)=23/61。觸控斜率角度θM為tan-1(M)=tan-1(23/61)≒20.66度。 For example, if the coordinates (x 0 ', y 0 ') of the initial cursor coordinate 460 are (200, 200), and the coordinates (x 1 ', y 1 ') of the moved cursor coordinates 660 are (380, 270), the cursor slope N is (270-200)/(380-200)=7/18. The vernier slope angle θ N is tan -1 (N)=tan-1(7/18)≒21.25 degrees. For example, if the coordinates (x 0 , y 0 ) of the initial touch coordinates 360 are (198, 199), and the coordinates (x 1 , y 1 ) of the touch coordinates 560 after moving are (381, 268), the touch slope M is is (268-199)/(381-198)=23/61. The touch slope angle θ M is tan -1 (M)=tan -1 (23/61)≒20.66 degrees.

在計算出觸控斜率角度以及游標斜率角度後,電腦系統會判斷觸控斜率角度與游標斜率角度之間的角度差值是否處於一容許角度差值範圍內。此外,電腦系統還會判斷移動後觸控座標與移動後游標座標之間的座標差值是否處於一容許座標差值範圍內。 After calculating the touch slope angle and the cursor slope angle, the computer system determines whether the angular difference between the touch slope angle and the cursor slope angle is within an allowable angle difference range. In addition, the computer system will also determine whether the coordinate difference between the moved touch coordinates and the moved vernier coordinates is within an allowable coordinate difference range.

在計算出觸控斜率角度θM以及游標斜率角度θN後,電腦系統200會判斷觸控斜率角度θM與游標斜率角度θN之間的角度差值是否處於一容許角度差值範圍內。在一些實施例中,容許角度差值範圍處於正負3度之間,例如正負2度或是正負1度,但不限於此。 After calculating the touch slope angle θ M and the vernier slope angle θ N , the computer system 200 determines whether the angle difference between the touch slope angle θ M and the vernier slope angle θ N is within an allowable angle difference range. In some embodiments, the allowable angle difference range is between plus and minus 3 degrees, such as plus or minus 2 degrees or plus or minus 1 degree, but not limited thereto.

舉例來說,假設觸控斜率角度θM為20.66度,游標斜率角度θN為21.25度,且容許角度差值範圍處於正負2度之間。因為觸控斜率角度θM與游標斜率角度θN之間的角度差值為(20.66-21.25)=-0.29度,且-2≦-0.29≦2,因此此時的觸控斜率角度θM與游標斜率角度θN之間的角度差值處於容許角度差值範圍內。 For example, it is assumed that the touch slope angle θ M is 20.66 degrees, the cursor slope angle θ N is 21.25 degrees, and the allowable angle difference range is between plus and minus 2 degrees. Because the angle difference between the touch slope angle θ M and the cursor slope angle θ N is (20.66-21.25)=-0.29 degrees, and -2≦-0.29≦2, the touch slope angle θ M and the The angular difference between the vernier slope angles θ N is within the allowable angular difference range.

此外,電腦系統200還會判斷移動後觸控座標560與移動後游標座標660之間的座標差值是否處於一容許座標差值範圍內。在一些實施例中,容許座標差值範圍在X軸及Y軸上分別為正負2毫米(mm),例如正負1mm或正負0.5mm,但不限於此。由於座標系統是以像素作為座標點,因此電腦系統200可在將毫米換算為像素後,再判斷座標差值是否處於一容許座標差值範圍內。 In addition, the computer system 200 also determines whether the coordinate difference between the moved touch coordinate 560 and the moved vernier coordinate 660 is within an allowable coordinate difference range. In some embodiments, the allowable coordinate difference value ranges on the X-axis and the Y-axis are plus or minus 2 millimeters (mm), for example, plus or minus 1 mm or plus or minus 0.5 mm, but not limited thereto. Since the coordinate system uses pixels as coordinate points, the computer system 200 can determine whether the coordinate difference is within an allowable coordinate difference range after converting millimeters into pixels.

舉例來說,假設顯示器25的解析度為1280*800,且觸控面板130的有效尺寸(Active Diagonal Size)為216.58 * 135.36(mm)、X軸具有52個通道、Y軸具有30個通道、驅動電極(Tx)寬度為4.165mm、以及感應電極(Rx)寬度為4.165mm。此時在X軸上,每1mm具有(1280/52/4.165)約6個座標點(等於6個像素)。而在Y軸上,每1mm具有(800/30/4.512)約6個座標點(等於6個像素)。因此,當容許座標差值範圍為正負1mm時,在X軸上的容許座標差值範圍為6個座標點,而在Y軸上的容許座標差值範圍亦為6個座標點。 For example, it is assumed that the resolution of the display 25 is 1280*800, the Active Diagonal Size of the touch panel 130 is 216.58*135.36 (mm), the X-axis has 52 channels, the Y-axis has 30 channels, The width of the drive electrodes (Tx) is 4.165mm, and the width of the sense electrodes (Rx) is 4.165mm. At this time, on the X axis, each 1mm has (1280/52/4.165) about 6 coordinate points (equivalent to 6 pixels). On the Y axis, there are (800/30/4.512) about 6 coordinate points (equal to 6 pixels) per 1 mm. Therefore, when the allowable coordinate difference value range is plus or minus 1mm, the allowable coordinate difference value range on the X axis is 6 coordinate points, and the allowable coordinate difference value range on the Y axis is also 6 coordinate points.

舉例來說,假設移動後觸控座標560的座標為(381,268),移動後游標座標660的座標為(380,270),且容許座標差值範圍是正負1mm(相當於正負6個座標點)。此時X軸上的差值為1個座標點,而X軸上的差值為-2個座標點,兩者均在正負6個座標點的範圍內。因此此時的移動後觸控座標560與移動後游標座標660之間的座標差值處於容許座標差值範圍之內。 For example, it is assumed that the coordinates of the touch coordinate 560 after moving are (381, 268), the coordinates of the vernier coordinate 660 after moving are (380, 270), and the allowable coordinate difference range is plus or minus 1 mm (equivalent to plus or minus 6 coordinate points). At this time, the difference on the X-axis is 1 coordinate point, and the difference on the X-axis is -2 coordinate points, both of which are within the range of plus or minus 6 coordinate points. Therefore, the coordinate difference between the moved touch coordinate 560 and the moved vernier coordinate 660 at this time is within the allowable coordinate difference range.

當電腦系統判斷觸控斜率角度(例如:觸控斜率角度θM)與游標斜率角度(游標斜率角度θN)之間的角度差值處於容許角度差值範圍內時,代表觸控座標的移動與游標座標的移動在方向上是一致的。也就是說,滑鼠本身的移動與滑鼠游標的移動在方向上是一致的。當電腦系統判斷移動後觸控座標(例如:移動後觸控座標560)與移動後游標座標(例如:移動後游標座標660)之間的座標差值處於容許座標差值範圍內時,代表觸控座標的位置與游標座標的 位置在移動後是一致的。也就是說,滑鼠本身的位置與滑鼠游標的位置在移動後是一致的。 When the computer system determines that the angular difference between the touch slope angle (eg: touch slope angle θ M ) and the vernier slope angle (the vernier slope angle θ N ) is within the allowable angle difference range, it represents the movement of the touch coordinates The movement of the cursor coordinates is in the same direction. That is, the movement of the mouse itself is in the same direction as the movement of the mouse cursor. When the computer system determines that the coordinate difference between the moved touch coordinates (for example, the moved touch coordinates 560 ) and the moved cursor coordinates (for example, the moved cursor coordinates 660 ) is within the allowable coordinate difference range, it means that the touch The position of the control coordinate is consistent with the position of the cursor coordinate after moving. That is to say, the position of the mouse itself is consistent with the position of the mouse cursor after moving.

當角度差值處於容許角度差值範圍內,且座標差值處於容許座標差值範圍內時,電腦系統會判斷滑鼠游標的移動符合滑鼠本身的移動。此時,電腦系統會允許顯示器實際顯示出滑鼠游標的移動事件。 When the angle difference is within the allowable angle difference range, and the coordinate difference is within the allowable coordinate difference range, the computer system will determine that the movement of the mouse cursor matches the movement of the mouse itself. At this point, the computer system will allow the monitor to actually display the mouse cursor movement events.

舉例來說,當觸控斜率角度θM與游標斜率角度θN之間的角度差值處於容許角度差值範圍內,且移動後觸控座標560與移動後游標座標660之間的座標差值處於容許座標差值範圍內時,代表游標自初始游標座標460到移動後游標座標660的移動,與滑鼠自初始觸控座標360到移動後觸控座標560的移動一致。此時,電腦系統200會允許顯示器250實際顯示游標自初始游標座標460到移動後游標座標660的移動事件。 For example, when the angle difference between the touch slope angle θ M and the cursor slope angle θ N is within the allowable angle difference range, and the coordinate difference between the touch coordinate 560 after the movement and the vernier coordinate 660 after the movement is When it is within the allowable coordinate difference range, it means that the movement of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 is consistent with the movement of the mouse from the initial touch coordinate 360 to the moved touch coordinate 560 . At this time, the computer system 200 allows the display 250 to actually display the movement event of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 .

當角度差值不在容許角度差值範圍內,及/或座標差值不在容許座標差值範圍內時,電腦系統會判斷滑鼠游標的移動不符合滑鼠本身的移動。舉例來說,當觸控斜率角度θM與游標斜率角度θN之間的角度差值不在容許角度差值範圍內,及/或移動後觸控座標560與移動後游標座標660之間的座標差值不在容許座標差值範圍內時,電腦系統200會判斷游標自初始游標座標460到移動後游標座標660的移動,與滑鼠自初始觸控座標360到移動後觸控座標560的移動不一致。 When the angle difference is not within the allowable angle difference range, and/or the coordinate difference value is not within the allowable coordinate difference range, the computer system will determine that the movement of the mouse cursor does not conform to the movement of the mouse itself. For example, when the angle difference between the touch slope angle θ M and the cursor slope angle θ N is not within the allowable angle difference range, and/or the coordinates between the moved touch coordinates 560 and the moved cursor coordinates 660 When the difference is not within the allowable coordinate difference range, the computer system 200 will determine that the movement of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 is inconsistent with the movement of the mouse from the initial touch coordinate 360 to the moved touch coordinate 560 .

在一些實施例中,當電腦系統判斷滑鼠游標的移動 不符合滑鼠本身的移動時,電腦系統會濾除游標的移動事件。舉例來說,當電腦系統200判斷滑鼠游標的移動不符合滑鼠本身的移動時,電腦系統200會濾除游標自初始游標座標460到移動後游標座標660的移動事件,使得這個移動事件不會被顯示器250所實際顯示。 In some embodiments, when the computer system determines the movement of the mouse cursor When it does not match the movement of the mouse itself, the computer system will filter out the movement events of the cursor. For example, when the computer system 200 determines that the movement of the mouse cursor does not conform to the movement of the mouse itself, the computer system 200 will filter out the movement events of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660, so that this movement event does not correspond to the movement of the mouse itself. will be actually displayed by the display 250 .

在一些實施例中,即使電腦系統判斷滑鼠游標的移動不符合滑鼠本身的移動,電腦系統仍會允許游標的移動事件。舉例來說,即使電腦系統200判斷滑鼠游標的移動不符合滑鼠本身的移動時,電腦系統200仍會允許游標的移動事件。此時,電腦系統200會允許顯示器250實際顯示游標自初始游標座標460到移動後游標座標660的移動事件。在這些實施例中,電腦系統會將滑鼠游標的移動不符合滑鼠本身的移動這件事記錄下來,例如儲存於儲存裝置220中,以供事後驗證。在一些其他實施例中,不論電腦系統判斷滑鼠游標的移動符合或是不符合滑鼠本身的移動,都會把判斷結果記錄下來。 In some embodiments, even if the computer system determines that the movement of the mouse cursor does not correspond to the movement of the mouse itself, the computer system still allows the movement event of the cursor. For example, even if the computer system 200 determines that the movement of the mouse cursor does not conform to the movement of the mouse itself, the computer system 200 still allows the movement event of the cursor. At this time, the computer system 200 allows the display 250 to actually display the movement event of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 . In these embodiments, the computer system records the fact that the movement of the mouse cursor does not match the movement of the mouse itself, for example, in the storage device 220 for later verification. In some other embodiments, regardless of whether the computer system determines that the movement of the mouse cursor matches or does not match the movement of the mouse itself, the determination result will be recorded.

上述對角度差值及座標差值的判斷,在滑鼠操作期間會不斷地進行。也就是說,每相隔一取樣時間,電腦系統會取得取樣時間之前的觸控座標與游標座標,以及取得取樣時間之後的觸控座標與游標座標。接著,電腦系統根據這些座標計算角度差值以及座標差值,並判斷角度差值是否處於容許角度差值範圍內,以及判斷座標差值是否處於容許座標差值範圍內。電腦系統在滑鼠操作期間會不斷地進行這些操作。 The above judgment of the angle difference value and the coordinate difference value will be continuously performed during the mouse operation. That is to say, at every sampling time interval, the computer system obtains the touch coordinates and the cursor coordinates before the sampling time, and obtains the touch coordinates and the cursor coordinates after the sampling time. Next, the computer system calculates the angle difference and the coordinate difference according to the coordinates, and determines whether the angle difference is within the allowable angle difference range, and whether the coordinate difference is within the allowable coordinate difference range. The computer system performs these operations continuously during mouse operation.

在一些實施例中,取樣時間可對應所使用的滑鼠的 回報率。在一些其他實施例中,使用者或廠商可自行設定合適的取樣時間,例如約1毫秒至約8毫秒,但不限於此。 In some embodiments, the sampling time may correspond to the response rate. In some other embodiments, the user or the manufacturer can set a suitable sampling time, such as, but not limited to, about 1 millisecond to about 8 milliseconds.

在一些實施例中,電腦系統可根據滑鼠之觸控座標的移動的方向性,對觸控斜率作出預測。當連續多個取樣時間中的多個觸控座標之間,具有相同的一斜率且加速度持續增加時,電腦系統可預測在經過下一個取樣時間後,觸控斜率相當於上述斜率。 In some embodiments, the computer system can predict the touch slope according to the directionality of the movement of the touch coordinates of the mouse. When the touch coordinates in successive sampling times have the same slope and the acceleration continues to increase, the computer system can predict that the touch slope is equivalent to the above-mentioned slope after the next sampling time.

第6圖係根據本揭露實施例所示,觸控斜率的預測的示意圖。在第6圖中,第一時間t1對應第一觸控座標601、第二時間t2對應第二觸控座標602、第三時間t3對應第三觸控座標603、且第四時間t4對應第四觸控座標604。第一時間t1與第二時間t2的間隔、第二時間t2與第三時間t3的間隔、以及第三時間t3與第四時間t4的間隔,均為取樣時間。在經過下一個取樣時間後,時間會從第四時間t4變成第五時間t5,且觸控座標會自第四觸控座標604移動到第五觸控座標605。 FIG. 6 is a schematic diagram of prediction of touch slope according to an embodiment of the present disclosure. In FIG. 6, the first time t1 corresponds to the first touch coordinate 601, the second time t2 corresponds to the second touch coordinate 602, the third time t3 corresponds to the third touch coordinate 603, and the fourth time t4 corresponds to the fourth Touch coordinates 604 . The interval between the first time t1 and the second time t2, the interval between the second time t2 and the third time t3, and the interval between the third time t3 and the fourth time t4 are all sampling times. After the next sampling time elapses, the time changes from the fourth time t4 to the fifth time t5 , and the touch coordinates move from the fourth touch coordinates 604 to the fifth touch coordinates 605 .

在第6圖中,第二觸控座標602與第一觸控座標601之間的斜率、第三觸控座標603與第二觸控座標602之間的斜率、以及第四觸控座標604與第三觸控座標605之間的斜率,均為斜率S。第四觸控座標604與第三觸控座標603之間的加速度(觸控座標自第三觸控座標603移動到第四觸控座標604的加速度)為加速度a34、第三觸控座標603與第二觸控座標602之間的加速度為加速度a23、且第二觸控座標602與第一觸控座標601之間的加速度為加速度a12。 In FIG. 6, the slope between the second touch coordinate 602 and the first touch coordinate 601, the slope between the third touch coordinate 603 and the second touch coordinate 602, and the fourth touch coordinate 604 and the The slopes between the third touch coordinates 605 are all slopes S. The acceleration between the fourth touch coordinate 604 and the third touch coordinate 603 (the acceleration of the touch coordinate moving from the third touch coordinate 603 to the fourth touch coordinate 604 ) is the acceleration a34 , the third touch coordinate 603 and the The acceleration between the second touch coordinates 602 is the acceleration a23, and the acceleration between the second touch coordinates 602 and the first touch coordinates 601 is the acceleration a12.

當斜率相同(例如:斜率S),且加速度a34大於加速度a23,並且當加速度a23大於加速度a12時,電腦系統可判斷觸控座標會持續在斜率S的方向上移動。因此,電腦系統可判斷在第四時間t4到第五時間t5的這個取樣時間間隔內,第五觸控座標605與第四觸控座標604之間的斜率等於斜率S。也就是說,電腦系統可在觸控座標位於第四觸控座標604,就預先判斷第四觸控座標604與第五觸控座標605(經過一個取樣時間後的觸控座標的位置)之間的斜率。如此一來,電腦系統可預測在經過下一個取樣時間後的觸控斜率。 When the slopes are the same (eg, slope S), and the acceleration a34 is greater than the acceleration a23, and when the acceleration a23 is greater than the acceleration a12, the computer system can determine that the touch coordinates will continue to move in the direction of the slope S. Therefore, the computer system can determine that the slope between the fifth touch coordinate 605 and the fourth touch coordinate 604 is equal to the slope S during the sampling interval from the fourth time t4 to the fifth time t5 . That is, the computer system can pre-determine between the fourth touch coordinate 604 and the fifth touch coordinate 605 (the position of the touch coordinate after a sampling time) when the touch coordinate is located at the fourth touch coordinate 604 . The slope of. In this way, the computer system can predict the touch slope after the next sampling time has elapsed.

上述各項操作可包含於一控制程式,且該控制程式可由電腦系統執行。舉例來說,該控制程式可儲存於儲存裝置220中,且由處理裝置210載入並執行,以使電腦系統200實施上述操作。 The above operations can be included in a control program, and the control program can be executed by a computer system. For example, the control program can be stored in the storage device 220 and loaded and executed by the processing device 210 to enable the computer system 200 to implement the above-mentioned operations.

第7圖係根據本揭露實施例所示,用於輸入裝置的控制方法700的流程圖。其中輸入裝置(例如:輸入裝置100)連接至電腦系統(例如:電腦系統200)及顯示器(例如:顯示器250)。在操作710中,控制方法700執行第一感測操作。第一感測操作藉由感測滑鼠的導電軟墊取得滑鼠在滑鼠墊上(觸控面板上)的觸控座標,以及獲取滑鼠游標在顯示器上的游標座標。舉例來說,電腦系統200取得滑鼠110的游標在顯示器250上的游標座標260。舉例來說,電腦系統200藉由滑鼠110的導電軟墊在觸控面板130上的座標,計算出滑鼠110在觸控面板130上的觸控座標160。 FIG. 7 is a flowchart of a control method 700 for an input device according to an embodiment of the present disclosure. The input device (eg, the input device 100 ) is connected to a computer system (eg, the computer system 200 ) and a display (eg, the display 250 ). In operation 710, the control method 700 performs a first sensing operation. In the first sensing operation, the touch coordinates of the mouse on the mouse pad (on the touch panel) are obtained by sensing the conductive soft pad of the mouse, and the cursor coordinates of the mouse cursor on the display are obtained. For example, the computer system 200 obtains the cursor coordinates 260 of the cursor of the mouse 110 on the display 250 . For example, the computer system 200 calculates the touch coordinates 160 of the mouse 110 on the touch panel 130 by using the coordinates of the conductive soft pad of the mouse 110 on the touch panel 130 .

在一些實施例中,控制方法700還包括操作715。操 作715會濾除觸控面板上的多餘接觸。舉例來說,電腦系統會根據導電軟墊的座標資訊,保留導電軟墊的觸控資訊。同時,電腦系統會濾除觸控面板上的其他非導電軟墊的接觸資訊,例如滑鼠使用者的手部接觸或其他異物的接觸。 In some embodiments, the control method 700 also includes operation 715 . Hold Action 715 filters out unwanted contacts on the touch panel. For example, the computer system will retain the touch information of the conductive pad according to the coordinate information of the conductive pad. At the same time, the computer system filters out the contact information of other non-conductive soft pads on the touch panel, such as the mouse user's hand contact or the contact of other foreign objects.

在操作720中,控制方法700執行校正操作。校正操作以游標座標對滑鼠在滑鼠墊上的觸控座標進行相對位置校正,以使游標座標與觸控座標使用相同的座標系統。舉例來說,電腦系統200根據游標座標260對觸控座標160進行相對位置校正,以使用顯示器250的座標系統(游標座標260所使用的座標系統)來表示觸控座標160。校正後的觸控座標160大致上等於游標座標260。 In operation 720, the control method 700 performs a correction operation. The calibration operation uses the cursor coordinates to correct the relative position of the touch coordinates of the mouse on the mouse pad, so that the cursor coordinates and the touch coordinates use the same coordinate system. For example, the computer system 200 performs relative position correction on the touch coordinates 160 according to the vernier coordinates 260 , so as to use the coordinate system of the display 250 (the coordinate system used by the vernier coordinates 260 ) to represent the touch coordinates 160 . The corrected touch coordinates 160 are substantially equal to the vernier coordinates 260 .

校正後的觸控座標(例如:觸控座標160)被以游標座標(例如:游標座標260)所使用的座標系統重新定義,且被稱為初始觸控座標(例如:初始觸控座標360)。校正後的游標座標(例如:游標座標260)被改稱為初始游標座標(例如:初始游標座標460)。在理想狀況下,初始觸控座標等於初始游標座標。 The corrected touch coordinates (eg: touch coordinates 160 ) are redefined with the coordinate system used by the vernier coordinates (eg: vernier coordinates 260 ), and are called initial touch coordinates (eg: initial touch coordinates 360 ) . The corrected vernier coordinates (eg, vernier coordinates 260 ) are renamed as initial vernier coordinates (eg, initial vernier coordinates 460 ). Ideally, the initial touch coordinates are equal to the initial cursor coordinates.

在操作730中,控制方法700執行第一判斷操作。第一判斷操作判斷滑鼠本身是否發生滑鼠移動事件,以及判斷滑鼠游標是否發生游標移動事件。舉例來說,當滑鼠110的觸控座標發生變化時,電腦系統200會判斷滑鼠本身發生移動事件。舉例來說,當游標座標發生變化時,電腦系統200會判斷滑鼠游標發生移動事件。當滑鼠游標以及滑鼠本身同時發生移動事件時,控制方法700會進入操作740。 In operation 730, the control method 700 performs a first judgment operation. The first judging operation judges whether a mouse movement event occurs on the mouse itself, and whether a cursor movement event occurs on the mouse cursor. For example, when the touch coordinates of the mouse 110 change, the computer system 200 determines that the mouse itself has a movement event. For example, when the cursor coordinates are changed, the computer system 200 determines that the mouse cursor is moved. When the mouse cursor and the mouse itself move simultaneously, the control method 700 will proceed to operation 740 .

在一些實施例中,當滑鼠游標以及滑鼠本身沒有同時發生移動事件時,控制方法700會回到操作710。在一些實施例中,當滑鼠游標以及滑鼠本身沒有同時發生移動事件時,控制方法700不會回到操作710,而是維持在操作730。在這些實施例中,控制方法700會維持在操作730,直到滑鼠游標以及滑鼠本身同時發生移動事件。當滑鼠游標以及滑鼠本身同時發生移動事件時,控制方法700會進入操作740。 In some embodiments, the control method 700 returns to operation 710 when the mouse cursor and the mouse itself do not move simultaneously. In some embodiments, the control method 700 does not return to operation 710 but remains at operation 730 when the mouse cursor and the mouse itself do not move simultaneously. In these embodiments, the control method 700 remains at operation 730 until the mouse cursor and the mouse itself move simultaneously. When the mouse cursor and the mouse itself move simultaneously, the control method 700 will proceed to operation 740 .

在一些實施例中,當滑鼠游標發生移動事件但滑鼠本身沒有發生移動事件時,控制方法700會濾除滑鼠游標的移動事件。如此一來,顯示器將不會顯示滑鼠游標的移動。在一些其他實施例中,當滑鼠游標發生移動事件但滑鼠本身沒有發生移動事件時,控制方法700不會濾除滑鼠游標的移動事件。如此一來,顯示器將會顯示滑鼠游標的移動。在這些實施例中,滑鼠本身沒有移動這件事會被記錄下來,以供事後驗證。 In some embodiments, when the mouse cursor has a moving event but the mouse itself does not have a moving event, the control method 700 will filter out the moving event of the mouse cursor. As a result, the monitor will not show the movement of the mouse cursor. In some other embodiments, the control method 700 does not filter out the movement event of the mouse cursor when the mouse cursor movement event occurs but the mouse itself does not. As a result, the display will show the movement of the mouse cursor. In these embodiments, the fact that the mouse itself is not moving is recorded for later verification.

在操作740中,控制方法700執行第二感測操作。第二感測操作感測滑鼠在滑鼠墊上的移動後觸控座標,以及獲取滑鼠游標在顯示器上的移動後游標座標。舉例來說,電腦系統200感測滑鼠110在觸控面板130上的新座標,稱為移動後觸控座標560。同時,電腦系統200還取得滑鼠游標在顯示器250上的新座標,稱為移動後游標座標660。 In operation 740, the control method 700 performs a second sensing operation. The second sensing operation senses the touch coordinates after the mouse is moved on the mouse pad, and obtains the coordinates of the mouse cursor after the movement on the display. For example, the computer system 200 senses the new coordinates of the mouse 110 on the touch panel 130 , which are called post-move touch coordinates 560 . At the same time, the computer system 200 also obtains a new coordinate of the mouse cursor on the display 250 , which is called the moved cursor coordinate 660 .

在操作750中,控制方法700執行計算操作。計算操作根據初始觸控座標及移動後觸控座標計算觸控斜率角度,以及根 據初始游標座標及移動後游標座標計算游標斜率角度。舉例來說,電腦系統200藉由初始觸控座標360及移動後觸控座標560計算觸控斜率M,再藉由觸控斜率M與反三角函數(tan-1)計算觸控斜率角度θM。電腦系統200藉由初始游標座標460及移動後游標座標660計算游標斜率N,再藉由游標斜率N與反三角函數(tan-1)計算游標斜率角度θNIn operation 750, the control method 700 performs computing operations. The calculation operation calculates the touch slope angle according to the initial touch coordinates and the moved touch coordinates, and calculates the cursor slope angle according to the initial cursor coordinates and the moved cursor coordinates. For example, the computer system 200 calculates the touch slope M according to the initial touch coordinates 360 and the moved touch coordinates 560, and then calculates the touch slope angle θ M according to the touch slope M and the inverse trigonometric function (tan −1 ). . The computer system 200 calculates the vernier slope N according to the initial vernier coordinates 460 and the moved vernier coordinates 660 , and then calculates the vernier slope angle θ N through the vernier slope N and the inverse trigonometric function (tan −1 ).

在操作760中,控制方法700執行第二判斷操作。第二判斷操作判斷觸控斜率角度與游標斜率角度之間的差值是否處於容許角度差值範圍,及/或判斷移動後觸控座標與移動後游標座標之間的差值是否處於容許座標差值範圍。舉例來說,電腦系統200判斷觸控斜率角度θM與游標斜率角度θN之間的角度差值是否處於一容許角度差值範圍內。在一些實施例中,容許角度差值範圍處於正負3度之間,例如正負2度或是正負1度,但不限於此。舉例來說,電腦系統200判斷移動後觸控座標560與移動後游標座標660之間的座標差值是否處於一容許座標差值範圍內。在一些實施例中,容許座標差值範圍在X軸及Y軸上分別為正負2毫米(mm),例如正負1mm或正負0.5mm,但不限於此。 In operation 760, the control method 700 performs a second judgment operation. The second judgment operation judges whether the difference between the touch slope angle and the cursor slope angle is within the allowable angle difference range, and/or judges whether the difference between the moved touch coordinates and the moved cursor coordinates is within the allowable coordinate difference value range. For example, the computer system 200 determines whether the angle difference between the touch slope angle θ M and the cursor slope angle θ N is within an allowable angle difference range. In some embodiments, the allowable angle difference range is between plus and minus 3 degrees, such as plus or minus 2 degrees or plus or minus 1 degree, but not limited thereto. For example, the computer system 200 determines whether the coordinate difference between the moved touch coordinate 560 and the moved cursor coordinate 660 is within an allowable coordinate difference range. In some embodiments, the allowable coordinate difference value ranges on the X-axis and the Y-axis are plus or minus 2 millimeters (mm), for example, plus or minus 1 mm or plus or minus 0.5 mm, but not limited thereto.

當觸控斜率角度與游標斜率角度之間的角度差值處於容許角度差值範圍內時,代表觸控座標的移動與游標座標的移動在方向上是一致的。也就是說,滑鼠本身的移動與滑鼠游標的移動在方向上是一致的。當移動後觸控座標與移動後游標座標之間的座標差值處於容許座標差值範圍內時,代表觸控座標的位置與游標座 標的位置在移動後是一致的。也就是說,滑鼠本身的位置與滑鼠游標的位置在移動後是一致的。 When the angle difference between the touch slope angle and the cursor slope angle is within the allowable angle difference range, it means that the movement of the touch coordinates and the movement of the cursor coordinates are consistent in direction. That is, the movement of the mouse itself is in the same direction as the movement of the mouse cursor. When the coordinate difference between the moved touch coordinate and the moved vernier coordinate is within the allowable coordinate difference range, it represents the position of the touch coordinate and the vernier coordinate. The position of the target is the same after the move. That is to say, the position of the mouse itself is consistent with the position of the mouse cursor after moving.

當角度差值處於容許角度差值範圍內,且座標差值處於容許座標差值範圍內時,代表滑鼠游標的移動符合滑鼠本身的移動。舉例來說,當觸控斜率角度θM與游標斜率角度θN之間的角度差值處於容許角度差值範圍內,且移動後觸控座標560與移動後游標座標660之間的座標差值處於容許座標差值範圍內時,代表游標自初始游標座標460到移動後游標座標660的移動,與滑鼠自初始觸控座標360到移動後觸控座標560的移動一致。此時,控制方法700會進入操作770。 When the angle difference is within the allowable angle difference range, and the coordinate difference is within the allowable coordinate difference range, it means that the movement of the mouse cursor matches the movement of the mouse itself. For example, when the angle difference between the touch slope angle θ M and the cursor slope angle θ N is within the allowable angle difference range, and the coordinate difference between the touch coordinate 560 after the movement and the vernier coordinate 660 after the movement is When it is within the allowable coordinate difference range, it means that the movement of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 is consistent with the movement of the mouse from the initial touch coordinate 360 to the moved touch coordinate 560 . At this point, the control method 700 proceeds to operation 770 .

當角度差值不在容許角度差值範圍內,及/或座標差值不在容許座標差值範圍內時,代表滑鼠游標的移動不符合滑鼠本身的移動。舉例來說,當觸控斜率角度θM與游標斜率角度θN之間的角度差值不在容許角度差值範圍內,及/或移動後觸控座標560與移動後游標座標660之間的座標差值不在容許座標差值範圍內時,代表游標自初始游標座標460到移動後游標座標660的移動,與滑鼠自初始觸控座標360到移動後觸控座標560的移動不一致。 When the angle difference value is not within the allowable angle difference value range, and/or the coordinate difference value is not within the allowable coordinate difference value range, it means that the movement of the mouse cursor does not conform to the movement of the mouse itself. For example, when the angle difference between the touch slope angle θ M and the cursor slope angle θ N is not within the allowable angle difference range, and/or the coordinates between the moved touch coordinates 560 and the moved cursor coordinates 660 When the difference is not within the allowable coordinate difference range, it means that the movement of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 is inconsistent with the movement of the mouse from the initial touch coordinate 360 to the moved touch coordinate 560 .

在一些實施例中,當滑鼠游標的移動不符合滑鼠本身的移動時,控制方法700會進入操作772。在一些其他實施例中,當滑鼠游標的移動不符合滑鼠本身的移動時,控制方法700則會進入操作774。 In some embodiments, the control method 700 proceeds to operation 772 when the movement of the mouse cursor does not correspond to the movement of the mouse itself. In some other embodiments, the control method 700 proceeds to operation 774 when the movement of the mouse cursor does not correspond to the movement of the mouse itself.

在操作770中,因為滑鼠游標的移動與滑鼠本身的移 動一致,因此操作770允許顯示器實際顯示游標的移動事件。舉例來說,電腦系統200會允許顯示器250實際顯示游標自初始游標座標460移動到移動後游標座標660的移動事件。 In operation 770, because the movement of the mouse cursor and the movement of the mouse itself The movement is consistent, so operation 770 allows the display to actually display the cursor's movement event. For example, the computer system 200 may allow the display 250 to actually display the movement event of the cursor moving from the initial cursor coordinate 460 to the moved cursor coordinate 660 .

在操作772中,因為滑鼠游標的移動與滑鼠本身的移動不一致,因此操作772濾除了游標的移動事件,使得顯示器無法實際顯示游標的移動事件。舉例來說,電腦系統200會濾除游標自初始游標座標460移動到移動後游標座標660的移動事件,使得這個移動事件不會被顯示器250所實際顯示。 In operation 772, because the movement of the mouse cursor is inconsistent with the movement of the mouse itself, operation 772 filters out the movement events of the cursor, so that the display cannot actually display the movement events of the cursor. For example, the computer system 200 will filter out the movement event of the cursor moving from the initial cursor coordinate 460 to the moved cursor coordinate 660 , so that the movement event will not be actually displayed by the display 250 .

在操作774中,雖然滑鼠游標的移動與滑鼠本身的移動不一致,但操作774並未濾除游標的移動事件,而是允許顯示器實際顯示游標的移動事件。舉例來說,電腦系統200允許顯示器250實際顯示游標自初始游標座標460到移動後游標座標660的移動事件。在操作774中,滑鼠游標的移動與滑鼠本身的移動不一致這件事會被記錄下來,以供事後驗證。在一些替代性實施例中,不論滑鼠游標的移動與滑鼠本身的移動是否一致,事件都會被記錄下來。舉例來說,在操作770、操作772以及操作774中,都會記錄滑鼠游標的移動與滑鼠本身的移動一致或是不一致。 In operation 774, although the movement of the mouse cursor is not consistent with the movement of the mouse itself, operation 774 does not filter out the movement events of the cursor, but allows the display to actually display the movement events of the cursor. For example, the computer system 200 allows the display 250 to actually display the movement event of the cursor from the initial cursor coordinate 460 to the moved cursor coordinate 660 . In operation 774, the fact that the movement of the mouse cursor does not coincide with the movement of the mouse itself is recorded for later verification. In some alternative embodiments, events are recorded regardless of whether the movement of the mouse cursor coincides with the movement of the mouse itself. For example, in operation 770 , operation 772 and operation 774 , the movement of the mouse cursor is consistent with or inconsistent with the movement of the mouse itself.

在一些實施例中,當完成操作770、操作772、或是操作774後,控制方法700會回到操作710。在一些其他實施例中,當完成操作770、操作772、或是操作774後,控制方法700會回到操作730。在又一些實施例中,當完成操作770、操作772、或是操作774後,控制方法700會回到操作730。但在這些實施例中,控制 方法700會以一特定頻率回到操作710。舉例來說,特定頻率可為0.1赫茲(Hz)到100Hz,但不限於此。 In some embodiments, when operation 770 , operation 772 , or operation 774 is completed, the control method 700 returns to operation 710 . In some other embodiments, when operation 770 , operation 772 , or operation 774 is completed, the control method 700 may return to operation 730 . In still other embodiments, when operation 770 , operation 772 , or operation 774 is completed, the control method 700 may return to operation 730 . But in these embodiments, the control Method 700 returns to operation 710 at a specified frequency. For example, the specific frequency may be 0.1 hertz (Hz) to 100 Hz, but is not limited thereto.

在一些實施例中,操作750可根據先前的操作740及操作750的資料,對觸控斜率作出預測。舉例來說,當連續多個取樣時間中的多個觸控座標之間,具有相同的一斜率且加速度持續增加時,可預測在經過下一個取樣時間後,觸控斜率相當於上述斜率。 In some embodiments, operation 750 may predict the touch slope based on data from previous operations 740 and 750 . For example, when the touch coordinates in successive sampling times have the same slope and the acceleration continues to increase, it can be predicted that after the next sampling time elapses, the touch slope is equivalent to the above-mentioned slope.

在一些實施例中,控制方法700的執行頻率,與輸入裝置所使用的滑鼠的回報率相同。在一些其他實施例中,使用者或廠商可自行設定合適的執行頻率,例如約125Hz至約1000Hz,但不限於此。 In some embodiments, the execution frequency of the control method 700 is the same as the rate of return of the mouse used by the input device. In some other embodiments, the user or the manufacturer can set a suitable execution frequency, such as, but not limited to, about 125 Hz to about 1000 Hz.

上述控制方法700可被實施為一控制程式,且該控制程式可由電腦系統執行。舉例來說,該控制程式可儲存於儲存裝置220中,且由處理裝置210載入並執行,以使電腦系統200實施上述控制方法700。 The above control method 700 can be implemented as a control program, and the control program can be executed by a computer system. For example, the control program can be stored in the storage device 220, and loaded and executed by the processing device 210, so that the computer system 200 implements the above-mentioned control method 700.

本揭露提供一種用於電腦系統的輸入裝置及控制方法。該輸入裝置及控制方法會偵測滑鼠的實際移動及實際位置,並將滑鼠的實際移動及實際位置與滑鼠游標的移動及位置進行比較,以判斷滑鼠的實際行為是否與滑鼠游標的行為一致。如此一來,便可以判斷滑鼠游標是否如實地反映了滑鼠的實際行為。同時,當滑鼠的實際行為與滑鼠游標的行為不一致時,還可以濾除滑鼠游標的行為,以確保顯示器只會顯示出滑鼠的實際行為。 The present disclosure provides an input device and a control method for a computer system. The input device and the control method detect the actual movement and actual position of the mouse, and compare the actual movement and actual position of the mouse with the movement and position of the mouse cursor, so as to determine whether the actual behavior of the mouse is consistent with that of the mouse. Cursors behave the same. In this way, it can be determined whether the mouse cursor faithfully reflects the actual behavior of the mouse. Meanwhile, when the actual behavior of the mouse is inconsistent with the behavior of the mouse cursor, the behavior of the mouse cursor can also be filtered out, so as to ensure that the display only shows the actual behavior of the mouse.

滑鼠的老化、故障、或是其他原因,可能會導致滑 鼠的游標出現不正常的移動,而對使用者造成困擾。藉由本揭露提供的輸入裝置及控制方法,可以避免這些不正常的移動實際發生在顯示器上。如此一來,能夠避免對使用者造成負面的影響。 Mouse aging, malfunction, or other reasons may cause slippage The mouse cursor moves abnormally, causing trouble to the user. With the input device and the control method provided by the present disclosure, these abnormal movements can be avoided from actually occurring on the display. In this way, a negative influence on the user can be avoided.

在電競產業中,若是有有心人士利用第三方軟體等方法,使滑鼠游標作出與選手的操作不一致的移動,將會嚴重影響到電競的公平性。藉由本揭露提供的輸入裝置及控制方法,可以濾除滑鼠游標與滑鼠的實際行為不一致的移動。如此一來,能夠有效防止作弊行為的產生。 In the e-sports industry, if someone with intentions uses third-party software and other methods to make the mouse cursor move inconsistently with the player's operation, it will seriously affect the fairness of e-sports. With the input device and control method provided by the present disclosure, the movement of the mouse cursor that is inconsistent with the actual behavior of the mouse can be filtered out. In this way, the occurrence of cheating can be effectively prevented.

前述內文概述多項實施例或範例之特徵,如此可使於本技術領域中具有通常知識者更佳地瞭解本揭露。本技術領域中具有通常知識者應當理解他們可輕易地以本揭露為基礎設計或修改其他製程及結構,以完成相同之目的及/或達到與本文介紹之實施例或範例相同之優點。本技術領域中具有通常知識者亦需理解,這些等效結構並未脫離本揭露之精神及範圍,且在不脫離本揭露之精神及範圍之情況下,可對本揭露進行各種改變、置換以及變更。 The foregoing description summarizes the features of various embodiments or examples so that the present disclosure may be better understood by those of ordinary skill in the art. Those skilled in the art should appreciate that they can readily use the present disclosure as a basis to design or modify other processes and structures to accomplish the same purposes and/or achieve the same advantages as the embodiments or examples described herein. Those skilled in the art should also understand that these equivalent structures do not depart from the spirit and scope of the present disclosure, and various changes, substitutions and alterations may be made to the present disclosure without departing from the spirit and scope of the present disclosure. .

700:控制方法 700: Control Method

710~774:操作 710~774: Operation

Claims (14)

一種判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,包括:藉由一電腦系統執行一第一感測操作,上述第一感測操作獲取一滑鼠的一游標在一顯示器上的一初始游標座標,以及計算上述滑鼠在一滑鼠墊上對應上述顯示器的一初始觸控座標,其中上述滑鼠墊包括一觸控面板,且上述第一感測操作還包括一校正操作,上述校正操作以上述初始游標座標對上述滑鼠在上述滑鼠墊上的一初始座標進行相對位置校正,以將上述初始座標轉換為上述初始觸控座標,其中上述初始觸控座標大致上與上述初始游標座標相等;藉由上述電腦系統執行一第一判斷操作,上述第一判斷操作判斷上述滑鼠是否發生一滑鼠移動事件,以及判斷上述游標是否發生一游標移動事件;當上述第一判斷操作判斷同時發生上述滑鼠移動事件及上述游標移動事件時,藉由上述電腦系統執行一第二感測操作,上述第二感測操作感測上述滑鼠在上述滑鼠墊上的一移動後觸控座標,以及獲取上述游標在上述顯示器上的一移動後游標座標;藉由上述電腦系統執行一計算操作,上述計算操作根據上述初始觸控座標及上述移動後觸控座標計算一觸控斜率,再根據上述觸控斜率與反三角函數計算一觸控斜率角度,以及根據上述初始游標座標及上述移動後游標座標計算一游標斜率,再根據上述游標斜率與反三角函數計算一游標斜率角度; 藉由上述電腦系統執行一第二判斷操作,上述第二判斷操作判斷上述觸控斜率角度與上述游標斜率角度之間的一角度差值是否處於一容許角度差值範圍內,及/或判斷上述移動後觸控座標與上述移動後游標座標之間的一座標差值是否處於一容許座標差值範圍內,其中當上述角度差值處於上述容許角度差值範圍內且上述座標差值處於上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動一致;以及藉由上述電腦系統執行一第二過濾操作,當上述角度差值處於上述容許角度差值範圍內且上述座標差值處於上述容許座標差值範圍內時,上述第二過濾操作允許上述游標移動事件,使上述游標的上述游標移動事件顯示在上述顯示器上。 A method for judging whether the cursor movement of a mouse is consistent with the actual movement of the mouse, comprising: performing a first sensing operation by a computer system, and the first sensing operation obtains a cursor of a mouse on a display an initial cursor coordinate of the mouse, and calculate an initial touch coordinate of the mouse on a mouse pad corresponding to the display, wherein the mouse pad includes a touch panel, and the first sensing operation further includes a calibration operation, The calibration operation performs a relative position correction on an initial coordinate of the mouse on the mouse pad with the initial vernier coordinate, so as to convert the initial coordinate into the initial touch coordinate, wherein the initial touch coordinate is substantially the same as the initial touch coordinate. The coordinates of the cursors are equal; by the computer system performing a first judgment operation, the first judgment operation judges whether a mouse movement event occurs on the mouse, and whether a cursor movement event occurs on the cursor; when the first judgment operation When it is determined that the mouse movement event and the cursor movement event occur at the same time, the computer system performs a second sensing operation, and the second sensing operation senses a touch after the mouse is moved on the mouse pad. coordinates, and obtain a moved cursor coordinate of the cursor on the display; perform a calculation operation by the computer system, and the calculation operation calculates a touch slope according to the initial touch coordinates and the moved touch coordinates, and then Calculate a touch slope angle according to the touch slope and the inverse trigonometric function, calculate a vernier slope according to the initial vernier coordinates and the moved vernier coordinates, and then calculate a vernier slope angle according to the vernier slope and the inverse trigonometric function; By the computer system performing a second determination operation, the second determination operation determines whether an angle difference between the touch slope angle and the cursor slope angle is within an allowable angle difference range, and/or determines the Whether the coordinate difference value between the touch coordinate after moving and the cursor coordinate after moving is within an allowable coordinate difference value range, wherein when the angle difference value is within the allowable angle difference value range and the coordinate difference value is within the allowable coordinate difference value range When the coordinate difference is within the range of the coordinate difference, the movement of the cursor representing the mouse is consistent with the actual movement of the mouse; and the computer system performs a second filtering operation, when the angle difference is within the allowable angle difference range When the coordinate difference value is within the allowable coordinate difference value range, the second filtering operation allows the cursor movement event, so that the cursor movement event of the cursor is displayed on the display. 如請求項1之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,其中:上述滑鼠墊具有觸控功能,且上述滑鼠在上述滑鼠墊上的座標是藉由上述滑鼠上之複數導電墊與上述滑鼠墊的接觸來取得的;以及上述游標在上述顯示器上的上述初始游標座標與上述移動後游標座標是獲取自上述電腦系統,且上述電腦系統與上述顯示器、上述滑鼠、以及上述滑鼠墊連接。 The method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 1, wherein: the mouse pad has a touch function, and the coordinates of the mouse on the mouse pad are determined by the mouse The above-mentioned plural conductive pads are obtained by contacting the above-mentioned mouse pad; and the above-mentioned initial vernier coordinates and the above-mentioned moved vernier coordinates of the above-mentioned cursor on the above-mentioned display are obtained from the above-mentioned computer system, and the above-mentioned computer system and the above-mentioned display, the above-mentioned mouse, and the aforementioned mouse pad connection. 如請求項2之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,更包括藉由上述電腦系統執行一第一過濾操作,上述第一過濾操作過濾上述滑鼠墊上除了上述複數導電墊以外的其他接觸資訊。 According to the method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 2, the method further comprises performing a first filtering operation by the computer system, and the first filtering operation filters the conductive elements on the mouse pad except the plurality of conductive elements. Contact information other than pads. 如請求項1之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,其中上述容許角度差值範圍為正負2度,而上述容許座標差值範圍為正負1毫米。 The method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 1, wherein the allowable angle difference range is plus or minus 2 degrees, and the allowable coordinate difference range is plus or minus 1 mm. 如請求項1之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,其中當上述角度差值不在上述容許角度差值範圍內,及/或上述座標差值不在上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致,此時上述第二過濾操作濾掉上述游標移動事件,使上述游標的上述游標移動事件不會顯示在上述顯示器上。 The method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 1, wherein when the angle difference value is not within the allowable angle difference value range, and/or the coordinate difference value is not within the allowable coordinate difference value When within the range, the movement of the above-mentioned cursor representing the above-mentioned mouse is inconsistent with the actual movement of the above-mentioned mouse. At this time, the above-mentioned second filtering operation filters out the above-mentioned cursor movement event, so that the above-mentioned cursor movement event of the above-mentioned cursor will not be displayed on the above-mentioned display. superior. 如請求項1之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,其中當上述角度差值不在上述容許角度差值範圍內,及/或上述座標差值不在上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致,此時上述第二過濾操作允許上述游標移動事件,使上述游標的上述游標移動事件顯示在上述顯示器上,同時上述第二過濾操作的執行更包括執行一記錄操作,上述記錄操作會記錄上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致。 The method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 1, wherein when the angle difference value is not within the allowable angle difference value range, and/or the coordinate difference value is not within the allowable coordinate difference value When within the range, the movement of the above-mentioned cursor representing the above-mentioned mouse is inconsistent with the actual movement of the above-mentioned mouse, and the above-mentioned second filtering operation allows the above-mentioned cursor movement event at this time, so that the above-mentioned cursor movement event of the above-mentioned cursor is displayed on the above-mentioned display, and at the same time The execution of the second filtering operation further includes performing a recording operation, and the recording operation records that the movement of the cursor of the mouse is inconsistent with the actual movement of the mouse. 如請求項1之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,更包括執行一記錄操作,上述記錄操作記錄上述第二判斷操作的判斷結果。 The method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 1 further includes performing a recording operation, and the recording operation records the judgment result of the second judgment operation. 如請求項1之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的方法,更包括執行一第二計算操作,上述第二計算操作根據上述初始觸控座標與上述滑鼠移動事件期間的複數移動中觸控座標之間的一相同斜率以及上述滑鼠的一加速度,預測在一取樣時間後的一未來觸控斜率角度相當於上述觸控斜率角度。 The method for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 1, further includes executing a second calculation operation, the second calculation operation is based on the initial touch coordinates and the mouse movement event period. A same slope between touch coordinates during complex movement and an acceleration of the mouse, predicting a future touch slope angle after a sampling time corresponds to the touch slope angle. 一種判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統,包括:一滑鼠墊,具有一觸控面板;一滑鼠,具有複數導電墊,當上述滑鼠***作時,上述複數導電墊與上述觸控面板接觸;以及一電腦系統,上述電腦系統包括:一處理裝置,與上述滑鼠墊及上述滑鼠通訊;一顯示器,顯示上述滑鼠的一游標;以及一儲存裝置,儲存上述滑鼠的一控制程式,當上述控制程式由上述處理裝置執行時,會使上述電腦系統執行下列操作:一第一感測操作,上述第一感測操作獲取上述滑鼠的上述游標在上述顯示器上的一初始游標座標,以及計算上述滑鼠在上述滑鼠墊上對應上述顯示器的一初始觸控座標,其中上述第一感測操作還包括一校正操作,上述校正操作以上述初始游標座標對上述滑鼠在上述滑鼠墊上的一初始座標進行相對位置校正,以將上述初始座標轉換為上述初始觸控座標,其中上述初始觸控座標大致上與上述初始游標座標相等; 一第一判斷操作,上述第一判斷操作判斷上述滑鼠是否發生一滑鼠移動事件,以及判斷上述游標是否發生一游標移動事件;當上述第一判斷操作判斷同時發生上述滑鼠移動事件及上述游標移動事件時,執行一第二感測操作,上述第二感測操作感測上述滑鼠在上述滑鼠墊上的一移動後觸控座標,以及獲取上述游標在上述顯示器上的一移動後游標座標;一計算操作,上述計算操作根據上述初始觸控座標及上述移動後觸控座標計算一觸控斜率,再根據上述觸控斜率與反三角函數計算一觸控斜率角度,以及根據上述初始游標座標及上述移動後游標座標計算一游標斜率,再根據上述游標斜率與反三角函數計算一游標斜率角度;一第二判斷操作,上述第二判斷操作判斷上述觸控斜率角度與上述游標斜率角度之間的一角度差值是否處於一容許角度差值範圍內,及/或判斷上述移動後觸控座標與上述移動後游標座標之間的一座標差值是否處於一容許座標差值範圍內,其中當上述角度差值處於上述容許角度差值範圍內且上述座標差值處於上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動一致;以及一第二過濾操作,當上述角度差值處於上述容許角度差值範圍內且上述座標差值處於上述容許座標差值範圍內時,上述第二過濾操作允許上述游標移動事件,使上述游標的上述游標移動事件顯示在上述顯示器上。 A system for judging whether the cursor movement of a mouse is consistent with the actual movement of the mouse, comprising: a mouse pad with a touch panel; a mouse with a plurality of conductive pads, when the mouse is operated, the plurality of the conductive pad is in contact with the touch panel; and a computer system, the computer system includes: a processing device, which communicates with the mouse pad and the mouse; a display, which displays a cursor of the mouse; and a storage device, A control program of the mouse is stored, and when the control program is executed by the processing device, the computer system will perform the following operations: a first sensing operation, the first sensing operation obtains the cursor of the mouse in an initial vernier coordinate on the above-mentioned display, and calculating an initial touch coordinate of the above-mentioned mouse on the above-mentioned mouse pad corresponding to the above-mentioned display, wherein the above-mentioned first sensing operation further includes a correction operation, and the above-mentioned correction operation is based on the above-mentioned initial vernier coordinate performing relative position correction on an initial coordinate of the mouse on the mouse pad, so as to convert the initial coordinate into the initial touch coordinate, wherein the initial touch coordinate is substantially equal to the initial vernier coordinate; A first judgment operation, the first judgment operation judges whether a mouse movement event occurs on the mouse, and whether a cursor movement event occurs on the cursor; when the first judgment operation judges that the mouse movement event and the above-mentioned mouse movement event occur simultaneously In the event of a cursor movement, a second sensing operation is performed. The second sensing operation senses a touch coordinate after the mouse is moved on the mouse pad, and acquires a moved cursor on the display. Coordinates; a calculation operation, the calculation operation calculates a touch slope according to the initial touch coordinates and the moved touch coordinates, and then calculates a touch slope angle according to the touch slope and the inverse trigonometric function, and according to the initial cursor The coordinates and the moved cursor coordinates calculate a cursor slope, and then calculate a cursor slope angle according to the cursor slope and the inverse trigonometric function; a second judgment operation, the second judgment operation judges the touch slope angle and the cursor slope angle. Whether an angle difference between the two is within an allowable angle difference range, and/or whether the coordinate difference between the moved touch coordinates and the moved cursor coordinates is within an allowable coordinate difference range, wherein When the angle difference is within the allowable angle difference range and the coordinate difference is within the allowable coordinate difference range, it means that the movement of the cursor of the mouse is consistent with the actual movement of the mouse; and a second A filtering operation, when the angle difference value is within the allowable angle difference value range and the coordinate difference value is within the allowable coordinate difference value range, the second filtering operation allows the cursor movement event, so that the cursor movement event of the cursor is displayed on the above display. 如請求項9之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統,其中上述滑鼠在上述滑鼠墊上的座標是藉由上述複數導電墊與上述滑鼠墊的接觸來取得的,而上述游標在上述顯示器上的上述初始游標座標與上述移動後游標座標是獲取自上述電腦系統。 The system for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 9, wherein the coordinates of the mouse on the mouse pad are obtained by contacting the plurality of conductive pads with the mouse pad , and the initial cursor coordinates and the moved cursor coordinates of the cursor on the display are obtained from the computer system. 如請求項9之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統,其中:其中當上述角度差值不在上述容許角度差值範圍內,及/或上述座標差值不在上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致,此時上述第二過濾操作濾掉上述游標移動事件,使上述游標的上述游標移動事件不會顯示在上述顯示器上。 The system for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 9, wherein: when the angle difference is not within the allowable angle difference range, and/or the coordinate difference is not within the allowable coordinate When the difference is within the range, it means that the movement of the above-mentioned cursor of the above-mentioned mouse is inconsistent with the actual movement of the above-mentioned mouse. At this time, the above-mentioned second filtering operation filters out the above-mentioned cursor-moving event, so that the above-mentioned cursor-moving event of the above-mentioned cursor will not be displayed in the on the above display. 如請求項9之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統,其中當上述角度差值不在上述容許角度差值範圍內,及/或上述座標差值不在上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致,此時上述第二過濾操作允許上述游標移動事件,使上述游標的上述游標移動事件顯示在上述顯示器上,同時上述電腦系統更執行一記錄操作,上述記錄操作會記錄上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致。 The system for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 9, wherein when the angle difference is not within the allowable angle difference range, and/or the coordinate difference is not within the allowable coordinate difference When within the range, the movement of the above-mentioned cursor representing the above-mentioned mouse is inconsistent with the actual movement of the above-mentioned mouse, and the above-mentioned second filtering operation allows the above-mentioned cursor movement event at this time, so that the above-mentioned cursor movement event of the above-mentioned cursor is displayed on the above-mentioned display, and at the same time The computer system further performs a recording operation, and the recording operation records that the movement of the cursor of the mouse is inconsistent with the actual movement of the mouse. 如請求項9之判斷滑鼠的游標移動與滑鼠的實際移動是否一致的系統,其中當上述控制程式由上述處理裝置執行 時,上述電腦系統更執行一第二計算操作,上述第二計算操作根據上述初始觸控座標與上述滑鼠移動事件期間的複數移動中觸控座標之間的一相同斜率以及上述滑鼠的一加速度,預測在一取樣時間後的一未來觸控斜率角度相當於上述觸控斜率角度。 The system for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse according to claim 9, wherein when the control program is executed by the processing device , the computer system further performs a second calculation operation, the second calculation operation is based on a same slope between the initial touch coordinates and the touch coordinates in the complex movement during the mouse movement event and a value of the mouse The acceleration, the predicted touch slope angle of a future after a sampling time is equivalent to the above-mentioned touch slope angle. 一種判斷滑鼠的游標移動與滑鼠的實際移動是否一致的電腦程式產品,經由一電腦載入上述電腦程式產品執行:藉由上述電腦執行一第一感測操作,上述第一感測操作獲取一滑鼠的一游標在一顯示器上的一初始游標座標,以及計算上述滑鼠在一滑鼠墊上對應上述顯示器的一初始觸控座標,其中上述滑鼠墊包括一觸控面板,且上述第一感測操作還包括一校正操作,上述校正操作以上述初始游標座標對上述滑鼠在上述滑鼠墊上的一初始座標進行相對位置校正,以將上述初始座標轉換為上述初始觸控座標,其中上述初始觸控座標大致上與上述初始游標座標相等;藉由上述電腦執行一第一判斷操作,上述第一判斷操作判斷上述滑鼠是否發生一滑鼠移動事件,以及判斷上述游標是否發生一游標移動事件;當上述第一判斷操作判斷同時發生上述滑鼠移動事件及上述游標移動事件時,藉由上述電腦執行一第二感測操作,上述第二感測操作感測上述滑鼠在上述滑鼠墊上的一移動後觸控座標,以及獲取上述游標在上述顯示器上的一移動後游標座標;藉由上述電腦執行一計算操作,上述計算操作根據上述初始觸控座標及上述移動後觸控座標計算一觸控斜率,再根據上述觸控斜率與反三角函數計算一觸控斜率角度,以及根據上述初始游標座標及 上述移動後游標座標計算一游標斜率,再根據上述游標斜率與反三角函數計算一游標斜率角度;藉由上述電腦執行一第二判斷操作,上述第二判斷操作判斷上述觸控斜率角度與上述游標斜率角度之間的一角度差值是否處於一容許角度差值範圍內,及/或判斷上述移動後觸控座標與上述移動後游標座標之間的一座標差值是否處於一容許座標差值範圍內;以及藉由上述電腦執行一第二過濾操作,其中:當上述角度差值處於上述容許角度差值範圍內且上述座標差值處於上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動一致,此時上述第二過濾操作允許上述游標移動事件,使上述游標的上述游標移動事件顯示在上述顯示器上;以及當上述角度差值不在上述容許角度差值範圍內,及/或上述座標差值不在上述容許座標差值範圍內時,代表上述滑鼠之上述游標的移動與上述滑鼠的實際移動不一致,此時上述第二過濾操作濾掉上述游標移動事件,使上述游標的上述游標移動事件不會顯示在上述顯示器上。 A computer program product for judging whether the cursor movement of the mouse is consistent with the actual movement of the mouse is loaded into the computer program product through a computer and executed: a first sensing operation is performed by the computer, and the first sensing operation obtains An initial cursor coordinate of a mouse cursor on a display, and calculating an initial touch coordinate of the mouse on a mouse pad corresponding to the display, wherein the mouse pad includes a touch panel, and the first A sensing operation further includes a calibration operation, and the calibration operation performs relative position calibration on an initial coordinate of the mouse on the mouse pad with the initial cursor coordinate, so as to convert the initial coordinate into the initial touch coordinate, wherein The above-mentioned initial touch coordinates are substantially equal to the above-mentioned initial cursor coordinates; the above-mentioned computer performs a first judgment operation, and the above-mentioned first judgment operation judges whether a mouse movement event occurs on the mouse, and whether a cursor occurs on the cursor Movement event; when the above-mentioned first judgment operation judges that the above-mentioned mouse movement event and the above-mentioned cursor movement event occur simultaneously, a second sensing operation is performed by the above-mentioned computer, and the above-mentioned second sensing operation senses that the above-mentioned mouse is on the above-mentioned sliding a moving touch coordinate on the mouse pad, and obtaining a moving cursor coordinate of the cursor on the display; performing a calculation operation by the computer, and the calculation operation is based on the initial touch coordinate and the moved touch coordinate Calculate a touch slope, then calculate a touch slope angle according to the touch slope and the inverse trigonometric function, and calculate a touch slope angle according to the initial vernier coordinates and The moved cursor coordinates calculate a cursor slope, and then calculate a cursor slope angle according to the cursor slope and the inverse trigonometric function; the computer performs a second judgment operation, and the second judgment operation judges the touch slope angle and the cursor Whether an angle difference between the slope angles is within an allowable angle difference range, and/or determining whether the coordinate difference between the moved touch coordinates and the moved cursor coordinates is within an allowable coordinate difference range and perform a second filtering operation by the computer, wherein: when the angle difference is within the allowable angle difference range and the coordinate difference is within the allowable coordinate difference range, it represents the mouse The movement of the cursor is consistent with the actual movement of the above-mentioned mouse, and the above-mentioned second filtering operation allows the above-mentioned cursor movement event, so that the above-mentioned cursor movement event of the above-mentioned cursor is displayed on the above-mentioned display; value range, and/or when the above-mentioned coordinate difference value is not within the above-mentioned allowable coordinate difference value range, it means that the movement of the above-mentioned cursor of the above-mentioned mouse is inconsistent with the actual movement of the above-mentioned mouse, and the above-mentioned second filtering operation filters out the above-mentioned cursor at this time Move event so that the above cursor movement event of the above cursor is not displayed on the above display.
TW109127509A 2020-08-13 2020-08-13 Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse TWI751649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109127509A TWI751649B (en) 2020-08-13 2020-08-13 Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109127509A TWI751649B (en) 2020-08-13 2020-08-13 Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse

Publications (2)

Publication Number Publication Date
TWI751649B true TWI751649B (en) 2022-01-01
TW202206985A TW202206985A (en) 2022-02-16

Family

ID=80809201

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109127509A TWI751649B (en) 2020-08-13 2020-08-13 Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse

Country Status (1)

Country Link
TW (1) TWI751649B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230241511A1 (en) * 2022-02-02 2023-08-03 Nvidia Corporation Submovement-based mouse input cheating detection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW547716U (en) * 2002-07-31 2003-08-11 Jia-Jen Wu Positioning structure for the cursor on a touch panel of portable computer
TWM389299U (en) * 2010-04-06 2010-09-21 Kinpo Elect Inc Cursor control apparatus
TWM497815U (en) * 2014-06-04 2015-03-21 Asianlink Technology Inc Position and trace detection device
CN105302337A (en) * 2013-06-04 2016-02-03 李文傑 High resolution and high sensitivity three-dimensional (3D) cursor maneuvering system, device and motion detection method
US10694942B2 (en) * 2009-03-17 2020-06-30 Emory University Internet-based cognitive diagnostics using visual paired comparison task

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW547716U (en) * 2002-07-31 2003-08-11 Jia-Jen Wu Positioning structure for the cursor on a touch panel of portable computer
US10694942B2 (en) * 2009-03-17 2020-06-30 Emory University Internet-based cognitive diagnostics using visual paired comparison task
TWM389299U (en) * 2010-04-06 2010-09-21 Kinpo Elect Inc Cursor control apparatus
CN105302337A (en) * 2013-06-04 2016-02-03 李文傑 High resolution and high sensitivity three-dimensional (3D) cursor maneuvering system, device and motion detection method
TWM497815U (en) * 2014-06-04 2015-03-21 Asianlink Technology Inc Position and trace detection device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230241511A1 (en) * 2022-02-02 2023-08-03 Nvidia Corporation Submovement-based mouse input cheating detection

Also Published As

Publication number Publication date
TW202206985A (en) 2022-02-16

Similar Documents

Publication Publication Date Title
US8823651B2 (en) Hybrid low power computer mouse
EP2488932B1 (en) Touch interface having microphone to determine touch impact strength
EP2821897B1 (en) Finger detection on touch screens for mobile devices
US20150301684A1 (en) Apparatus and method for inputting information
JP6292673B2 (en) Portable terminal device, erroneous operation prevention method, and program
TWI427509B (en) Method for controlling electronic apparatus and apparatus and computer program product using the method
US20130063386A1 (en) Information input device, information input method, and program
US20080001929A1 (en) Touch panel system and method for activation thereof
TWI751649B (en) Method, system, and computer program for determining whether the cursor movement of a mouse is consistent with the actual movement of the mouse
US7724244B2 (en) Slide-type input device, portable device having the input device and method and medium using the input device
WO2013047336A1 (en) Information processing device and method, program, as well as recording medium
JP2010061372A (en) Information processor, pointer designation method, and program
US9405393B2 (en) Information processing device, information processing method and computer program
WO2020038089A1 (en) Terminal, method and device for performing operations on terminal, and storage medium
US11181944B2 (en) Input device and information processing apparatus
US9557781B2 (en) Adjusting coordinates of touch input
TW201945916A (en) Handheld apparatus, control method thereof of presenting mode and computer-readable recording medium
JP2013156895A (en) Touch position correction processing method for touch panel, and program
US10498879B2 (en) Electronic device, protection method and related product
US9606653B2 (en) Information processing apparatus
JP2022063682A (en) Touch input device, touch input method, and touch input program
JP2001344062A (en) Device for inputting coordinate
US11733795B2 (en) Foldable electronic apparatus and input method thereof
TWI794995B (en) Mouse device with multiple vector detection modules
JP7314576B2 (en) input device