TW201928611A - Mouse and method for outputting scrolling data - Google Patents

Mouse and method for outputting scrolling data Download PDF

Info

Publication number
TW201928611A
TW201928611A TW106144228A TW106144228A TW201928611A TW 201928611 A TW201928611 A TW 201928611A TW 106144228 A TW106144228 A TW 106144228A TW 106144228 A TW106144228 A TW 106144228A TW 201928611 A TW201928611 A TW 201928611A
Authority
TW
Taiwan
Prior art keywords
scrolling
mouse
roller
control unit
displacement amount
Prior art date
Application number
TW106144228A
Other languages
Chinese (zh)
Other versions
TWI633466B (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 TW106144228A priority Critical patent/TWI633466B/en
Application granted granted Critical
Publication of TWI633466B publication Critical patent/TWI633466B/en
Publication of TW201928611A publication Critical patent/TW201928611A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The present invention discloses a method for outputting scrolling data includes steps as below: judging whether a fixing scrolling function of a mouse is triggered, judging whether a scrolling movement of a scrolling wheel is greater than a predetermined movement, outputting a scrolling data corresponding to the scrolling movement, judging whether a scrolling time is greater than a predetermined time, and outputting a predetermined scrolling data. The method can generate the fixed predetermined scrolling data when need according to the judging steps as above, such that rotation of the scrolling wheel can be controlled accurately and a error operation can be prevented.

Description

滑鼠及滾輪捲動資料之輸出方法 Mouse and wheel scrolling data output method

本發明係關於一種滑鼠,尤其係關於滑鼠之滾輪捲動資料之輸出方法。 The present invention relates to a mouse, and more particularly to an output method for scrolling data of a mouse wheel.

常見的電腦週邊輸入裝置包括滑鼠、鍵盤以及軌跡球等,其中,由於滑鼠可被使用者以手掌握持而控制游標之移動,符合大數使用者的操作習慣,因此滑鼠成為最普遍的輸入裝置。 Common computer peripheral input devices include a mouse, a keyboard, and a trackball. Among them, since the mouse can be controlled by the user to control the movement of the cursor, which is in accordance with the operating habits of a large number of users, the mouse is the most common. Input device.

首先說明習知滑鼠之結構與功能,請參閱圖1,其為習知滑鼠連接於電腦系統之結構示意圖。電腦系統2包括電腦主機21以及電腦螢幕22,電腦主機21分別連接於滑鼠1以及電腦螢幕22,且電腦主機21具有連接埠211,電腦螢幕22可顯示出一視窗221以及游標222。滑鼠1之功能為可因應使用者之操作而控制游標222移動或運作,以使執行電腦主機21執行相對應之指令。滑鼠1包括本體10、左鍵11、右鍵12、滾輪13 以及連接線14。左鍵11設置於本體10上且位於滾輪13之左側,其左鍵11顯露於本體10之外,而可被使用者觸壓而產生左鍵訊號。右鍵12類似於左鍵11,右鍵12設置於本體10上且位於滾輪13之右側,其右鍵12亦顯露於本體10之外,而可被使用者觸壓而產生右鍵訊號。滾輪13設置於本體10內且部份顯露於本體10之外,其可被使用者撥動而轉動,以產生滾輪捲動資料,而該滾輪捲動資料被傳輸至電腦主機21之後,電腦主機21可根據滾輪滾動資料而進行視窗221之上下捲動功能。連接線14設置於本體10且由本體10往外伸出,其功能為建立滑鼠1以及電腦系統2之間的連接關係。 First, the structure and function of a conventional mouse will be described. Please refer to FIG. 1 , which is a schematic structural view of a conventional mouse connected to a computer system. The computer system 2 includes a computer host 21 and a computer screen 22. The computer host 21 is respectively connected to the mouse 1 and the computer screen 22, and the computer host 21 has a port 211. The computer screen 22 can display a window 221 and a cursor 222. The function of the mouse 1 is to control the movement or operation of the cursor 222 according to the operation of the user, so that the execution computer host 21 executes the corresponding instruction. The mouse 1 includes a body 10, a left button 11, a right button 12, and a scroll wheel 13. And a connecting line 14. The left button 11 is disposed on the main body 10 and located on the left side of the wheel 13, and the left button 11 is exposed outside the body 10, and can be pressed by the user to generate a left button signal. The right button 12 is similar to the left button 11. The right button 12 is disposed on the body 10 and located on the right side of the wheel 13. The right button 12 is also exposed outside the body 10, and can be pressed by the user to generate a right button signal. The roller 13 is disposed in the body 10 and partially exposed outside the body 10, and can be rotated by the user to generate a scrolling data. After the scrolling data is transmitted to the computer host 21, the computer host 21 The scrolling function of the window 221 can be performed according to the scrolling data of the scroll wheel. The connecting wire 14 is disposed on the body 10 and protrudes outward from the body 10, and functions to establish a connection relationship between the mouse 1 and the computer system 2.

其中,習知滑鼠1採用以下設定:當使用者撥動滾輪13一個單位(或刻度)時,滑鼠1會產生對應於一個單位的滾輪捲動資料,而電腦主機21接收到一個單位的滾輪捲動資料時,則進行一個單位的視窗捲動功能。舉例說明,假設電腦主機21設定一個單位的滾輪捲動資料對應於捲動3行的距離,當滾輪13被往下撥動一個單位,且電腦主機21接收到一個單位的滾輪捲動資料時,電腦主機21則控制視窗221往下捲動3行的距離。 Among them, the conventional mouse 1 adopts the following setting: when the user dials a unit (or scale) of the scroll wheel 13, the mouse 1 generates a scrolling data corresponding to one unit, and the computer host 21 receives one unit. When the scroll wheel scrolls the data, a unit scrolling function is performed. For example, assume that the computer host 21 sets a unit of scrolling data corresponding to the distance of three rows of scrolling. When the scrolling wheel 13 is pushed down one unit, and the computer host 21 receives one unit of scrolling data, The host computer 21 controls the window 221 to scroll down by 3 lines.

近年來,由於電子技術日益進步,市面上推出大量電腦遊戲,且受到使用者的喜愛,尤其是第一人稱射擊遊戲(First-person shooter,FPS),可提供使用者身歷其境的射擊場景,不但刺激又可考驗使用者的反應及操控技巧。而該些遊戲大多需要鍵盤配合滑鼠操作,以第一人稱射擊遊戲為例,滑鼠之滾輪的功能通常作為更換武器的操作,當滾輪被撥動一個單位時,滑鼠會產生對應於一個單位的滾輪捲動資料,第一人稱射擊遊戲可因應一個單位的滾輪捲動資料而將目前所使用的武器更換為下一個武器。 In recent years, due to the advancement of electronic technology, a large number of computer games have been launched in the market and are popular among users, especially the First-person shooter (FPS), which provides users with immersive shooting scenes. Not only stimulating but also testing the user's reaction and control skills. Most of these games require a keyboard with a mouse operation. For example, in the first person shooter game, the function of the mouse wheel is usually used as a weapon replacement operation. When the wheel is dialed by one unit, the mouse will produce a corresponding one. The unit's scrolling data, the first person shooting game can replace the weapon currently used with the next weapon in response to the scrolling data of one unit.

然而,由於第一人稱射擊遊戲之遊戲過程十分緊張、刺激, 造成使用者因過度激動而難以準確撥動滾輪一個單位,例如:使用者欲撥動滾輪一個單位,但因過度用力而撥動滾輪兩個單位,故第一人稱射擊遊戲會將目前所使用的武器更換為下兩個武器,而無法有效地更換武器,以造成使用者的困擾。 However, due to the intense and exciting gameplay of the first person shooter, It is difficult for the user to accurately move the wheel by one unit due to excessive excitement. For example, if the user wants to move the wheel by one unit, but the two units of the wheel are moved by excessive force, the first person shooting game will use the current one. The weapon is replaced by the next two weapons, and the weapon cannot be effectively replaced to cause user confusion.

因此,需要一種可準確控制滾輪之轉動情形的滑鼠。 Therefore, there is a need for a mouse that can accurately control the rotation of the roller.

本發明之目的在於提供一種可準確控制滾輪之轉動情形的滑鼠。 It is an object of the present invention to provide a mouse that can accurately control the rotation of the roller.

於一較佳實施例中,本發明提供一種滾輪捲動資料之輸出方法,應用於一滑鼠,該方法包括以下步驟: In a preferred embodiment, the present invention provides a method for outputting scrolling data of a scroll wheel, which is applied to a mouse. The method includes the following steps:

(A)偵測該滑鼠之一滾輪是否被撥動。 (A) Detect if one of the rollers of the mouse is toggled.

(B)判斷該滑鼠之一固定捲動功能是否被啟動。 (B) It is judged whether or not one of the fixed scrolling functions of the mouse is activated.

(C)於該固定捲動功能被啟動時,判斷該滾輪之一捲動位移量是否大於一預設位移量。 (C) determining whether the amount of scrolling displacement of one of the rollers is greater than a predetermined displacement amount when the fixed scrolling function is activated.

(D)於該捲動位移量大於該預設位移量時,判斷該滾輪被撥動之時間是否小於一預設時間。 (D) determining whether the time when the scroll wheel is toggled is less than a preset time when the scroll displacement amount is greater than the preset displacement amount.

其中,當判斷該滾輪被撥動之時間不小於該預設時間時,輸出對應於該捲動位移量之一滾輪捲動資料;而當判斷該滾輪被撥動之時間小於該預設時間時,輸出一預設滾輪捲動資料。 Wherein, when it is determined that the time when the roller is toggled is not less than the preset time, the scrolling data corresponding to one of the scrolling displacement amounts is output; and when the time when the scrolling wheel is judged to be less than the preset time is determined , output a preset scrolling data.

於一較佳實施例中,本發明更提供一種滑鼠,包括一底座、一上蓋、一滾輪模組以及一控制單元。該上蓋覆蓋於該底座,且具有一上 蓋開孔,而該電路板設置於該底座上。該滾輪模組設置於該電路板上且部份顯露於該上蓋開孔之外,用以被撥動而產生一捲動位移量。該控制單元設置於該電路板上且電性連接於該滾輪模組,用以判斷該捲動位移量是否大於一預設位移量,且於該捲動位移量大於該預設位移量時,判斷該滾輪被撥動之時間是否小於一預設時間。其中,當該控制單元判斷該滾輪被撥動之時間不小於該預設時間時,輸出對應於該捲動位移量之一滾輪捲動資料;而當該控制單元判斷該滾輪被撥動之時間小於該預設時間時,輸出一預設滾輪捲動資料。 In a preferred embodiment, the present invention further provides a mouse including a base, an upper cover, a roller module, and a control unit. The upper cover covers the base and has an upper cover The opening is covered, and the circuit board is disposed on the base. The roller module is disposed on the circuit board and partially exposed outside the opening of the upper cover for being plucked to generate a scrolling displacement. The control unit is disposed on the circuit board and electrically connected to the roller module, and is configured to determine whether the scroll displacement amount is greater than a preset displacement amount, and when the scroll displacement amount is greater than the preset displacement amount, Determine whether the time when the scroll wheel is toggled is less than a preset time. Wherein, when the control unit determines that the time when the wheel is toggled is not less than the preset time, outputting a scrolling data corresponding to one of the scrolling displacement amounts; and when the control unit determines the time when the roller is toggled When the preset time is less than the preset time, a preset scrolling data is output.

簡言之,透過本發明滑鼠以及滾輪捲動資料之輸出方法,使用者可於進行第一人稱射擊遊戲之過程中,可啟動本發明滑鼠之固定捲動功能,以於需要時產生固定的預設滾輪捲動資料,而準確地控制滾輪之轉動,藉此可解決習知技術中操作滑鼠容易發生誤動作之情形。此外,於啟動固定捲動功能時,使用者亦可控制撥動滾輪之時間長度,而決定是否使用滑鼠之固定捲動功能。 In short, through the method of outputting the mouse and the scrolling data of the present invention, the user can activate the fixed scrolling function of the mouse of the present invention during the first person shooting game to fix the need when needed. The preset scroll wheel scrolls the data and accurately controls the rotation of the roller, thereby solving the situation in which the mouse is prone to malfunction in the prior art. In addition, when the fixed scrolling function is activated, the user can also control the length of time the scroll wheel is used to determine whether to use the fixed scrolling function of the mouse.

1、3‧‧‧滑鼠 1, 3‧‧‧ mouse

2‧‧‧電腦系統 2‧‧‧ computer system

10‧‧‧本體 10‧‧‧ Ontology

11‧‧‧左鍵 11‧‧‧Left button

12‧‧‧右鍵 12‧‧‧right

13‧‧‧滾輪 13‧‧‧Roller

14‧‧‧連接線 14‧‧‧Connecting line

21‧‧‧電腦主機 21‧‧‧Computer host

22‧‧‧電腦螢幕 22‧‧‧ computer screen

31‧‧‧底座 31‧‧‧Base

32‧‧‧上蓋 32‧‧‧Upper cover

33‧‧‧電路板 33‧‧‧Circuit board

34‧‧‧滾輪模組 34‧‧‧Roller Module

35‧‧‧控制單元 35‧‧‧Control unit

36‧‧‧第一開關 36‧‧‧First switch

37‧‧‧第二開關 37‧‧‧Second switch

38‧‧‧第三開關 38‧‧‧third switch

211‧‧‧連接埠 211‧‧‧Links

221‧‧‧視窗 221‧‧‧Window

222‧‧‧游標 222‧‧‧ cursor

321‧‧‧上蓋開孔 321‧‧‧Top cover opening

322‧‧‧第一按鍵部 322‧‧‧First button

323‧‧‧第二按鍵部 323‧‧‧Second button

324‧‧‧第三按鍵部 324‧‧‧ third button

341‧‧‧滾輪 341‧‧‧Roller

342‧‧‧滾輪軸 342‧‧‧Roller shaft

343‧‧‧磁性元件 343‧‧‧Magnetic components

344‧‧‧磁性感測元件 344‧‧‧ Magnetic sensing component

A~G‧‧‧步驟 A~G‧‧‧ steps

圖1係習知滑鼠連接於電腦系統之結構示意圖。 Figure 1 is a schematic view showing the structure of a conventional mouse connected to a computer system.

圖2係本發明滑鼠於一較佳實施例中之外觀結構示意圖。 Figure 2 is a schematic view showing the appearance of a mouse of the present invention in a preferred embodiment.

圖3係本發明滑鼠於一較佳實施例中之局部結構示意圖。 Figure 3 is a partial schematic view of the mouse of the present invention in a preferred embodiment.

圖4係本發明滾輪捲動資料之輸出方法於一較佳實施例中之方塊流程 圖。 4 is a block flow diagram of a method for outputting scrolling data of the present invention in a preferred embodiment. Figure.

鑑於習知技術所造成的困擾,本發明提供一種具有固定捲動功能之滑鼠以及滾輪捲動資料之輸出方法,以解決習知技術問題。首先說明本發明滑鼠的結構,請同時參閱圖2以及圖3,圖2係為本發明滑鼠於一較佳實施例中之外觀結構示意圖,而圖3係為本發明滑鼠於一較佳實施例中之局部結構示意圖。本發明滑鼠3連接於一電腦系統(未顯示於圖中),其包括底座31、上蓋32、電路板33、滾輪模組34、控制單元35、第一開關36、第二開關37以及第三開關38,而上蓋32覆蓋於底座31,且其包括上蓋開孔321、第一按鍵部322、第二按鍵部323以及第三按鍵部324。電路板33設置於底座31上,而滾輪模組34、控制單元35、第一開關36、第二開關37以及第三開關38皆設置於電路板33上。於本較佳實施例中,電路板33係為印刷電路板(PCB)。 In view of the problems caused by the prior art, the present invention provides a method for outputting a mouse with a fixed scrolling function and a scrolling data of a wheel to solve the conventional technical problems. First, the structure of the mouse of the present invention will be described. Please refer to FIG. 2 and FIG. 3 simultaneously. FIG. 2 is a schematic structural view of the mouse in the preferred embodiment of the present invention, and FIG. 3 is a comparison of the mouse of the present invention. A schematic diagram of a partial structure in a preferred embodiment. The mouse 3 of the present invention is connected to a computer system (not shown) including a base 31, an upper cover 32, a circuit board 33, a roller module 34, a control unit 35, a first switch 36, a second switch 37, and a The third switch 38 covers the base 31 and includes an upper cover opening 321, a first button portion 322, a second button portion 323, and a third button portion 324. The circuit board 33 is disposed on the base 31, and the roller module 34, the control unit 35, the first switch 36, the second switch 37, and the third switch 38 are all disposed on the circuit board 33. In the preferred embodiment, circuit board 33 is a printed circuit board (PCB).

其中,滾輪模組34包括滾輪341、滾輪軸342、磁性元件343以及磁性感測元件344。滾輪模組34部份顯露於上蓋開孔321之外,其可被使用者撥動而產生相對應之捲動位移量。控制單元35設置於電路板33上且電性連接於滾輪模組34,且控制單元35預先儲存有預設位移量以及預設時間,其功能為進行以下判斷且根據判斷結果進行相對應的運作:第一,判斷捲動位移量是否大於預設位移量,第二,判斷滾輪34被撥動之時間是否大於預設時間。於本較佳實施例中,預設位移量被設定為一個單位的捲動位移量,而預設時間被設定為1秒。 The roller module 34 includes a roller 341, a roller shaft 342, a magnetic element 343, and a magnetic sensing element 344. The roller module 34 is partially exposed outside the upper cover opening 321 and can be toggled by the user to generate a corresponding amount of scrolling displacement. The control unit 35 is disposed on the circuit board 33 and electrically connected to the roller module 34, and the control unit 35 pre-stores a preset displacement amount and a preset time, and the function is to perform the following determination and perform corresponding operations according to the determination result. First, it is determined whether the amount of scrolling displacement is greater than a preset displacement amount. Second, it is determined whether the time when the scroll wheel 34 is toggled is greater than a preset time. In the preferred embodiment, the preset displacement amount is set to a unit of scrolling displacement amount, and the preset time is set to 1 second.

滾輪模組34中,滾輪341設置於底座31上且穿過上蓋開孔 321而顯露於上蓋32之外,以供使用者撥動而轉動。滾輪軸342穿過滾輪341且可隨著滾輪341同步轉動,而磁性元件343套設於滾輪軸342上且可隨滾輪軸342同步轉動。磁性感測元件344設置於電路板33上且電性連接於控制單元35,其可根據磁性元件343之轉動情形而產生相對應之捲動位移量,且傳輸捲動位移量至控制單元35。於本較佳實施例中,磁性元件343係為磁鐵,且一端為N極,另一端為S極,磁性感測元件344係為霍爾感測器,而控制單元35係為微處理器。其中,滾輪軸342係被固定於底座31上之支架,為了維持滾輪模組34中各元件結構之清晰可見,故不顯示該支架於圖3中,而該支架之結構係熟知本技藝人士所熟知,故不再贅述。 In the roller module 34, the roller 341 is disposed on the base 31 and passes through the upper cover opening. 321 is exposed outside the upper cover 32 for the user to turn and rotate. The roller shaft 342 passes through the roller 341 and can rotate synchronously with the roller 341, and the magnetic member 343 is sleeved on the roller shaft 342 and can rotate synchronously with the roller shaft 342. The magnetic sensing element 344 is disposed on the circuit board 33 and electrically connected to the control unit 35. The corresponding amount of scrolling displacement is generated according to the rotation condition of the magnetic element 343, and the amount of scrolling displacement is transmitted to the control unit 35. In the preferred embodiment, the magnetic element 343 is a magnet, and one end is an N pole, the other end is an S pole, the magnetic sensing element 344 is a Hall sensor, and the control unit 35 is a microprocessor. The roller shaft 342 is fixed to the bracket on the base 31. In order to maintain the structure of each component in the roller module 34, the bracket is not shown in FIG. 3, and the structure of the bracket is well known to those skilled in the art. Well known, so no longer repeat them.

圖2以及圖3中,第一開關36係對應於上蓋32之第一按鍵部322,其位於滾輪模組34之第一側且電性連接於控制單元35,其功能為被第一按鍵部322觸發而產生第一按鍵訊號至控制單元35。類似地,第二開關37係對應於上蓋32之第二按鍵部323,其位於滾輪模組34之第二側且電性連接於控制單元35,其功能為被第二按鍵部323觸發而產生第二按鍵訊號至控制單元35。第三開關38係對應於上蓋32之第三按鍵部324,其接近於滾輪模組34且電性連接於控制單元35,其功能為被觸發而產生第三按鍵訊號至控制單元35。 In FIG. 2 and FIG. 3 , the first switch 36 corresponds to the first button portion 322 of the upper cover 32 , and is located on the first side of the roller module 34 and is electrically connected to the control unit 35 , and functions as the first button portion. The 322 triggers to generate the first button signal to the control unit 35. Similarly, the second switch 37 is corresponding to the second button portion 323 of the upper cover 32. The second switch portion 323 is located on the second side of the roller module 34 and is electrically connected to the control unit 35. The function is triggered by the second button portion 323. The second button signal is sent to the control unit 35. The third switch 38 is corresponding to the third button portion 324 of the upper cover 32 . The third switch portion 324 is adjacent to the roller module 34 and is electrically connected to the control unit 35 . The function of the third switch 38 is to be triggered to generate a third button signal to the control unit 35 .

於本較佳實施例中,第一按鍵部322係為左鍵,第二按鍵部323係為右鍵,而第三按鍵部324則為功能鍵,例如:當使用者觸壓第三按鍵部324,第三開關38產生第三按鍵訊號至控制單元35時,控制單元35可因應該第三按鍵訊號而啟動滑鼠3之固定捲動功能。同理,於滑鼠3之固定捲動功能已被啟動之情況下,使用者可再次觸壓第三按鍵部324,即可關閉滑鼠3之固定捲動功能。其僅為例示之用,而非以此為限。於另一較佳實施例中,本發明滑鼠亦可設定第三按鍵訊號對應於其他功能,而設定 控制單元同時接收到第一按鍵訊號以及第二按鍵訊號則啟動滑鼠之固定捲動功能。換言之,使用者只要同時觸壓第一按鍵部以及第二按鍵部,即可啟動滑鼠之固定捲動功能。 In the preferred embodiment, the first button portion 322 is a left button, the second button portion 323 is a right button, and the third button portion 324 is a function button, for example, when the user touches the third button portion 324. When the third switch 38 generates the third button signal to the control unit 35, the control unit 35 can activate the fixed scrolling function of the mouse 3 according to the third button signal. Similarly, in the case that the fixed scrolling function of the mouse 3 has been activated, the user can press the third button portion 324 again to turn off the fixed scrolling function of the mouse 3. It is for illustrative purposes only and is not limited thereto. In another preferred embodiment, the mouse of the present invention can also set the third button signal to correspond to other functions, and set The control unit simultaneously receives the first button signal and the second button signal to activate the fixed scrolling function of the mouse. In other words, the user can activate the fixed scrolling function of the mouse as long as the user touches the first button portion and the second button portion at the same time.

接下來說明本發明滾輪捲動資料之輸出方法的各步驟。請參閱圖4,其為本發明滾輪捲動資料之輸出方法於一較佳實施例中之方塊流程圖。本發明滾輪捲動資料之輸出方法包括以下步驟: Next, each step of the method of outputting the scrolling data of the present invention will be described. Please refer to FIG. 4 , which is a block flow diagram of a method for outputting scrolling data of a wheel in a preferred embodiment of the present invention. The method for outputting the scrolling data of the wheel of the invention comprises the following steps:

步驟A:偵測滑鼠之滾輪是否被撥動。 Step A: Detect if the mouse wheel is toggled.

步驟B:判斷滑鼠之固定捲動功能是否被啟動。 Step B: Determine if the fixed scrolling function of the mouse is activated.

步驟C:判斷滾輪之捲動位移量是否大於預設位移量。 Step C: Determine whether the scrolling displacement of the roller is greater than a preset displacement.

步驟D:輸出對應於捲動位移量之滾輪捲動資料。 Step D: Output the scrolling data corresponding to the scroll displacement amount.

步驟E:判斷滾輪被撥動之時間是否小於預設時間。 Step E: Determine whether the time when the scroll wheel is toggled is less than the preset time.

步驟F:輸出預設滾輪捲動資料。 Step F: Output preset scrolling data.

步驟G:判斷滑鼠之電源是否啟動。 Step G: Determine if the power of the mouse is activated.

其中,於步驟A中,當偵測到滑鼠之滾輪被撥動時,進行步驟B,否則再次進行步驟A。於步驟B中,當判斷滑鼠之固定捲動功能已被啟動時,進行步驟C,否則進行步驟D。於步驟C中,當判斷滾輪之捲動位移量大於預設位移量時,進行步驟E,否則進行步驟D。於步驟E中,當判斷滾輪被撥動之時間小於預設時間時,進行步驟F,否則進行步驟D。於步驟G中,當判斷滑鼠之電源啟動時,再次進行步驟A,否則結束本方法。 Wherein, in step A, when it is detected that the mouse wheel is toggled, step B is performed, otherwise step A is performed again. In step B, when it is determined that the fixed scrolling function of the mouse has been activated, step C is performed, otherwise step D is performed. In step C, when it is determined that the scroll displacement amount of the roller is greater than the preset displacement amount, step E is performed, otherwise step D is performed. In step E, when it is determined that the time when the scroll wheel is toggled is less than the preset time, step F is performed, otherwise step D is performed. In step G, when it is determined that the power of the mouse is activated, step A is performed again, otherwise the method is ended.

接下來說明本發明滑鼠進行滾輪捲動資料之輸出方法之運作情形。請同時參閱圖2、圖3以及圖4,首先,假設滑鼠3所連接之電腦系統採用以下設定:當滾輪341被往下撥動一個單位,且電腦系統接收到一個單位的滾輪捲動資料時,電腦系統則控制視窗往下捲動3行的距離。 於滑鼠3之電源被開啟之後,控制單元35開始進行本發明方法,首先進行步驟A:偵測滑鼠3之滾輪341是否被撥動,其中,若滾輪341持續未被撥動,則反覆進行步驟A。當使用者操作滑鼠3且撥動滾輪341兩個單位時,滾輪341轉動且帶動滾輪軸342轉動,使得滾輪軸342上之磁性元件343亦隨之轉動,以產生磁場變化。此時,磁性感測元件344可根據磁場變化而產生對應於滾輪341轉動兩個單位之捲動位移量。因此,控制單元35接收到對應於兩個單位的捲動位移量,且可於步驟A中判斷滾輪341已被撥動,以進行步驟B。另一方面,於控制單元35開始偵測到滾輪341被撥動的同時,開始計算滾輪341被撥動的時間。 Next, the operation of the method for outputting the scrolling data of the mouse by the mouse of the present invention will be described. Please refer to FIG. 2, FIG. 3 and FIG. 4 at the same time. First, assume that the computer system connected to the mouse 3 adopts the following settings: when the wheel 341 is pushed down one unit, and the computer system receives a unit of scrolling data At the time, the computer system controls the window to scroll down by 3 lines. After the power of the mouse 3 is turned on, the control unit 35 starts the method of the present invention. First, step A is performed: detecting whether the scroll wheel 341 of the mouse 3 is toggled, wherein if the scroll wheel 341 is not continuously toggled, it is repeated. Go to step A. When the user operates the mouse 3 and dials the two units of the roller 341, the roller 341 rotates and drives the roller shaft 342 to rotate, so that the magnetic member 343 on the roller shaft 342 also rotates to generate a magnetic field change. At this time, the magnetic sensing element 344 can generate a scroll displacement amount corresponding to two units of rotation of the roller 341 according to a change in the magnetic field. Therefore, the control unit 35 receives the scroll displacement amount corresponding to two units, and can judge in step A that the roller 341 has been toggled to perform step B. On the other hand, when the control unit 35 starts detecting that the roller 341 is being toggled, it starts counting the time when the roller 341 is toggled.

步驟B中,控制單元35判斷滑鼠之固定捲動功能是否被啟動,而滑鼠之固定捲動功能的啟動方式可如前段所述,故不再贅述。當控制單元35判斷滑鼠之固定捲動功能未被啟動時,進行步驟D:輸出對應於捲動位移量之滾輪捲動資料,亦即控制單元35輸出對應於兩個單位之捲動位移量的滾輪捲動資料至電腦系統,使電腦系統進行捲動6行的距離之運作。若電腦系統正在進行第一人稱射擊遊戲,此時,電腦系統會進行更換下兩個武器的運作。然而,當控制單元35判斷滑鼠之固定捲動功能已被啟動時,則進行步驟C:判斷滾輪341之對應於兩個單位之捲動位移量是否大於預設位移量。其中,預設位移量設定為一個單位的捲動位移量,因此,控制單元35判斷此時的捲動位移量大於預設位移量,而進行步驟E。 In step B, the control unit 35 determines whether the fixed scrolling function of the mouse is activated, and the starting mode of the fixed scrolling function of the mouse can be as described in the previous paragraph, and therefore will not be described again. When the control unit 35 determines that the fixed scrolling function of the mouse is not activated, proceeding to step D: outputting the scrolling data corresponding to the scrolling displacement amount, that is, the control unit 35 outputs the scrolling displacement amount corresponding to the two units. The scroll wheel scrolls the data to the computer system, causing the computer system to scroll the distance of 6 lines. If the computer system is in the first person shooting game, at this time, the computer system will replace the operation of the next two weapons. However, when the control unit 35 determines that the fixed scrolling function of the mouse has been activated, step C is performed to determine whether the scrolling displacement amount of the roller 341 corresponding to two units is greater than the preset displacement amount. The preset displacement amount is set to one unit of the scroll displacement amount. Therefore, the control unit 35 determines that the scroll displacement amount at this time is greater than the preset displacement amount, and proceeds to step E.

接下來,控制單元35於步驟E中比較滾輪341被撥動之時間以及預設時間,例如:控制單元35判斷滾輪341被撥動之時間為1.5秒,而大於預設時間時,進行步驟D:輸出對應於捲動位移量之滾輪捲動資料。若是另一種情況:控制單元35判斷滾輪341被撥動之時間為0.5秒,而小於預設時間時,進行步驟F:輸出預設滾輪捲動資料。於本較佳實施例中, 預設滾輪捲動資料被設定為對應於一個單位捲動位移量,且預設滾輪捲動資料亦被預先儲存於控制單元35中。因此,控制單元35輸出對應於一個單位之捲動位移量的預設滾輪捲動資料至電腦系統,使電腦系統進行捲動3行的距離之運作。若電腦系統正在進行第一人稱射擊遊戲,此時,電腦系統會進行更換下一個武器的運作。 Next, the control unit 35 compares the time when the scroll wheel 341 is toggled and the preset time in step E. For example, the control unit 35 determines that the time when the scroll wheel 341 is toggled is 1.5 seconds, and when it is greater than the preset time, step D is performed. : Outputs the scrolling data corresponding to the scroll displacement amount. If it is another case, the control unit 35 determines that the time when the scroll wheel 341 is toggled is 0.5 seconds, and is less than the preset time, and proceeds to step F: outputting the preset scrolling data. In the preferred embodiment, The preset scroll scrolling data is set to correspond to one unit scrolling displacement amount, and the preset scrolling scrolling data is also stored in the control unit 35 in advance. Therefore, the control unit 35 outputs the preset scrolling data corresponding to the rolling displacement amount of one unit to the computer system, so that the computer system performs the operation of scrolling the distance of three lines. If the computer system is performing a first person shooter game, at this time, the computer system will perform the operation of replacing the next weapon.

需特別說明的有二,第一,由於本發明方法中包含有預設時間之判斷運作,即使本發明滑鼠3已啟動固定捲動功能,使用者亦可透過緩慢地撥動滾輪341的方式操作,而可執行滑鼠3之一般捲動功能。舉例來說:當使用者於0.5秒內撥動滾輪341三個單位時,控制單元35經過步驟C以及步驟E可判斷使用者希望進行固定捲動功能,而輸出預設滾輪捲動資料,使電腦系統進行更換下一個武器的運作。而當使用者於2秒內撥動滾輪341三個單位時,控制單元35經過步驟C以及步驟E可判斷使用者希望進行一般捲動功能,而輸出對應於三個單位的捲動位移量之滾輪捲動資料,使電腦系統進行更換下三個武器的運作。 There are two special requirements. First, since the method of the present invention includes a predetermined time operation, even if the mouse 3 of the present invention has activated the fixed scrolling function, the user can slowly move the roller 341. Operation, and the general scrolling function of the mouse 3 can be performed. For example, when the user dials three units of the scroll wheel 341 within 0.5 seconds, the control unit 35 determines through step C and step E that the user desires to perform a fixed scrolling function, and outputs a preset scrolling scrolling data. The computer system performs the operation of replacing the next weapon. When the user dials three units of the scroll wheel 341 within 2 seconds, the control unit 35 determines through step C and step E that the user desires to perform the general scrolling function, and outputs a scrolling displacement amount corresponding to three units. The scroll wheel scrolls the data so that the computer system can replace the operation of the next three weapons.

第二,本發明方法之步驟C中並非限定滾輪之捲動位移量必須大於預設位移量,才進行步驟E,亦可因應需求而設定為滾輪之捲動位移量大於或等於預設位移量。而步驟E之判斷運作亦為同理。 Secondly, in step C of the method of the present invention, the scrolling displacement of the roller must be greater than the preset displacement amount, and step E is performed, and the scrolling displacement of the roller is set to be greater than or equal to the preset displacement amount according to the demand. . The judgment of step E is also the same.

最後,控制單元35進行步驟G:判斷滑鼠3之電源是否啟動,若滑鼠3之電源仍然啟動,再次進行步驟A。否則,表示滑鼠3已使用完畢,故結束本方法。需特別說明的是,本較佳實施例中之滾輪模組34係採用磁性元件343以及磁性感測元件344作為產生捲動位移量之元件,期僅為例示之用,而非以此為限。於另一較佳實施例中,滾輪模組亦可採用傳統的編碼器(Encoder)來產生捲動位移量,包含有此種滾輪模組之滑鼠亦可實現本發明方法。 Finally, the control unit 35 performs step G: determining whether the power of the mouse 3 is activated. If the power of the mouse 3 is still activated, the step A is performed again. Otherwise, it means that the mouse 3 has been used, so the method ends. It should be noted that the roller module 34 in the preferred embodiment uses the magnetic component 343 and the magnetic sensing component 344 as components for generating the amount of scroll displacement, and is for illustrative purposes only, and not limited thereto. . In another preferred embodiment, the roller module can also use a conventional encoder to generate a scroll displacement. The mouse including the roller module can also implement the method of the present invention.

根據上述可知,透過本發明滑鼠以及滾輪捲動資料之輸出方法,使用者可於進行第一人稱射擊遊戲之過程中,可啟動本發明滑鼠之固定捲動功能,以於需要時產生固定的預設滾輪捲動資料,而準確地控制滾輪之轉動,藉此可解決習知技術中操作滑鼠容易發生誤動作之情形。本發明方法除了可應用於一般滾輪滑鼠之外,更適合應用於無段落感滑鼠(亦即俗稱的飛梭滑鼠),無段落感滑鼠不具有刻度結構,使用者無法準確地控制無段落感滑鼠之滾輪的撥動。換言之,藉由本發明方法,無段落感滑鼠亦可準確地輸出固定的預設滾輪捲動資料,以準確地進行滾輪之操作。此外,於啟動固定捲動功能時,使用者亦可控制撥動滾輪之時間長度,而決定是否使用滑鼠之固定捲動功能。 According to the above, the user can activate the fixed scrolling function of the mouse of the present invention during the first person shooting game through the method of outputting the mouse and the scrolling data of the present invention, so as to be fixed when needed. The preset scroll wheel scrolls the data and accurately controls the rotation of the roller, thereby solving the situation in which the mouse is prone to malfunction in the prior art. The method of the invention is applicable to the non-paragraph mouse (also known as the shuttle mouse) in addition to the general roller mouse, and the non-paragraph mouse does not have the scale structure, and the user cannot accurately control. The stroke of the mouse without the paragraph feels. In other words, with the method of the present invention, the non-paragraph mouse can also accurately output the fixed preset scrolling data to accurately perform the operation of the scroll wheel. In addition, when the fixed scrolling function is activated, the user can also control the length of time the scroll wheel is used to determine whether to use the fixed scrolling function of the mouse.

以上所述僅為本發明之較佳實施例,並非用以限定本發明之申請專利範圍,因此凡其它未脫離本發明所揭示之精神下所完成之等效改變或修飾,均應包含於本案之申請專利範圍內。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, any equivalent changes or modifications made without departing from the spirit of the present invention should be included in the present invention. Within the scope of the patent application.

Claims (10)

一種滾輪捲動資料之輸出方法,應用於一滑鼠,該方法包括以下步驟:(A)偵測該滑鼠之一滾輪是否被撥動;(B)判斷該滑鼠之一固定捲動功能是否被啟動;(C)於該固定捲動功能被啟動時,判斷該滾輪之一捲動位移量是否大於一預設位移量;以及(D)於該捲動位移量大於該預設位移量時,判斷該滾輪被撥動之時間是否小於一預設時間;其中,當判斷該滾輪被撥動之時間不小於該預設時間時,輸出對應於該捲動位移量之一滾輪捲動資料;而當判斷該滾輪被撥動之時間小於該預設時間時,輸出一預設滾輪捲動資料。 A method for outputting scrolling data of a wheel is applied to a mouse. The method comprises the following steps: (A) detecting whether one of the rollers of the mouse is toggled; (B) determining a fixed scrolling function of the mouse Whether it is activated; (C) determining whether a scrolling displacement of the roller is greater than a predetermined displacement amount when the fixed scrolling function is activated; and (D) the scrolling displacement amount is greater than the preset displacement amount Determining whether the time when the scroll wheel is toggled is less than a preset time; wherein, when it is determined that the time when the scroll wheel is dialed is not less than the preset time, outputting a scrolling data corresponding to the scroll displacement amount And when it is determined that the time when the wheel is toggled is less than the preset time, a preset scrolling data is output. 如申請專利範圍第1項所述之滾輪捲動資料之輸出方法,於該步驟(A)中,當偵測該滑鼠之該滾輪被撥動之後,產生該滾輪捲動位移量,且判斷該滑鼠之該固定捲動功能是否被啟動;而當偵測該滑鼠之該滾輪未被撥動之後,再次偵測該滑鼠之該滾輪是否被撥動。 The method for outputting the scrolling data of the roller according to the first aspect of the patent application, in the step (A), after detecting that the roller of the mouse is plucked, generating a scrolling displacement amount of the roller, and determining Whether the fixed scrolling function of the mouse is activated; and after detecting that the roller of the mouse is not dialed, detecting whether the roller of the mouse is toggled. 如申請專利範圍第1項所述之滾輪捲動資料之輸出方法,於該步驟(B)中,當判斷該滑鼠之該固定捲動功能未被啟動之後,輸出對應於該捲動位移量之該滾輪捲動資料。 The method for outputting the scrolling data of the scroll wheel according to the first aspect of the patent application, in the step (B), after determining that the fixed scrolling function of the mouse is not activated, the output corresponds to the scrolling displacement amount. The scroll wheel scrolls the data. 如申請專利範圍第1項所述之滾輪捲動資料之輸出方法,於該步驟(C)中,當判斷該滾輪之該捲動位移量不大於該預設位移量之後,輸出對應於該捲動位移量之該滾輪捲動資料。 The method for outputting the scrolling data of the roller according to the first aspect of the patent application, in the step (C), after determining that the scrolling displacement of the roller is not greater than the preset displacement, the output corresponds to the volume The wheel of the dynamic displacement amount scrolls the data. 如申請專利範圍第1項所述之滾輪捲動資料之輸出方法,更包括:判 斷該滑鼠之電源是否啟動;其中,當判斷該滑鼠之電源仍啟動,再次偵測該滑鼠之該滾輪是否被撥動;而當判斷該滑鼠之電源未啟動,結束該滑鼠之運作。 For example, the method for outputting the scrolling data of the wheel described in the first application of the patent scope includes: Whether the power of the mouse is activated; wherein, when it is determined that the power of the mouse is still activated, detecting whether the roller of the mouse is toggled; and when it is determined that the power of the mouse is not activated, ending the mouse Operation. 一種滑鼠,包括:一底座;一上蓋,覆蓋於該底座,且具有一上蓋開孔;一電路板,設置於該底座上;一滾輪模組,設置於該電路板上且部份顯露於該上蓋開孔之外,用以被撥動而產生一捲動位移量;以及一控制單元,設置於該電路板上且電性連接於該滾輪模組,用以判斷該捲動位移量是否大於一預設位移量,且於該捲動位移量大於該預設位移量時,判斷該滾輪被撥動之時間是否小於一預設時間;其中,當該控制單元判斷該滾輪被撥動之時間不小於該預設時間時,輸出對應於該捲動位移量之一滾輪捲動資料;而當該控制單元判斷該滾輪被撥動之時間小於該預設時間時,輸出一預設滾輪捲動資料。 A mouse includes: a base; an upper cover covering the base and having an upper cover opening; a circuit board disposed on the base; a roller module disposed on the circuit board and partially exposed And the control unit is disposed on the circuit board and electrically connected to the roller module to determine whether the scrolling displacement is When the scroll displacement amount is greater than the preset displacement amount, determining whether the time when the scroll wheel is toggled is less than a preset time; wherein, when the control unit determines that the scroll wheel is dialed When the time is not less than the preset time, the output corresponds to one of the scrolling displacements of the scrolling data; and when the control unit determines that the time when the scrolling is triggered is less than the preset time, outputting a preset scrolling volume Information. 如申請專利範圍第6項所述之滑鼠,其中,該滾輪模組包括:一滾輪,設置於該底座上且穿過該上蓋開孔而顯露於該上蓋之外,用以被撥動而轉動;一滾輪軸,穿過該滾輪,且可隨著該滾輪轉動;一磁性元件,套設於該滾輪軸上,可隨該滾輪軸轉動;以及一磁性感測元件,設置於該電路板上且電性連接於該控制單元,用以根據該磁性元件之轉動而產生該捲動位移量,且傳輸該捲動位移量至該控制 單元。 The mouse of claim 6, wherein the roller module comprises: a roller disposed on the base and exposed through the upper cover opening to be displayed outside the upper cover for being dialed Rotating; a roller shaft passing through the roller and rotatable with the roller; a magnetic component sleeved on the roller shaft for rotation with the roller shaft; and a magnetic sensing component disposed on the circuit board And electrically connected to the control unit, configured to generate the scroll displacement amount according to the rotation of the magnetic component, and transmit the scroll displacement amount to the control unit. 如申請專利範圍第6項所述之滑鼠,更包括:一第一開關,位於該滾輪模組之一第一側,設置於該電路板上且電性連接於該控制單元,用以被觸發而產生一第一按鍵訊號至該控制單元;以及一第二開關,位於該滾輪模組之一第二側,設置於該電路板上且電性連接於該控制單元,用以被觸發而產生一第二按鍵訊號至該控制單元;其中,當該控制單元同時接收到該第一按鍵訊號以及該第二按鍵訊號時,該控制單元啟動該滑鼠之一固定捲動功能。 The mouse of claim 6, further comprising: a first switch disposed on a first side of the roller module, disposed on the circuit board and electrically connected to the control unit, configured to be Triggering to generate a first button signal to the control unit; and a second switch located on a second side of the wheel module, disposed on the circuit board and electrically connected to the control unit for being triggered Generating a second button signal to the control unit; wherein, when the control unit receives the first button signal and the second button signal simultaneously, the control unit activates a fixed scrolling function of the mouse. 如申請專利範圍第6項所述之滑鼠,更包括一第三開關,設置於該電路板上且接近於該滾輪模組,該第三開關電性連接於該控制單元,用以被觸發而產生一第三按鍵訊號至該控制單元,使該控制單元因應該第三按鍵訊號而啟動該滑鼠之一固定捲動功能。 The mouse of claim 6 further includes a third switch disposed on the circuit board and adjacent to the wheel module, the third switch being electrically connected to the control unit for being triggered A third button signal is generated to the control unit, so that the control unit activates a fixed scrolling function of the mouse in response to the third button signal. 如申請專利範圍第6項所述之滑鼠,其中,該預設位移量以及該預設時間係被儲存於該控制單元內。 The mouse of claim 6, wherein the preset displacement amount and the preset time are stored in the control unit.
TW106144228A 2017-12-15 2017-12-15 Mouse and method for outputting scrolling data TWI633466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106144228A TWI633466B (en) 2017-12-15 2017-12-15 Mouse and method for outputting scrolling data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106144228A TWI633466B (en) 2017-12-15 2017-12-15 Mouse and method for outputting scrolling data

Publications (2)

Publication Number Publication Date
TWI633466B TWI633466B (en) 2018-08-21
TW201928611A true TW201928611A (en) 2019-07-16

Family

ID=63960001

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106144228A TWI633466B (en) 2017-12-15 2017-12-15 Mouse and method for outputting scrolling data

Country Status (1)

Country Link
TW (1) TWI633466B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI731513B (en) * 2019-11-08 2021-06-21 致伸科技股份有限公司 Mouse device and controling method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI749836B (en) * 2020-10-29 2021-12-11 群光電子股份有限公司 Mouse device
TWI800427B (en) * 2022-07-14 2023-04-21 致伸科技股份有限公司 Roller module

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6865718B2 (en) * 1999-09-29 2005-03-08 Microsoft Corp. Accelerated scrolling
US7071919B2 (en) * 2001-02-26 2006-07-04 Microsoft Corporation Positional scrolling
TWM350057U (en) * 2008-07-30 2009-02-01 Cong-Jin Gao Wheel rolling mode switching device for wheel mouse
CN103455173A (en) * 2012-06-04 2013-12-18 致伸科技股份有限公司 Wheeled mouse

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI731513B (en) * 2019-11-08 2021-06-21 致伸科技股份有限公司 Mouse device and controling method thereof

Also Published As

Publication number Publication date
TWI633466B (en) 2018-08-21

Similar Documents

Publication Publication Date Title
US10120445B2 (en) Glove interface object with flex sensing and wrist tracking for virtual interaction
TWI633466B (en) Mouse and method for outputting scrolling data
WO2018107897A1 (en) Touch screen control method and device, mobile terminal, and storage medium
CN105630350B (en) Virtual role control method and device
EP3051390B1 (en) Rotational element enabling touch-like gestures
CN107297073B (en) Method and device for simulating peripheral input signal and electronic equipment
JP2006148510A (en) Image processing device and image processing program
TWI636382B (en) Touch sensitive electronic system, processing apparatus and method thereof for simulating stylus as joystick
US20110109550A1 (en) Keyboard/mouse set and computer system using same
US10884516B2 (en) Operation and control apparatus and control method
WO2013186964A1 (en) Operation display device and program
TWI544370B (en) Computer input device with operation modes and method thereof
CN109933219B (en) Mouse and output method of rolling data by roller
JP2010009217A (en) Operation input device
CN105825092B (en) Handheld electronic device and password input method thereof
US20160004384A1 (en) Method of universal multi-touch input
JP2016120039A (en) Game program
CN110538460B (en) Mobile device
JP2014198203A (en) Program, game device, and server system
TWI731513B (en) Mouse device and controling method thereof
JP2015147064A (en) Program, game device, and server system
TWI402718B (en) Electronic device and operation method thereof
KR101682214B1 (en) an electric ink keyboard
TW201913298A (en) Virtual reality system capable of showing real-time image of physical input device and controlling method thereof
Zinaty et al. Design and Implementation of an Angry Birds Game Controller Using Flex Sensor and a Potentiometer