TWI514204B - Recursive mouse input method and mouse device, computer program products - Google Patents
Recursive mouse input method and mouse device, computer program products Download PDFInfo
- Publication number
- TWI514204B TWI514204B TW103121750A TW103121750A TWI514204B TW I514204 B TWI514204 B TW I514204B TW 103121750 A TW103121750 A TW 103121750A TW 103121750 A TW103121750 A TW 103121750A TW I514204 B TWI514204 B TW I514204B
- Authority
- TW
- Taiwan
- Prior art keywords
- loop
- mouse
- roller
- button
- control unit
- Prior art date
Links
Landscapes
- Position Input By Displaying (AREA)
Description
本發明是有關於一種輸入方法及滑鼠裝置、電腦程式產品,特別是指一種精簡化設計並節省元件的循環式滑鼠輸入方法及滑鼠裝置、電腦程式產品。The invention relates to an input method, a mouse device and a computer program product, in particular to a circular mouse input method and a mouse device and a computer program product which are simplified and designed to save components.
現有滑鼠裝置是將左鍵或右鍵在被操作後會輸出一預定定義的指令。為了賦予單一按鍵更多的意義,目前也有配合在一預定時間內連續偵測到兩次操作動作則會輸出另一種定義的指令,例如:當文件在進行編輯時,若滑鼠偵測到左鍵的”單擊動作”則產生控制游標位置的指令,若滑鼠偵測到左鍵的”雙擊動作”則產生選取反白區域的指令。其方式是設置計時器並偵測是否在短時間內有連續點擊動作,若超出預定時間則仍視為單擊動作,但是短時間內連續操作造成操作者的疲勞。The existing mouse device is a command that outputs a predetermined definition after the left or right button is operated. In order to give more meaning to a single button, there are currently two commands that are continuously detected for a predetermined period of time to output another defined command, for example, when the file is being edited, if the mouse detects the left The "click action" of the key generates an instruction to control the position of the cursor. If the mouse detects the "double click action" of the left key, an instruction to select the highlighted area is generated. The method is to set a timer and detect whether there is a continuous click action in a short time. If the predetermined time is exceeded, it is still regarded as a click action, but continuous operation in a short time causes operator fatigue.
另外,也有同時按下多數按鍵的複合按鍵操作方式,使得有限的按鍵能產生更多不同定義的指令組合,其缺點是必須設置兩個以上的按鍵,無法精簡化設計。In addition, there is also a composite button operation mode in which a plurality of buttons are pressed at the same time, so that a limited button can generate more different combinations of instructions. The disadvantage is that more than two buttons must be set, which cannot simplify the design.
因此,如何設計無需短時間內連續操作及避免設置太多按鍵是需要解決的課題。Therefore, how to design a continuous operation without a short period of time and avoid setting too many buttons is a problem to be solved.
本發明之目的,即在提供一種無需設置額外元件且能精簡化設計的循環式滑鼠輸入方法及滑鼠裝置、電腦程式產品。SUMMARY OF THE INVENTION It is an object of the present invention to provide a reciprocating mouse input method, a mouse device, and a computer program product which are capable of simplifying the design without providing additional components.
於是,本發明的循環式滑鼠輸入方法應用於一具有一操作單元的滑鼠裝置,該方法係包含下述步驟:(a)提供一對照表,該對照表記錄數量均為N個的複數序號及複數指令,各該指令分別對應各該序號;(b)計數該操作單元被操作的一操作次數K;(c)將該操作次數K除以N得到一餘數R;及(d)以該餘數R尋找該對照表中相符的序號以得到對應的指令。Therefore, the circular mouse input method of the present invention is applied to a mouse device having an operation unit, and the method includes the following steps: (a) providing a comparison table, the comparison table records the number of N plural a serial number and a plurality of instructions, each of which corresponds to each of the serial numbers; (b) counting an operation number K of operations of the operation unit; (c) dividing the number of operations K by N to obtain a remainder R; and (d) The remainder R finds the matching sequence number in the comparison table to obtain the corresponding instruction.
所述循環式滑鼠輸入方法中,該指令是代表單一按鍵的按下動作或多數不同按鍵的同時按下動作。In the loop type mouse input method, the command is a pressing action representing a single button or a simultaneous pressing action of a plurality of different buttons.
所述循環式滑鼠輸入方法中,步驟(a)之前還包括提供一用以編輯多數按鍵指令的設定介面,該設定介面具有一設置該等按鍵的循環方向的型式選單或一新增該等按鍵內容的循環按鍵選單。In the loop type mouse input method, before step (a), the method further includes: providing a setting interface for editing a plurality of button commands, the setting mask having a type menu for setting a loop direction of the buttons or adding the new type The loop button menu for the contents of the button.
本發明電腦程式產品是一內儲程式之電腦可讀取記錄媒體,當電腦載入該程式並執行後可完成所述之循環式滑鼠輸入方法。The computer program product of the present invention is a computer readable recording medium of a built-in program, and the cyclic mouse input method can be completed when the computer loads the program and executes it.
本發明的滑鼠裝置包含一操作單元、一記憶單元、一控制單元及一輸出單元;該記憶單元儲存一對照表,該對照表記錄數量均為N個的複數序號及複數指令,各該指令分別對應各該序號;該控制單元電性連接該操作單元 及該記憶單元,計數該操作單元被操作的一操作次數K,將該操作次數K除以N得到一餘數R,並以該餘數R尋找該對照表中相符的序號以得到對應的指令;該輸出單元電性連接該控制單元,受該控制單元控制以將該指令輸出。The mouse device of the present invention comprises an operation unit, a memory unit, a control unit and an output unit; the memory unit stores a comparison table, the comparison table records a plurality of complex numbers and complex instructions, each of the instructions Corresponding to each serial number; the control unit is electrically connected to the operating unit And the memory unit, counting an operation number K of the operation unit being operated, dividing the operation number K by N to obtain a remainder R, and searching for the corresponding sequence number in the comparison table by using the remainder R to obtain a corresponding instruction; The output unit is electrically connected to the control unit, and is controlled by the control unit to output the instruction.
其中,該操作單元具有一按鍵,且該控制單元是計數該按鍵每次被觸發後的操作次數。另外,該操作單元還具有一滾輪,且該控制單元是計數在短時間內該滾輪朝向一第一方向每次被滾動後為一第一次數,及該滾輪朝向一相反於該第一方向的第二方向每次被滾動後為一第二次數,且該操作次數為該第一次數減去該第二次數。Wherein, the operating unit has a button, and the control unit counts the number of operations after the button is triggered each time. In addition, the operating unit further has a roller, and the control unit counts a first time after the roller is scrolled in a first direction for a short time, and the roller is oriented opposite to the first direction. The second direction is scrolled for a second number each time, and the number of operations is the first number minus the second number.
本發明之功效在於:無須設置多個按鍵,運用循環式操作可以精簡化設計並節省元件。The effect of the invention is that it is not necessary to provide a plurality of buttons, and the cyclic operation can simplify the design and save components.
1‧‧‧滑鼠裝置1‧‧‧mouse device
10‧‧‧殼體10‧‧‧shell
11‧‧‧控制單元11‧‧‧Control unit
12‧‧‧記憶單元12‧‧‧ memory unit
13‧‧‧操作單元13‧‧‧Operating unit
15‧‧‧輸出單元15‧‧‧Output unit
131、132‧‧‧按鍵131, 132‧‧‧ button
133‧‧‧滾輪133‧‧‧Roller
201~204‧‧‧步驟201~204‧‧‧Steps
301~304‧‧‧步驟301~304‧‧‧Steps
51‧‧‧設定介面51‧‧‧Setting interface
511‧‧‧型式選單511‧‧‧ Type menu
512‧‧‧循環按鍵選單512‧‧‧Cycle button menu
513‧‧‧新增按鍵513‧‧‧Add button
6‧‧‧虛擬按鍵6‧‧‧virtual buttons
本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一示意圖,說明本發明的滑鼠裝置的實施例;圖2是一流程圖,說明本發明的循環式滑鼠輸入方法應用於按鍵的實施例;圖3是一流程圖,說明本發明的循環式滑鼠輸入方法應用於滾輪的實施例;圖4是一示意圖,說明本發明電腦程式產品是於電腦載入程式並執行循環式滑鼠輸入方法的設定畫面之一。Other features and advantages of the present invention will be apparent from the embodiments of the present invention. FIG. 1 is a schematic diagram illustrating an embodiment of the mouse device of the present invention. FIG. 2 is a flow chart illustrating the present invention. The circular mouse input method of the invention is applied to the embodiment of the button; FIG. 3 is a flow chart illustrating the embodiment of the circular mouse input method of the present invention applied to the wheel; FIG. 4 is a schematic diagram illustrating the computer program of the present invention The product is one of the setting screens for the computer to load the program and execute the loop type mouse input method.
圖5是一示意圖,說明本發明電腦程式產品是於電腦載入程式並執行循環式滑鼠輸入方法的設定畫面之二。FIG. 5 is a schematic diagram showing the setting screen of the computer program product of the present invention in a computer loading program and executing a loop type mouse input method.
參閱圖1,本發明的循環式滑鼠輸入方法的實施例應用於一滑鼠裝置1,然而,需補充的是,本發明之實施例僅為示例而非限制,本領域通常知識者當可應用於類似的輸入裝置,不以本說明書所揭示者為限制。Referring to FIG. 1, an embodiment of the method for inputting a circular mouse of the present invention is applied to a mouse device 1. However, it should be added that the embodiments of the present invention are merely examples and are not limiting, and those skilled in the art can The application to similar input devices is not limited by the disclosure of this specification.
滑鼠裝置1具有一殼體10、一控制單元11、一記憶單元12、一操作單元13及一輸出單元15;其中,操作單元包括二個按鍵131、132及一滾輪133。The mouse device 1 has a housing 10, a control unit 11, a memory unit 12, an operating unit 13, and an output unit 15. The operating unit includes two buttons 131, 132 and a roller 133.
參閱圖2,並配合圖1,其中作為左鍵的按鍵131及滾輪133的控制方法說明如下。Referring to Fig. 2 and Fig. 1, the control method of the button 131 and the scroll wheel 133 as the left button will be described below.
步驟201中,記憶單元12儲存一對照表,該對照表記錄數量為N個的複數序號及數量為N個的複數指令,各指令分別對應各序號。其功能說明如表1所示,本實施例的N=6,除了表1的例示,其他實施例中,各指令可以是其他類型的單一按鍵的按下動作或多數其他類型的不同按鍵的同時按下動作,也屬於本發明的範疇。In step 201, the memory unit 12 stores a comparison table, the comparison table records a number of N complex numbers and a number of N complex instructions, each instruction corresponding to each serial number. The function description is as shown in Table 1. In this embodiment, N=6, except for the example of Table 1, in other embodiments, each instruction may be a pressing action of other types of single keys or a plurality of other types of different keys simultaneously. The pressing action also falls within the scope of the present invention.
控制單元11電性連接該操作單元13及該記憶單元12。步驟202中,控制單元11用以計數按鍵131被操作的一操作次數K;接著,步驟203中,控制單元11將該操作次數K除以N得到一餘數R;然後,步驟204中,控制單元11以該餘數R尋找該對照表中相符的序號以得到對應的指令;然後,通過該輸出單元15傳輸該指令,例如:該控制單元11可控制輸出單元15以將該指令輸出至一主機(圖未示)。The control unit 11 is electrically connected to the operating unit 13 and the memory unit 12. In step 202, the control unit 11 is configured to count the number of operations K of the button 131 being operated; then, in step 203, the control unit 11 divides the number of operations K by N to obtain a remainder R; then, in step 204, the control unit 11 searching for the corresponding sequence number in the comparison table by using the remainder R to obtain a corresponding instruction; then, transmitting the instruction through the output unit 15, for example, the control unit 11 can control the output unit 15 to output the instruction to a host ( The figure is not shown).
例如:按鍵131被操作的操作次數K=5,操作次數5除以6得到餘數5,對應餘數5在對照表中相符的序號5可得到對應的指令,因此,按下按鍵131五次可以產生對應實體按鍵2的按下動作。For example, the number of operations of the button 131 being operated is K=5, the number of operations 5 is divided by 6 to obtain the remainder 5, and the corresponding number 5 is matched with the number 5 in the matching table, so that the corresponding command can be obtained by pressing the button 131 five times. Corresponding to the pressing action of the physical button 2.
參閱圖3,為本發明滑鼠裝置1的滾輪133之控制原理。步驟301中,記憶單元12儲存一對照表(如表2所示),該對照表記錄數量均為N個的複數序號及複數指令,各該指令分別對應各該序號。其中,各指令可以是單一按鍵的按下動作或多數不同按鍵的同時按下動作。Referring to Figure 3, the control principle of the scroll wheel 133 of the mouse device 1 of the present invention is shown. In step 301, the memory unit 12 stores a look-up table (as shown in Table 2), the check list records a number of N complex numbers and complex instructions, each of which corresponds to each of the serial numbers. Among them, each command can be a single button press action or a plurality of different button presses simultaneously.
步驟302中,控制單元11用以計數滾輪133被操作的一操作次數K;其中,該控制單元是計數該滾輪133朝向一第一方向I每次被滾動後為一第一次數K1,及該滾輪133朝向一相反於該第一方向I的第二方向II每次被滾動後為一第二次數K2,且該操作次數K為該第一次數K1減去該第二次數K2。In step 302, the control unit 11 is configured to count the number of operations K of the operation of the scroll wheel 133. The control unit counts the first time K1 after the scroll wheel 133 is scrolled toward a first direction I. The second direction II of the roller 133 facing the first direction I is scrolled for a second time K2, and the number K of operations is the first number K1 minus the second number K2.
接著,步驟303中,控制單元11將該操作次數K除以N得到一餘數R;然後,步驟304中,控制單元11以該餘數R尋找該對照表中相符的序號以得到對應的指令,例如:向第一方向I來滾動滾輪133五次及向第二方向II來滾動滾輪133一次可以產生對應實體按鍵1的按下動作;然後,通過該輸出單元15傳輸該指令,例如:該控制單元11可控制輸出單元15以將該指令輸出至一主機(圖未示)。Next, in step 303, the control unit 11 divides the number of operations K by N to obtain a remainder R; then, in step 304, the control unit 11 searches for the matching sequence number in the comparison table with the remainder R to obtain a corresponding instruction, for example, : scrolling the scroll wheel 133 five times in the first direction I and scrolling the scroll wheel 133 in the second direction II once can generate a corresponding pressing action of the physical button 1; then, the instruction is transmitted through the output unit 15, for example: the control unit 11 The output unit 15 can be controlled to output the command to a host (not shown).
補充說明的是,本發明的循環式滑鼠輸入方法共有兩種實施例,第一實施例為滑鼠裝置1的對照表為出廠固定,第二實施例是可在驅動程式的介面編輯對照表的按鍵內容。It is to be noted that there are two embodiments of the loop type mouse input method of the present invention. The first embodiment is a factory-fixed table of the mouse device 1 and the second embodiment is an editable table of the driver interface. Key content.
參閱圖4,第二實施例的電腦程式產品是一藉由一內儲程式之電腦可讀取記錄媒體,於電腦載入程式並執行循環式滑鼠輸入方法的設定介面51,設定介面51包括一型式選單511及一循環按鍵選單512。Referring to FIG. 4, the computer program product of the second embodiment is a setting interface 51 for reading a recording medium by a computer program, loading a program in the computer, and executing a loop type mouse input method. The setting interface 51 includes A type menu 511 and a cycle button menu 512.
參閱圖5,循環按鍵選單512可提供新增該等按鍵內容,若在實體鍵盤的按鍵依序鍵入「1」、「2」、「3」、「A」、 「Alt」,則循環按鍵選單512會對應顯示出包括「1」、「2」、「3」、「A」、「Alt」的虛擬按鍵6,當按下一新增按鍵513,就可完成對照表的資料內容的設置。另外,型式選單511可設置該等按鍵「1」、「2」、「3」、「A」、「Alt」的循環方向,包括正向循環、逆向循環或目前位置;以圖1為例,若是設定為正向循環,則朝著第一方向I操作時,就會以「1」、「2」、「3」、「A」、「Alt」順序輸出,假設為設定為逆向循環,則朝著第二方向II操作時,將以「1」、「2」、「3」、「A」、「Alt」以逆向順序輸出,若設定為目前位置,則是維持原來的滾輪功能不變,不會輸出「1」、「2」、「3」、「A」、「Alt」。Referring to FIG. 5, the loop button menu 512 can provide the content of the button, if the keys of the physical keyboard are sequentially typed "1", "2", "3", "A", "Alt", the loop button menu 512 will display a virtual button 6 including "1", "2", "3", "A", "Alt", and when a new button 513 is pressed, the button can be completed. The setting of the data content of the comparison table. In addition, the type menu 511 can set the cycle direction of the buttons "1", "2", "3", "A", "Alt", including the forward loop, the reverse loop or the current position; If it is set to the forward loop, it will be output in the order of "1", "2", "3", "A", and "Alt" when operating in the first direction I. If it is set to reverse loop, When operating in the second direction II, "1", "2", "3", "A", and "Alt" are output in reverse order. If the current position is set, the original scroll wheel function is maintained. , "1", "2", "3", "A", "Alt" will not be output.
綜上所述,本發明之功效在於:滑鼠裝置1無須設置計時器及多個按鍵,只需單一按鍵131或單一滾輪133並配合運用對照表及循環式計算控制原理,可以精簡化滑鼠裝置的整體設計並節省元件,故確實能達成本發明之目的。In summary, the effect of the present invention is that the mouse device 1 does not need to set a timer and a plurality of buttons, and only needs a single button 131 or a single roller 133 and cooperates with a comparison table and a cyclic calculation control principle to simplify the mouse. The overall design of the device and the saving of components make it possible to achieve the object of the invention.
惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and patent specification content of the present invention, All remain within the scope of the invention patent.
201~204‧‧‧步驟201~204‧‧‧Steps
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103121750A TWI514204B (en) | 2014-06-24 | 2014-06-24 | Recursive mouse input method and mouse device, computer program products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103121750A TWI514204B (en) | 2014-06-24 | 2014-06-24 | Recursive mouse input method and mouse device, computer program products |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI514204B true TWI514204B (en) | 2015-12-21 |
TW201601012A TW201601012A (en) | 2016-01-01 |
Family
ID=55407889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103121750A TWI514204B (en) | 2014-06-24 | 2014-06-24 | Recursive mouse input method and mouse device, computer program products |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI514204B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5748512A (en) * | 1995-02-28 | 1998-05-05 | Microsoft Corporation | Adjusting keyboard |
TW451575B (en) * | 1997-12-17 | 2001-08-21 | Matsushita Electric Ind Co Ltd | Method and apparatus for inputting Chinese characters in a telephone set, and telephone set with a Chinese character input function |
TWI300528B (en) * | 2003-07-08 | 2008-09-01 | Ntt Docomo Inc | Input key and input apparatus |
EP1192716B1 (en) * | 1999-05-27 | 2009-09-23 | Tegic Communications, Inc. | Keyboard system with automatic correction |
-
2014
- 2014-06-24 TW TW103121750A patent/TWI514204B/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5748512A (en) * | 1995-02-28 | 1998-05-05 | Microsoft Corporation | Adjusting keyboard |
TW451575B (en) * | 1997-12-17 | 2001-08-21 | Matsushita Electric Ind Co Ltd | Method and apparatus for inputting Chinese characters in a telephone set, and telephone set with a Chinese character input function |
EP1192716B1 (en) * | 1999-05-27 | 2009-09-23 | Tegic Communications, Inc. | Keyboard system with automatic correction |
TWI300528B (en) * | 2003-07-08 | 2008-09-01 | Ntt Docomo Inc | Input key and input apparatus |
Also Published As
Publication number | Publication date |
---|---|
TW201601012A (en) | 2016-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8970492B2 (en) | Remote session control using multi-touch inputs | |
US11150739B2 (en) | Chinese character entry via a Pinyin input method | |
US9354707B2 (en) | Combination color and pen palette for electronic drawings | |
US20140210742A1 (en) | Emulating pressure sensitivity on multi-touch devices | |
JP2012141947A (en) | Method and apparatus for providing mouse right click function in touch screen terminal | |
JP2014067194A5 (en) | ||
JP6014170B2 (en) | Information processing apparatus and information update program | |
TWI499967B (en) | Touch input mehod for electronical device with virtual buttons, system thereof, programed product thereof and readable recording medium thereof | |
JP2013186628A5 (en) | ||
JP5882973B2 (en) | Information processing apparatus, method, and program | |
TWI514204B (en) | Recursive mouse input method and mouse device, computer program products | |
JP6109103B2 (en) | Plant monitoring screen display device | |
US9239669B2 (en) | Common user interface view grouping and sharing framework in online applications | |
JP6032654B2 (en) | Information processing device | |
JP6662861B2 (en) | Hit test to determine whether to enable direct operation in response to user action | |
JP6482312B2 (en) | Touch operation input device | |
US10795561B2 (en) | Computer system and interface operation method thereof | |
CN105335077B (en) | A kind of information processing method and electronic equipment | |
JP5152421B2 (en) | Information processing apparatus and program | |
CN101339475A (en) | Touch control screen device control method | |
CN104487945B (en) | Computer equipment and method for transition gesture | |
TWI674519B (en) | Electronic device and method for controlling the electronic device | |
JP2014170548A (en) | Mouse pointer control method | |
GB2623597A (en) | Configuration of a touch-sensing device | |
TWI524209B (en) | Electronic device and method for adjusting the setting thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |