TW201702813A - Keyboard control circuit - Google Patents

Keyboard control circuit Download PDF

Info

Publication number
TW201702813A
TW201702813A TW105118141A TW105118141A TW201702813A TW 201702813 A TW201702813 A TW 201702813A TW 105118141 A TW105118141 A TW 105118141A TW 105118141 A TW105118141 A TW 105118141A TW 201702813 A TW201702813 A TW 201702813A
Authority
TW
Taiwan
Prior art keywords
key
signal
keyboard
control circuit
control unit
Prior art date
Application number
TW105118141A
Other languages
Chinese (zh)
Other versions
TWI579735B (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 US15/205,641 priority Critical patent/US10394343B2/en
Publication of TW201702813A publication Critical patent/TW201702813A/en
Application granted granted Critical
Publication of TWI579735B publication Critical patent/TWI579735B/en

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

A keyboard control circuit is configured on a circuit board. The circuit board is electrically connected to a keyboard having a polarity of keys. The keyboard control circuit includes a macro key control unit, a key setting module and a processing module. The macro key control unit is coupled to the keyboard, and analyzes a key-press time sequence combination of at least two keys being triggered in a preset time to accordingly generate a key-press time sequence combination signal. The key setting module is applied for setting a signal conversion rule, and transmits the signal conversion rule to the macro key control unit. The macro key control unit converts a function key signal to the key-press time sequence combination signal according to the signal conversion rule. The processing module executes a control function after receiving the key-press time sequence combination signal converted by the macro key control unit.

Description

鍵盤控制電路 Keyboard control circuit

本發明係關於一種控制電路,尤指一種鍵盤控制電路。 The present invention relates to a control circuit, and more particularly to a keyboard control circuit.

一般來說,現有的電腦遊戲主要是利用鍵盤、滑鼠或其組合來進行操控,其中由於鍵盤是由多個按鍵所組成,所以能輸出的指令也較多,因此有些遊戲甚至完全以鍵盤輸入做為主要的操作模式。 Generally speaking, the existing computer games mainly use a keyboard, a mouse or a combination thereof for manipulation. Since the keyboard is composed of a plurality of buttons, more commands can be output, so some games are even completely input by keyboard. As the main mode of operation.

傳統上,在某些遊戲的設定中,當使用者在特定時間內連續輸入某些按鍵的組合時,會觸發遊戲內的某些功能,例如在對打格鬥遊戲中,使用者往往需要透過鍵盤輸入由多個按鍵組合而成的複合鍵來控制使用者所操作的角色施放相對應的招式。然而,由於在複合鍵中,各按鍵之間往往設有時間差,因此實務上常常會見到使用者在按壓複合鍵對應的各按鍵時,有時會因為未符合複合鍵設定的時間差而無法完成複合鍵的輸出指令,便一直重複按壓直到成功的完成複合鍵的按壓動作,而造成使用者的不便,此外還容易造成某些常按的按鍵使用壽命降低 Traditionally, in some game settings, when a user continuously inputs certain combinations of keys for a certain period of time, certain functions within the game are triggered. For example, in a fighting game, the user often needs to pass through the keyboard. A composite key composed of a plurality of key combinations is input to control the corresponding gesture of the character operated by the user. However, in the composite key, there is often a time difference between the keys. Therefore, in practice, it is often seen that when the user presses each button corresponding to the composite key, the composite may not be completed because the time difference set by the composite key is not met. The output command of the key is repeatedly pressed until the pressing of the composite key is successfully completed, which causes inconvenience to the user, and is also likely to cause a decrease in the service life of some frequently pressed keys.

本發明提供一種鍵盤控制電路,適用於電性連結於一鍵盤裝置,該鍵盤裝置包含多數個按鍵,該鍵盤控制電路包含一快捷鍵控制單元、一按鍵設定模組以及一處理模組。 The invention provides a keyboard control circuit, which is suitable for being electrically connected to a keyboard device. The keyboard device comprises a plurality of buttons. The keyboard control circuit comprises a shortcut key control unit, a button setting module and a processing module.

快捷鍵控制單元電性連接於該鍵盤裝置,並解析該些按鍵中之至少二者在一預設時間內被觸發之一按鍵時序組合,據以產生一用以執行一控制功能之按鍵時序組合訊號。 The shortcut key control unit is electrically connected to the keyboard device, and parses at least two of the keys to be triggered by a key timing combination within a preset time, thereby generating a key timing combination for performing a control function Signal.

按鍵設定模組,用以設定一自設規則,以將該鍵盤裝置於一功能鍵被觸發時所發送出之一功能鍵信號定義為該按鍵時序組合訊號,並將該自設規則傳送至該快捷鍵控制單元,使該快捷鍵控制單元在接收到該功能鍵信號時,將該功能鍵信號轉換為該按鍵時序組合訊號傳送出。 a button setting module, configured to set a self-setting rule to define a function key signal sent by the keyboard device when a function key is triggered as the key timing combination signal, and transmit the self-setting rule to the The shortcut key control unit causes the shortcut key control unit to convert the function key signal into the key timing combination signal when the function key signal is received.

處理模組電性連結於該快捷鍵控制單元,其中,當該功能鍵受觸發而使該鍵盤裝置發送該功能鍵信號至該快捷鍵控制單元時,該快捷鍵控制單元依據該自設規則將該功能鍵信號轉換為該按鍵時序組合訊號發送至該處理模組,使該處理模組接收並依據該按鍵時序組合訊號執行該控制功能。 The processing module is electrically connected to the shortcut key control unit, wherein when the function key is triggered to cause the keyboard device to send the function key signal to the shortcut key control unit, the shortcut key control unit according to the self-setting rule The function key signal is converted into the key timing combination signal and sent to the processing module, so that the processing module receives and performs the control function according to the key timing combination signal.

透過本發明的鍵盤控制電路可以提供使用者自行設定快捷鍵組合,藉以讓使用者更便利的透過快捷鍵發出複合鍵的輸出指令。 The keyboard control circuit of the present invention can provide a user to set a shortcut key combination, so that the user can more conveniently output the output command of the composite key through the shortcut key.

PA100‧‧‧鍵盤控制電路 PA100‧‧‧Keyboard Control Circuit

PA1‧‧‧USB連接埠 PA1‧‧‧USB port埠

PA2‧‧‧USB控制晶片 PA2‧‧‧USB Control Wafer

PA3‧‧‧處理單元 PA3‧‧‧ processing unit

PA200‧‧‧電路板 PA200‧‧‧ circuit board

PA300‧‧‧鍵盤裝置 PA300‧‧‧ keyboard device

100‧‧‧鍵盤控制電路 100‧‧‧Keyboard control circuit

1‧‧‧快捷鍵控制單元 1‧‧‧Short Key Control Unit

11‧‧‧USB傳輸介面 11‧‧‧USB transmission interface

12‧‧‧鍵盤設定韌體 12‧‧‧ Keyboard setting firmware

13‧‧‧LPC傳輸介面 13‧‧‧LPC transmission interface

2‧‧‧處理模組 2‧‧‧Processing module

3‧‧‧按鍵設定模組 3‧‧‧Key setting module

4‧‧‧基本輸入輸出系統 4‧‧‧Basic input and output system

200‧‧‧電路板 200‧‧‧ boards

201‧‧‧USB連接埠 201‧‧‧USB connection埠

300‧‧‧鍵盤裝置 300‧‧‧ keyboard device

300a、301、302、303、304、305、306、307‧‧‧按鍵 300a, 301, 302, 303, 304, 305, 306, 307‧‧‧ buttons

400‧‧‧顯示螢幕 400‧‧‧ display screen

S1‧‧‧設定信號 S1‧‧‧ setting signal

K1‧‧‧功能鍵信號 K1‧‧‧ function key signal

K2‧‧‧按鍵時序組合訊號 K2‧‧‧Key Timing Combination Signal

t、t'、t"‧‧‧預設時間 t, t', t"‧‧‧ preset time

t1、t2、t3、t4、t1'、t2'、t3、t4'、t1"、t3"、t5"‧‧‧按壓時距 T1, t2, t3, t4, t1', t2', t3, t4', t1", t3", t5"‧‧‧

t2"、t4"‧‧‧未按壓時距 T2", t4"‧‧‧Unpressed time interval

第一圖為顯示本發明之鍵盤控制電路之系統示意圖;第二圖為顯示本發明之鍵盤控制電路所設置之電路板電性連結的鍵盤裝置平面示意圖;第二A圖為第二圖之圈A放大示意圖;第二B圖為第二圖之圈B放大示意圖;第三圖為顯示本發明之按鍵設定模組於顯示螢幕所顯示出之設定介面示意圖;第四圖為顯示功能鍵為F1時所對應的按鍵時序組合之按鍵時序示意圖;第五圖為顯示功能鍵為F2時所對應的按鍵時序組合之按鍵時序示意圖;第六圖為顯示功能鍵為F3時所對應的按鍵時序組合之按鍵時序示意圖;以及第七圖為顯示本發明之按鍵設定模組於顯示螢幕所顯示出之預設規則介面示意圖。 The first figure is a schematic diagram showing the system of the keyboard control circuit of the present invention; the second figure is a schematic plan view showing the keyboard device electrically connected to the circuit board provided by the keyboard control circuit of the present invention; A is a schematic enlarged view; the second B is an enlarged view of the circle B of the second figure; the third figure is a schematic diagram showing the setting interface displayed by the button setting module of the present invention on the display screen; the fourth figure is a display function key F1 The key sequence diagram of the key timing combination corresponding to the time; the fifth figure is the key sequence diagram of the key timing combination corresponding to the function key F2; the sixth figure shows the key timing combination corresponding to the function key F3 The key sequence diagram is shown; and the seventh figure is a schematic diagram showing the preset rule interface displayed by the button setting module of the present invention on the display screen.

請參閱第一圖,第一圖為顯示本發明之鍵盤控制電路之系統示意圖。如圖所示,一種鍵盤控制電路100包含一快捷鍵控制單元1、一處理模組2、一按鍵設定模組3以及一基本輸入輸出系統4。其中,鍵盤控制電路100設置於一電路板200,而電路板200具有一通用序列匯流排(Universal Series Bus;USB)連接埠201,且USB 連接埠201電性連結於一鍵盤裝置300。需特別說明的是,在實務運用中,電路板200通常是包含多個USB連接埠201,而鍵盤裝置300是電性連結於多個USB連接埠201其中之一者。 Please refer to the first figure. The first figure is a schematic diagram showing the system of the keyboard control circuit of the present invention. As shown, a keyboard control circuit 100 includes a shortcut key control unit 1, a processing module 2, a button setting module 3, and a basic input/output system 4. The keyboard control circuit 100 is disposed on a circuit board 200, and the circuit board 200 has a universal serial bus (USB) port 201 and USB. The port 201 is electrically connected to a keyboard device 300. It should be noted that, in practical practice, the circuit board 200 usually includes a plurality of USB ports 201, and the keyboard device 300 is electrically connected to one of the plurality of USB ports 201.

請繼續參閱第二圖至第二B圖,第二圖為本發明之鍵盤控制電路所設置之電路板電性連結的鍵盤裝置平面示意圖;第二A圖為第二圖之圈A放大示意圖;第二B圖為第二圖之圈B放大示意圖。如圖所示,鍵盤裝置300包含複數個按鍵300a(圖中僅標示一個,且本實施例更以其中七個按鍵301、302、303、304、305、306與307進行說明);其中,按鍵301、302、303、304、305、306與307分別為A鍵、S鍵、D鍵、W鍵、Ctrl鍵、Alt鍵與F1鍵,而A鍵、S鍵、D鍵與W鍵在本實施例用以說明的遊戲中是對應表示←(左)、↓(下)、→(右)與↑(上),而Ctrl鍵與Alt鍵是表示輕擊與重擊。 Please refer to the second to second B drawings. The second figure is a schematic plan view of the keyboard device electrically connected to the circuit board provided by the keyboard control circuit of the present invention; and the second A is an enlarged view of the circle A of the second figure; The second B is an enlarged view of the circle B of the second figure. As shown in the figure, the keyboard device 300 includes a plurality of buttons 300a (only one is shown in the figure, and the present embodiment is further described by seven buttons 301, 302, 303, 304, 305, 306, and 307); 301, 302, 303, 304, 305, 306, and 307 are A key, S key, D key, W key, Ctrl key, Alt key, and F1 key, respectively, and A key, S key, D key, and W key are in this. In the game to be described in the embodiment, the corresponding representations are ← (left), ↓ (bottom), → (right), and ↑ (top), and the Ctrl and Alt keys indicate taps and slams.

請一併參閱第一圖至第二B圖,如圖所示,快捷鍵控制單元1包含一USB傳輸介面11、一鍵盤設定韌體12以及一LPC(Low pin count Bus,LPC)傳輸介面13。 Please refer to the first to second B diagrams. As shown in the figure, the shortcut key control unit 1 includes a USB transmission interface 11, a keyboard setting firmware 12, and an LPC (Low pin count Bus (LPC) transmission interface 13 .

USB傳輸介面11電性連結於USB連接埠201,以透過USB連接埠201電性連結於鍵盤裝置300。 The USB transmission interface 11 is electrically connected to the USB port 201 and electrically connected to the keyboard device 300 via the USB port 201.

於一實施例中,更包括一鍵盤設定韌體12,電性連結於USB傳輸介面11,以透過USB傳輸介面11與USB連接埠201接收鍵盤裝置300所傳送之複數個按鍵信號。舉例而言,本實施例之鍵盤設定韌體12會解析 多個按鍵300a中之至少二者在一預設時間內被觸發之一按鍵時序組合,據以產生一按鍵時序組合訊號K2。其中,按鍵時序組合訊號K2是由複數個按鍵信號所組成之連續信號。 In one embodiment, a keyboard setting firmware 12 is further included, and is electrically connected to the USB transmission interface 11 to receive a plurality of key signals transmitted by the keyboard device 300 through the USB transmission interface 11 and the USB port 201. For example, the keyboard setting firmware 12 of the embodiment will be parsed. At least two of the plurality of buttons 300a are triggered for one of the preset time combinations to generate a key timing combination signal K2. The key timing combination signal K2 is a continuous signal composed of a plurality of key signals.

LPC傳輸介面13電性連結於鍵盤設定韌體12,用以將鍵盤設定韌體12所傳送之按鍵時序組合訊號K2發送出。 The LPC transmission interface 13 is electrically connected to the keyboard setting firmware 12 for transmitting the key timing combination signal K2 transmitted by the keyboard setting firmware 12.

處理模組2電性連結於快捷鍵控制單元1之LPC傳輸介面13,用以接收按鍵時序組合訊號K2,並據以執行按鍵組合時序信號K2所對應之一控制功能。 The processing module 2 is electrically connected to the LPC transmission interface 13 of the shortcut key control unit 1 for receiving the key timing combination signal K2 and performing a control function corresponding to the key combination timing signal K2.

按鍵設定模組3電性連結於處理模組2之處理單元21,以透過處理模組2電性連結於快捷鍵控制單元1,且按鍵設定模組3係用以供一使用者自行設定一自設規則,該自設規則係將上述按鍵300a中之一者設為功能鍵,並將其他按鍵之組合與功能鍵做聯結,進而將載有自設規則之一設定信號S1發送至處理單元21,並經由處理單元21透過LPC傳輸介面13將自設規則儲存於鍵盤設定韌體12中。 The button setting module 3 is electrically connected to the processing unit 21 of the processing module 2, and is electrically connected to the shortcut key control unit 1 through the processing module 2, and the button setting module 3 is used for a user to set a The self-setting rule is to set one of the above-mentioned buttons 300a as a function key, and to combine the combination of the other buttons with the function key, and then send a setting signal S1 carrying the self-setting rule to the processing unit. 21, and the self-setting rule is stored in the keyboard setting firmware 12 via the LPC transmission interface 13 via the processing unit 21.

舉例而言,本實施例是將按鍵307設為功能鍵,藉以將按鍵307被觸發時所發出之一功能鍵信號K1定義為按鍵時序組合訊號K2,並將自設規則傳送至快捷鍵控制單元1之鍵盤設定韌體12儲存,使快捷鍵控制單元1之鍵盤設定韌體12在接收到功能鍵信號K1時,將功能鍵信號K1轉換為按鍵時序組合訊號K2傳送至處理單元21,進而使處理單元21依據接收到的按鍵時序組合訊 號K2執行相對應的控制功能。其中,按鍵設定模組3在本實施例中係為一儲存裝置,且儲存裝置安裝有一按鍵設定軟體以供使用者設定自設規則。 For example, in this embodiment, the button 307 is set as a function key, so that one of the function key signals K1 issued when the button 307 is triggered is defined as the key timing combination signal K2, and the self-setting rule is transmitted to the shortcut key control unit. The keyboard setting firmware 12 is stored, so that the keyboard setting firmware 12 of the shortcut key control unit 1 converts the function key signal K1 into the key timing combination signal K2 and transmits it to the processing unit 21 when receiving the function key signal K1, thereby The processing unit 21 combines the signals according to the received key timings. No. K2 performs the corresponding control function. The button setting module 3 is a storage device in the embodiment, and the storage device is provided with a button setting software for the user to set the self-setting rule.

請繼續參閱第三圖與第四圖,第三圖為顯示本發明之按鍵設定模組於顯示螢幕所顯示出之設定介面示意圖;第四圖為顯示功能鍵為F1時所對應的按鍵時序組合之按鍵時序示意圖。如第三圖所示,在本實施例中,按鍵設定模組3係提供一設定介面顯示於一顯示螢幕400中,以供使用者透過鍵盤或滑鼠去點選或鍵入所欲自行設定的功能鍵與按鍵時序組合,進而依據一觸發順序對至少一按壓時距與至少一未按壓時距進行排列組合,舉例而言,本實施列舉之遊戲的招式表中載明了「←↙↓+Ctrl」可執行一特定招式時,使用者可以透過按鍵設定模組3於顯示螢幕400中所顯示出的設定介面進行設定,例如在功能鍵欄位中設定F1鍵作為功能鍵,並在對應的按鍵時序組合欄位中,設定A鍵之按鍵信號在一按壓時距t1中持續發送50ms(毫秒),接著設定A鍵與S鍵之按鍵信號在一按壓時距t2中持續發送50ms,然後設定S鍵之按鍵信號在一按壓時距t3中持續發送50ms,最後設定Ctrl鍵之按鍵信號在一按壓時距t4中持續發送50ms。 Please refer to the third and fourth figures. The third figure shows the setting interface of the button setting module of the present invention displayed on the display screen; the fourth figure shows the key timing combination corresponding to the function key F1. Key timing diagram. As shown in the third figure, in the embodiment, the button setting module 3 provides a setting interface to be displayed on a display screen 400 for the user to select or type the desired setting through the keyboard or the mouse. The function key is combined with the key sequence, and then the at least one pressing time interval and the at least one unpressed time interval are arranged and combined according to a triggering sequence. For example, the game list of the present embodiment states "←↙↓+ When Ctrl" can execute a specific move, the user can set the display interface displayed on the display screen 400 by the button setting module 3, for example, setting the F1 key as a function key in the function key field, and correspondingly In the key timing combination field, the button signal for setting the A button is continuously transmitted for 50 ms (millisecond) from the t1, and then the button signals for setting the A button and the S button are continuously transmitted for 50 ms from the t2 at the time of pressing, and then set. The key signal of the S key is continuously transmitted for 50 ms from the t3 at the time of pressing, and the key signal of the last set Ctrl key is continuously transmitted for 50 ms from the t4 at the time of pressing.

如第四圖所示,在使用者透過按鍵設定模組3將第三圖之功能鍵與按鍵時序組合的設定以設定信號S1儲存在鍵盤設定韌體12中後,當使用者按壓按鍵307而發送出代表F1的功能鍵信號K1至鍵盤設定韌體12 時,鍵盤設定韌體12會依據自設規則之設定發送出對應於功能鍵信號K1之按鍵時序組合訊號K2至處理單元21,而此時按鍵時序組合訊號K2所對應的按鍵時序組合是指在一預設時間t中的A鍵、S鍵與Ctrl鍵之組合,且預設時間t更包含四個被按壓之按壓時距t1、t2、r3與t4,在按壓時距t1時,A鍵信號會持續發送50ms,接著到按壓時距t2時,A鍵與S鍵信號會持續發送50ms,然後到按壓時距t3時,S鍵信號會持續發送50ms,最後到按壓時距t4時,Ctrl鍵信號會持續發送50ms,藉此,使用者只要對鍵盤裝置300按壓按鍵307即可使處理單元21接收到相當於按鍵301、按鍵302以及按鍵305在預設時間t內依序按壓的信號,而在實際運用上,處理單元21便會依據此按壓順序在遊戲內執行相對應的招式。 As shown in the fourth figure, after the user sets the combination of the function key of the third figure and the key sequence through the button setting module 3, the setting signal S1 is stored in the keyboard setting firmware 12, and then the user presses the button 307. Send out the function key signal K1 representing F1 to the keyboard setting firmware 12 When the keyboard setting firmware 12 sends the key timing combination signal K2 corresponding to the function key signal K1 to the processing unit 21 according to the setting of the self-setting rule, the key timing combination corresponding to the key timing combination signal K2 at this time refers to A combination of the A key, the S key and the Ctrl key in a preset time t, and the preset time t further includes four pressed pressing times t1, t2, r3 and t4, and when pressing the distance t1, the A key The signal will continue to be sent for 50ms. Then, when the distance is t2, the A and S keys will continue to transmit for 50ms. Then, when the distance is t3, the S key will continue to transmit for 50ms. Finally, when pressing t4, Ctrl. The key signal is continuously sent for 50 ms, whereby the user can press the button 307 on the keyboard device 300 to cause the processing unit 21 to receive a signal corresponding to the button 301, the button 302, and the button 305 being sequentially pressed within the preset time t. In practical use, the processing unit 21 performs a corresponding move in the game according to the pressing sequence.

請繼續參閱第三圖、第五圖與第六圖,第五圖為顯示功能鍵為F2時所對應的按鍵時序組合之按鍵時序示意圖;第六圖為顯示功能鍵為F3時所對應的按鍵時序組合之按鍵時序示意圖。如圖所示,當使用者按壓代表F2鍵之按鍵而發送出代表F2的功能鍵信號K1至鍵盤設定韌體12時,鍵盤設定韌體12會依據自設規則之設定發送出對應於功能鍵信號K1之按鍵時序組合訊號K2至處理單元21,而此時按鍵時序組合訊號K2所對應的按鍵時序組合是指在一預設時間t中的S鍵、D鍵、Ctrl鍵與Alt鍵之組合,且預設時間t'更包含四個被按壓之按壓時距t1'、t2'、t3'與t4',在按壓時距t1'時,S鍵信號會持續發送50ms,接著到按壓時距t2'時,S鍵與D鍵信號會 持續發送50ms,然後到按壓時距t3'時,D鍵信號會持續發送50ms,最後到按壓時距t4'時,Ctrl鍵與Alt鍵信號會持續發送50ms,藉此,使用者只要對鍵盤裝置300按壓對應於F2鍵之按鍵即可使處理單元21接收到相當於按鍵302、按鍵303、按鍵305與按鍵306在預設時間t'內依序按壓的信號。 Please continue to refer to the third figure, the fifth figure and the sixth figure. The fifth figure is a key sequence diagram showing the key timing combination corresponding to the function key F2; the sixth figure shows the key corresponding to the function key F3. Schematic diagram of key timing for timing combination. As shown in the figure, when the user presses the button representing the F2 key and sends the function key signal K1 representing the F2 to the keyboard setting firmware 12, the keyboard setting firmware 12 sends the corresponding function key according to the setting of the self-setting rule. The key timing of the signal K1 combines the signal K2 to the processing unit 21, and the key timing combination corresponding to the key timing combination signal K2 at this time refers to the combination of the S key, the D key, the Ctrl key and the Alt key in a preset time t. And the preset time t' further includes four pressed pressing times t1', t2', t3' and t4'. When pressing the distance t1', the S key signal will continue to be sent for 50ms, and then to the pressing time interval When t2', the S key and D key signal will Continuously send 50ms, then when pressing the distance t3', the D key signal will continue to send 50ms, and finally when the pressing time is t4', the Ctrl key and the Alt key signal will continue to be sent for 50ms, thereby the user only needs to keyboard device 300 pressing the button corresponding to the F2 button causes the processing unit 21 to receive a signal equivalent to the button 302, the button 303, the button 305, and the button 306 being sequentially pressed within the preset time t'.

以此類推,當使用者按壓代表F3鍵之按鍵而發送出代表F3的功能鍵信號K1至鍵盤設定韌體12時,鍵盤設定韌體12會依據自設規則之設定發送出對應於功能鍵信號K1之按鍵時序組合訊號K2至處理單元21,而此時按鍵時序組合訊號K3所對應的按鍵時序組合是指在一預設時間t"中的Ctrl鍵之組合,且預設時間t"更包含三個被按壓之按壓時距t1"、t3"與t5",以及二個未被按壓之未按壓時距t2"與t4",且按壓時距t1"、t3"與t5"以及未按壓時距t2"與t4"是依據觸發順序排列組合為按壓時距t1"、未按壓時距t2"、按壓時距t3"、未按壓時距t4"與按壓時距t5"。 Similarly, when the user presses the button representing the F3 button and sends the function button signal K1 representing the F3 to the keyboard setting firmware 12, the keyboard setting firmware 12 sends a signal corresponding to the function button according to the setting of the self-setting rule. The key sequence of K1 is combined with the signal K2 to the processing unit 21, and the key timing combination corresponding to the key timing combination signal K3 at this time refers to the combination of the Ctrl keys in a preset time t", and the preset time t" further includes The three pressed pressing moments are t1", t3" and t5", and the two unpressed unpressed time intervals t2" and t4", and the pressing time is from t1", t3" and t5" and when not pressed. The distances t2" and t4" are arranged in accordance with the trigger sequence to be the pressing time interval t1", the unpressed time interval t2", the pressing time interval t3", the unpressed time interval t4", and the pressing time interval t5".

承上所述,在按壓時距t1"時,Ctrl鍵信號會持續發送30ms,接著到未按壓時距t2"時,會停止發送任何訊號20ms,然後到按壓時距t3"時,Ctrl鍵信號會持續發送30ms,再來到未按壓時距t4"時,會停止發送任何訊號20ms,最後到按壓時距t5"時Ctrl鍵會持續發送30ms,藉此,使用者只要對鍵盤裝置300按壓對應於F3鍵之按鍵即可使處理單元21接收到相當於按鍵305在預設時間t"內重複按壓的信號。 According to the above, when pressing the distance t1", the Ctrl key signal will continue to transmit for 30ms, then when the time is not pressed, the distance will be stopped for 20ms, and then when the pressing time is t3", the Ctrl key signal Will continue to send 30ms, then when the unpressed time interval t4", will stop sending any signal 20ms, and finally press the t5" when the pressing time will continue to send 30ms, so the user only needs to press the keyboard device 300 The button of the F3 key causes the processing unit 21 to receive a signal equivalent to the button 305 being repeatedly pressed within the preset time t".

請一併參閱第三圖與第七圖,第七圖為顯示本發明之按鍵設定模組於顯示螢幕所顯示出之預設規則介面示意圖。如圖所示,本發明之快捷鍵控制單元1之鍵盤設定韌體12中更內建有一預設規則,例如在本實施例中,是預先設定F11鍵、F12鍵與DEL鍵為預設功能鍵,且鍵盤設定韌體12在接收到對應於預設功能鍵之預設功能鍵信號時,會發送出相對應的預設功能信號至基本輸入輸出系統4;其中,預設功能信號包含一系統開機與處理器超頻信號、一系統開機與記憶體超頻信號以及一系統開機與進入BIOS(Basic Input/Output System,BIOS)信號。 Please refer to the third figure and the seventh figure together. The seventh figure is a schematic diagram showing the preset rule interface displayed by the button setting module of the present invention on the display screen. As shown in the figure, in the keyboard setting firmware 12 of the shortcut key control unit 1 of the present invention, a preset rule is further built in. For example, in this embodiment, the F11 key, the F12 key and the DEL key are preset to be preset functions. The key, and the keyboard setting firmware 12 sends a corresponding preset function signal to the basic input/output system 4 when receiving the preset function key signal corresponding to the preset function key; wherein the preset function signal includes one The system is powered on and the processor overclocked signal, a system boot and memory overclocking signal, and a system boot and enter BIOS (Basic Input/Output System, BIOS) signal.

當使用者在未開機狀態下按下F11鍵時,鍵盤裝置300會發送出對應的預設功能鍵信號(圖未示)時,而鍵盤設定韌體12在接收到預設功能鍵信號時會發送出一預設功能信號至基本輸入輸出系統4,使基本輸入輸出系統4驅動系統開機並進入處理器超頻模式。 When the user presses the F11 button in the unpowered state, the keyboard device 300 sends a corresponding preset function key signal (not shown), and the keyboard setting firmware 12 receives the preset function key signal. A preset function signal is sent to the basic input/output system 4, causing the basic input/output system 4 to drive the system to boot and enter the processor overclocking mode.

以此類推,當使用者在未開機狀態下按下F12鍵時,鍵盤裝置300會發送出對應的預設功能鍵信號時,而鍵盤設定韌體12在接收到預設功能鍵信號時會發送出預設功能信號至基本輸入輸出系統4,使基本輸入輸出系統4驅動系統開機並進入記憶體超頻模式。 Similarly, when the user presses the F12 button when the user is not turned on, the keyboard device 300 sends a corresponding preset function key signal, and the keyboard setting firmware 12 sends when the preset function key signal is received. The preset function signal is outputted to the basic input/output system 4, so that the basic input/output system 4 drives the system to boot and enters the memory overclocking mode.

此外,當使用者在未開機狀態下按下DEL鍵時,鍵盤裝置300會發送出對應的預設功能鍵信號時,而鍵盤設定韌體12在接收到預設功能鍵信號時會發送出預設功能信號至基本輸入輸出系統4,使基本輸入輸出系 統4驅動系統開機並進入BIOS設定模式。 In addition, when the user presses the DEL key in the unpowered state, the keyboard device 300 sends a corresponding preset function key signal, and the keyboard setting firmware 12 sends a pre-precetion when receiving the preset function key signal. Set the function signal to the basic input/output system 4 to make the basic input and output system The system 4 drive system is powered on and enters BIOS setup mode.

綜上所述,相較於先前技術之USB控制晶片是將鍵盤裝置所發送之按鍵訊號一個一個依序傳送至處理單元,因此使用者在遊戲中需對鍵盤裝置按壓一連串的按鍵才能發送出一連串的按鍵訊號至處理單元,進而在遊戲中展現相對應的招式,而此方式不僅常常容易因為按壓不確實而無法發動招式,且針對某些常用按鍵更是容易減少使用壽命;然而,本發明之鍵盤控制電路主要是利用具有鍵盤設定韌體之快捷鍵控制單元來接收鍵盤裝置所傳送出之功能鍵訊號,並依據使用者透過按鍵設定模組所設定之自設規則,將功能鍵信號轉換為按鍵時序組合訊號傳送出,進而使處理模組依據按鍵時序組合訊號執行按鍵組合時序信號所對應之一控制功能。 In summary, compared with the USB control chip of the prior art, the key signals sent by the keyboard device are sequentially transmitted to the processing unit one by one, so the user needs to press a series of buttons on the keyboard device to send a series of keys in the game. The button signal is sent to the processing unit, and then the corresponding gesture is displayed in the game, and this method is not only easy to launch because the pressing is not correct, and the life is easily reduced for some common buttons; however, the present invention The keyboard control circuit mainly uses the shortcut key control unit with the keyboard setting firmware to receive the function key signal transmitted by the keyboard device, and converts the function key signal into according to the self-setting rule set by the user through the button setting module. The key timing combination signal is transmitted, and the processing module performs a control function corresponding to the key combination timing signal according to the key timing combination signal.

換句話說,使用者可透過本發明之設定自設規則,且僅需按壓一功能鍵便能使快捷鍵控制單元發送出包含有依觸發順序排列之複數個按鍵訊號的按鍵時序組合訊號,使處理模組依照觸發順序依序接收多個按鍵訊號,進而執行相對應的控制功能,有效的增加使用者操作上的便利性,且能有效的增加按鍵的使用壽命。 In other words, the user can set a self-setting rule through the setting of the present invention, and only need to press a function key to enable the shortcut key control unit to send out a key timing combination signal including a plurality of key signals arranged in a trigger sequence, so that The processing module sequentially receives a plurality of button signals according to the triggering sequence, thereby performing corresponding control functions, effectively increasing user convenience, and effectively increasing the service life of the buttons.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。 The features and spirit of the present invention will be more apparent from the detailed description of the preferred embodiments. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed.

100‧‧‧鍵盤控制電路 100‧‧‧Keyboard control circuit

1‧‧‧快捷鍵控制單元 1‧‧‧Short Key Control Unit

11‧‧‧USB傳輸介面 11‧‧‧USB transmission interface

12‧‧‧鍵盤設定韌體 12‧‧‧ Keyboard setting firmware

13‧‧‧LPC傳輸介面 13‧‧‧LPC transmission interface

2‧‧‧處理模組 2‧‧‧Processing module

21‧‧‧處理單元 21‧‧‧Processing unit

3‧‧‧按鍵設定模組 3‧‧‧Key setting module

4‧‧‧基本輸入輸出系統 4‧‧‧Basic input and output system

200‧‧‧電路板 200‧‧‧ boards

201‧‧‧USB連接埠 201‧‧‧USB connection埠

300‧‧‧鍵盤裝置 300‧‧‧ keyboard device

S1‧‧‧設定信號 S1‧‧‧ setting signal

K1‧‧‧功能鍵信號 K1‧‧‧ function key signal

K2‧‧‧按鍵時序組合訊號 K2‧‧‧Key Timing Combination Signal

Claims (10)

一種鍵盤控制電路,適用於一鍵盤裝置,該鍵盤裝置包含多數個按鍵,該鍵盤控制電路包含:一快捷鍵控制單元,電性連接於該鍵盤裝置,並解析該些按鍵中之至少二者在一預設時間內被觸發之一按鍵時序組合,據以產生一用以執行一控制功能之按鍵時序組合訊號;一按鍵設定模組,用以設定一自設規則,並將該自設規則傳送至該快捷鍵控制單元;以及一處理模組,電性連結於該快捷鍵控制單元;其中,當一功能鍵受觸發而使該鍵盤裝置發送一功能鍵信號至該快捷鍵控制單元時,該快捷鍵控制單元依據該自設規則將該功能鍵信號轉換為該按鍵時序組合訊號發送至該處理模組,使該處理模組接收並依據該按鍵時序組合訊號執行該控制功能。 A keyboard control circuit is applicable to a keyboard device. The keyboard device includes a plurality of buttons. The keyboard control circuit includes: a shortcut key control unit electrically connected to the keyboard device and parsing at least two of the buttons One of the keystroke timing combinations is triggered within a preset time to generate a key timing combination signal for performing a control function; a button setting module for setting a custom rule and transmitting the custom rule To the shortcut key control unit; and a processing module electrically coupled to the shortcut key control unit; wherein, when a function key is triggered to cause the keyboard device to send a function key signal to the shortcut key control unit, The shortcut key control unit converts the function key signal into the key timing combination signal according to the self-setting rule and sends the signal to the processing module, so that the processing module receives and performs the control function according to the key timing combination signal. 如申請專利範圍第1項所述之鍵盤控制電路,其中,該自設規則係將該鍵盤裝置於該功能鍵被觸發時所發送出之該功能鍵信號定義為該按鍵時序組合訊號。 The keyboard control circuit of claim 1, wherein the self-setting rule defines the function key signal sent by the keyboard device when the function key is triggered as the key timing combination signal. 如申請專利範圍第1項所述之鍵盤控制電路,其中,該些按鍵中在該預設時間中包含至少一被按壓之按壓時距與至少一未被按壓之未按壓時距。 The keyboard control circuit of claim 1, wherein the preset time includes at least one pressed pressing time interval and at least one unpressed unpressed time interval. 如申請專利範圍第3項所述之鍵盤控制電路,其中,該按壓時距與該未按壓時距係依據一觸發順序排列組合。 The keyboard control circuit of claim 3, wherein the pressing time interval and the unpressing time interval are arranged in accordance with a triggering sequence. 如申請專利範圍第4項所述之鍵盤控制電路,其中,該按鍵設定模組係提供一設定介面供使用者依據該觸發順序對該按壓時距與該未按壓時距進行排列組合。 The keyboard control circuit of claim 4, wherein the button setting module provides a setting interface for the user to arrange and combine the pressing time interval and the unpressing time interval according to the triggering sequence. 如申請專利範圍第1項所述之鍵盤控制電路,更包含一電性連結於該快捷鍵控制單元之基本輸入輸出系統(Basic Input/Output System,BIOS),且該快捷鍵控制單元更內建有一預設規則,使該快捷鍵控制單元在接收到該預設功能鍵信號時,對該基本輸入輸出系統發送出一預設功能信號。 The keyboard control circuit of claim 1, further comprising a basic input/output system (BIOS) electrically connected to the shortcut key control unit, and the shortcut key control unit is further built in There is a preset rule that causes the shortcut key control unit to send a preset function signal to the basic input/output system when receiving the preset function key signal. 如申請專利範圍第6項所述之鍵盤控制電路,其中,該預設功能信號包含一系統開機與處理器超頻信號,該基本輸入輸出系統係依據該系統開機與處理器超頻信號驅動系統開機並進入處理器超頻模式。 The keyboard control circuit of claim 6, wherein the preset function signal comprises a system booting and a processor overclocking signal, and the basic input/output system is powered on according to the system booting and the processor overclocking signal driving system. Enter the processor overclock mode. 如申請專利範圍第6項所述之鍵盤控制電路,其中,該預設功能信號包含一系統開機與記憶體超頻信號,該基本輸入輸出系統係依據系統開機與記憶體超頻信號驅動系統開機並進入記憶體超頻模式。 The keyboard control circuit of claim 6, wherein the preset function signal comprises a system booting and a memory overclocking signal, and the basic input/output system is powered on according to a system booting and a memory overclocking signal driving system. Memory overclocking mode. 如申請專利範圍第6項所述之鍵盤控制電路,其中,該預設功能信號包含一系統開機與進入BIOS信號,該基本輸入輸出系統係依據該系統開機與進入BIOS信號驅動系統開機並進入BIOS設定模式。 The keyboard control circuit of claim 6, wherein the preset function signal comprises a system booting and entering a BIOS signal, and the basic input/output system is powered on according to the system and enters a BIOS signal to drive the system to boot and enter the BIOS. Set mode. 如申請專利範圍第1項所述之鍵盤控制電路,其中,該按鍵設定模組係以一設定介面顯示於一顯示螢幕中。 The keyboard control circuit of claim 1, wherein the button setting module is displayed in a display screen by a setting interface.
TW105118141A 2015-07-08 2016-06-08 Keyboard control circuit TWI579735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/205,641 US10394343B2 (en) 2015-07-08 2016-07-08 Keyboard control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201562190229P 2015-07-08 2015-07-08

Publications (2)

Publication Number Publication Date
TW201702813A true TW201702813A (en) 2017-01-16
TWI579735B TWI579735B (en) 2017-04-21

Family

ID=58401031

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105118141A TWI579735B (en) 2015-07-08 2016-06-08 Keyboard control circuit

Country Status (1)

Country Link
TW (1) TWI579735B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582157A (en) * 2018-12-04 2019-04-05 陈功 Quick key control method and terminal
CN111481924A (en) * 2020-03-13 2020-08-04 上海飞智电子科技有限公司 Control signal generation method and control device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5086503A (en) * 1988-04-08 1992-02-04 International Business Machines Corporation Methods of remapping a keyboard within a computer system
TW502199B (en) * 1999-08-07 2002-09-11 Fa-Sheng Hung Combined input method for keys of keyboard
TWI224746B (en) * 2002-10-25 2004-12-01 Via Tech Inc Keyboard control circuit of universal serial bus (USB) interface
TWI350983B (en) * 2007-02-15 2011-10-21 Asustek Comp Inc Computer and keyboard input operation method thereof
TW200847027A (en) * 2007-05-23 2008-12-01 Mitac Technology Corp Activation method for computer with multiple operating systems

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582157A (en) * 2018-12-04 2019-04-05 陈功 Quick key control method and terminal
CN111481924A (en) * 2020-03-13 2020-08-04 上海飞智电子科技有限公司 Control signal generation method and control device
CN111481924B (en) * 2020-03-13 2023-06-20 上海飞智电子科技有限公司 Control signal generation method and control device

Also Published As

Publication number Publication date
TWI579735B (en) 2017-04-21

Similar Documents

Publication Publication Date Title
US20200241687A1 (en) Switchable input modes for external display operation
ES2765232T3 (en) All-in-one machine and method and means of computer memory to perform quick touch on all channels of the same
US20180081411A1 (en) Single chip system and reset method for single chip system
JP2016533572A5 (en)
WO2015090144A1 (en) Display screen-based physical button simulation method and electronic device
TWI479303B (en) Sleep status controlling system, computer system, and sleep status detecting method thereof
TWI579735B (en) Keyboard control circuit
CN204406366U (en) There is the portable electron device of touch controlled key
TWI457825B (en) Touch display, computer system having a touch display, and method of switching modes of a touch display
EP3460630A1 (en) False-touch-wakeup prevention apparatus and method, intelligent terminal and computer storage medium
JP2020082343A (en) Electronic wrench and prompting method of the same
CN110007749A (en) Control input system
US20140139437A1 (en) Speed adjustable usb keyboard
KR102340234B1 (en) Portable device and its control method
TWI515550B (en) Chip device and electronic system thereof
KR101167752B1 (en) Apparatus and method for converting touch-screen mode in convertible tablet PC
US20130166955A1 (en) Keyboard automatic test method and system using the same
US9696793B2 (en) Systems and methods for selectably suppressing computing input events triggered by variable pressure and variable displacement sensors
US10394343B2 (en) Keyboard control circuit
TW201312443A (en) Electronic device and switching method thereof
TW201337640A (en) Method of touch command integration and touch system using the same
US20090064318A1 (en) Method of inputting booting password
TWI570621B (en) Electronic system, wearable electronic apparatus and power control method thereof
CN104965660B (en) A kind of method that tri-state key is realized on tablet
TWI467360B (en) Switching circuit module, computer system, and method for controlling computer system reset thereof