TW200803185A - Process method of keyboard signal - Google Patents
Process method of keyboard signal Download PDFInfo
- Publication number
- TW200803185A TW200803185A TW95119781A TW95119781A TW200803185A TW 200803185 A TW200803185 A TW 200803185A TW 95119781 A TW95119781 A TW 95119781A TW 95119781 A TW95119781 A TW 95119781A TW 200803185 A TW200803185 A TW 200803185A
- Authority
- TW
- Taiwan
- Prior art keywords
- keyboard
- button
- address
- code
- scan
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000013507 mapping Methods 0.000 claims abstract description 19
- 238000003672 processing method Methods 0.000 claims description 12
- 239000011159 matrix material Substances 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- 238000012546 transfer Methods 0.000 claims description 2
- 206010011469 Crying Diseases 0.000 claims 1
- 239000000428 dust Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 235000012149 noodles Nutrition 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Abstract
Description
200803185 九、發明說明: 【發明所屬之技術領域】 本發明係有關於-種訊號處理方法,特別有關於一種 鍵盤的訊號處理方法。 . 【先前技術】200803185 IX. Description of the Invention: [Technical Field] The present invention relates to a signal processing method, and more particularly to a signal processing method for a keyboard. [Prior Art]
二請參閱第一圖習知鍵盤信號傳輪示意圖。習知的鍵盤 #號係由鍵盤ίο產生一鍵盤掃描碼之PS/2封包信號η給 主機12,主機12直接根據鍵盤掃描碼之以^封包^號^ 供主機12中之作業系統執行相關動作ό Μ、當鍵盤10上之按鍵被壓按或放開時,鍵盤1〇即可取 得被壓按/放開鍵之㈣碼。而再將取得的位址碼藉由鍵 盤内設置之對映表(Mappingtable)轉換為—掃描碼。接 著將該壓按/放開鍵之掃描碼轉為p s / 2封包信號i i,進而 然而將_表設置於鍵盤1G巾,其對絲與鍵盤10 上各鍵之關係已被設定好。換言之,鍵盤1Q上各鍵之功 能及定義係於鍵盤10出廠時已固定’所以使用者在使用 上便受限於預設之㈣功能㈣作,而如此造成鍵盤在應 用上顯得不夠彈^H:。 〜 【發明内容】 有鑑於此,本發明係提供一種鍵盤訊號處理方法, 以提升鍵盤的使㈣性,其步驟首先制賴盤之拓 陣=是否有按鍵動作;若有,則取得該按鍵之一位址碼。 接著將該按鍵之該位址碼轉換成PS/2封包後傳輸至— 機’然後於魅機巾將該按鍵之該位址碼轉換為該按鍵^ 200803185 一作業^統取切_作按鍵之該掃描碼輪出至該主機之 該鍵_重=:二::J口盤:號處理方法,步驟包括先將 是否有按鍵動作;若=|^^貞測該鍵盤之按鍵矩陣中 接著仙^接_ 賴之料碼至—主機。Second, please refer to the schematic diagram of the first schematic signal transmission wheel of the first figure. The known keyboard ## is generated by the keyboard ίο a keyboard scan code PS/2 packet signal η to the host 12, the host 12 directly according to the keyboard scan code ^ ^ package ^ number ^ for the operating system in the host 12 to perform related actions ό Μ When the button on the keyboard 10 is pressed or released, the keyboard can obtain the (four) code of the pressed/release button. The obtained address code is converted into a scan code by a mapping table set in the keyboard. The scan code of the press/release button is then converted to the p s / 2 packet signal i i , and the _ table is set to the keyboard 1G towel, and the relationship between the wire and the keys on the keyboard 10 has been set. In other words, the functions and definitions of the keys on the keyboard 1Q are fixed when the keyboard 10 is shipped from the factory. Therefore, the user is limited to the preset (4) function (4) in use, and thus the keyboard is not enough to be applied in the application. :. ~ In view of the above, the present invention provides a keyboard signal processing method to improve the keyboard (4), the first step is to determine the top of the disk = whether there is a button action; if so, the button is obtained One address code. Then, the address code of the button is converted into a PS/2 packet and then transmitted to the machine', and then the address code of the button is converted into the button in the charm machine towel. 200803185 A job is taken and cut as a button The scan code is outputted to the host by the key _ weight =: two:: J port: number processing method, the steps include whether there is a button action first; if =|^^ 该 test the keyboard key matrix in the next ^接_ Laizhi material code to - host.
便_該鍵盤之按二為—掃描位址模式。再來 送該按鍵之位址= 址碼轉換為該按鍵之^碼1後㈣主機將該按鍵之位 可將位址碼轉換掃描碼之動作於主機上執行,Then the keyboard is pressed to scan the address mode. Then send the address of the button = the address code is converted to the code 1 of the button (4) The host can change the address code to scan the code on the host.
_發及定義主機的對映表㈣I 右人對鍵盤上各鍵之定M 1 ^ 1 ☆ 法,不用如羽知Μ 本务明之鍵盤訊號處理方 Η ^ 接鍵功能受限於預設鍵盤中之對映表, 疋以在鍵盤按鍵之定義上更為靈活且具彈性。 、_ send and define the host's mapping table (four) I right person on the keyboard to set the M 1 ^ 1 ☆ method, do not need to be like the knowledge of the Μ Μ 之 之 之 键盘 键盘 键盘 键盘 键盘 Η Η Η Η Η Η Η Η Η Η Η Η Η The mapping table is more flexible and flexible in the definition of keyboard keys. ,
為了能更進一步瞭解本發明為達成預定目的所採取之 術、手段及功效,請參閱以下有關本發明之詳細說明與 附圖’相信本發明之目❾、特徵與特點,當可由此得一深 入且具體之瞭解,然而所附圖式僅提供參考與說明用,妓 非用來對本發明加以限制者。 實施方式】 k配合圖示將本發明較佳實例詳細說明下。 請麥閱第二圖本發明鍵盤訊號處理方法第一較佳實施 例動作流程圖。首先偵測鍵盤上的按鍵動作,其按鍵動作 係為按鍵被壓按及放開(pressed/deprasd)而使鍵盤内按 鍵矩陣中節點開與關之動作(如第二圖步驟S2〇1)。藉由 200803185 偵測鍵盤上的按鍵動作,键般 動作按鍵之位址碼(如第‘步驟= 立址,器可取得 址碼轉換為掃描碼,而將動.鍅『 接著先不將位 包’並透過-崎面傳輪至碼轉為體之封 然後藉由主機設置的對映表 7 —圖步驟幻〇5)。 碼(如第二圖步驟S207)===位址碼轉為掃描 至主機之作業系統,以“ = 鍵之掃描碼輪出 S209 )。而主機設置的對映表關動一作/如第二圖步驟 化對映表,可於主機々山田:系了為一初體或軟體之客製 之功能::提高鍵盤按鍵之功能及其在應用 —接者5月麥閱第三圖本發明鍵盤訊號處理方 首先開啟電源啟動鍵盤(如第:: =。=?後鍵盤之訊號處理模式為-峨^ 重^乍i =)°#於一般模式下侧鍵盤上是否有按鍵 ’ /、扣鍵動作係為按鍵被壓按及放開 、P騰d/^pressed )而使鍵盤内按鍵矩陣中節點開與關之 S力3:上第,步驟S3〇5 )。若沒有按鍵動作則返回步驟 ΙΙίΓ一ί模式待命。若有按鍵動作,則掃描位址债測 的於按鍵矩陣中取得動作按鍵之位址碼,再利用第一對映 表將位址碼轉為掃描碼’驗將動作按鍵之掃描碼轉為 PS/2之封包一並透過ps/2 .介面將動作按鍵之掃描碼^出 至主機(如第三圖步驟S3〇7)。然而在步驟S3〇3鍵盤於一 般模式時,除了偵測是否有按鍵動作步驟S3〇5,同g偵測 是否有接收到一切換命令(如第三圖步驟S3〇9)。若沒有 接收到切換命今,則返回步驟S303鍵盤繼續處於一般模 式。若鍵盤接收到切換命令,則將鍵盤訊號處理模式轉為 200803185 5描位址模式(如第三圖步驟s3u . 式下偵測鍵盤上是否有按鍵 描位址模 若沒有按鍵動作則返回步辨—圖步,驟S3!3)。 f鍵動作’雜位_彳晴!若有 ⑽介面將二=二,之封包,再透過 S 315 )。接著於生機中.S,出,主機(如第三圖步驟 描碼,以傳輸€主機钱^對映表將位址碼轉為掃 然而在步驟則鍵盤於肿位^如^三圖步驟幻⑺。 按鍵動作步驟S313,_^彳;^=除了_是否有 第三圖步驟S319)。= 到切換命令(如 S3U鍵盤繼續處於掃莫刀鍵:接:,回步驟 令,則树,請3將鍵盤爾理模===命 而上述之城命令射為_上㈣ 電腦週邊裝置產生,如H 〗斤產生,或其他 而主钱叹置的第—對映表係可為一韌 化對映表,可於主機端利用峨軟體之開 =各鍵之魏,以提高鍵盤按狀功缺其在應用上ΐ 料上所述,僅為本發0錄佳的具體實施例之詳細 ,’本發明之所有範圍應以下述之申請專』 準,凡合於本發明申請專利範圍之精神與其類似變化 皆應包含於本發明之齡巾,任何熟㈣項技^ 之領域内,可輕易思及之變化或修飾皆可“在 以下本案之專利範圍。 200803185 【圖式簡單說明】 第一圖係為習知鍵盤信號傳輸示意圖; 第二圖係為本發明鍵盤訊號處理方法第 動作流程圖;及 理方法第 較佳實施例 較佳實施例 第三圖係為本發明鍵盤訊號處 動作流程圖。 【主要元件符號說明】In order to further understand the techniques, means, and effects of the present invention in order to achieve the intended purpose, refer to the following detailed description of the invention and the accompanying drawings. It is to be understood that the invention is not to be construed as limiting the invention. Embodiments k will be described in detail with reference to the preferred embodiments of the present invention. Please refer to the second figure of the first preferred embodiment of the keyboard signal processing method of the present invention. Firstly, the button action on the keyboard is detected, and the button action is performed by pressing and releasing (pressed/deprasd) the button to open and close the node in the key matrix (as in the second step S2〇1). Detecting the keystrokes on the keyboard by using the 200803185, the address code of the key-like action button (such as the first step = the address, the device can obtain the address code to be converted into the scan code, and will move. 鍅『 Then the first packet will not be 'And through the - Saki noodle to the code to the body of the seal and then set by the host map 7 - Figure step illusion 5). The code (such as step S207 in the second figure) === the address code is converted to the operating system scanned to the host, and the scan code of the = key is rotated out of S209. The mapping table set by the host is turned off/as the second The step-by-step mapping table can be used in the host 々山田: it is a custom function of the original body or software:: Improve the function of the keyboard keys and its application - the fifth picture of the invention The signal processor first turns on the power-on keyboard (for example: :: =.=? After the keyboard signal processing mode is -峨^重^乍i =) °# in the normal mode, the lower keyboard has a button ' /, button The action is that the button is pressed and released, P is d/^pressed), and the S-force 3 of the node in the keyboard matrix is turned on and off: step S3〇5). If there is no button action, return to the step ΙΙίΓ一ί mode is on standby. If there is a button action, the address of the action button is obtained in the button matrix of the scanned address, and the address code is converted to the scan code by using the first mapping table. The scan code is converted into a PS/2 packet and the scan code of the action button is output to the main through the ps/2 interface. (Step S3〇7 in the third figure) However, in the step S3〇3 in the normal mode, in addition to detecting whether there is a key action step S3〇5, the same g detects whether a switching command is received (such as the third Step S3〇9). If no switching success is received, return to step S303 and the keyboard continues to be in the normal mode. If the keyboard receives the switching command, the keyboard signal processing mode is changed to 200803185 5 address mode (such as the third Figure s3u. In the case of detecting whether there is a button on the keyboard, if there is no button action, then return to the step-step, step S3! 3). f-key action 'Miscellaneous_彳晴! If there is (10) interface will Two = two, the packet, and then through S 315). Then in the live machine. S, out, the host (such as the third step step code, to transfer the host money ^ mapping table to change the address code to sweep in Steps are in the swollen position ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Key: connect:, back to the step order, then the tree, please 3 keyboard lm === life and the above city The command is shot as _ on (4) computer peripheral devices, such as H jin, or other sighs of the main sigh, the mapping table can be a toughened mapping table, can be used on the host side to open the soft body = The key of each key to improve the keyboard function is described in the application. It is only the details of the specific embodiment of the present invention. 'All the scope of the present invention should be based on the following application. The spirit of the scope of the patent application of the present invention and its similar variations are all included in the age towel of the present invention, and any of the familiar (4) items can be easily changed or modified. The first figure is a schematic diagram of a conventional keyboard signal transmission; the second figure is a motion chart of the keyboard signal processing method of the present invention; and the preferred embodiment of the preferred embodiment The three figures are the flow chart of the action of the keyboard signal of the invention. [Main component symbol description]
鍵盤10 PS/2封包信號π 主機12Keyboard 10 PS/2 packet signal π host 12
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW95119781A TW200803185A (en) | 2006-06-02 | 2006-06-02 | Process method of keyboard signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW95119781A TW200803185A (en) | 2006-06-02 | 2006-06-02 | Process method of keyboard signal |
Publications (2)
Publication Number | Publication Date |
---|---|
TW200803185A true TW200803185A (en) | 2008-01-01 |
TWI309924B TWI309924B (en) | 2009-05-11 |
Family
ID=44765589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW95119781A TW200803185A (en) | 2006-06-02 | 2006-06-02 | Process method of keyboard signal |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW200803185A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI400631B (en) * | 2008-01-14 | 2013-07-01 | Microsoft Corp | Method and device for automatically customizing computing devices based on input device |
-
2006
- 2006-06-02 TW TW95119781A patent/TW200803185A/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI400631B (en) * | 2008-01-14 | 2013-07-01 | Microsoft Corp | Method and device for automatically customizing computing devices based on input device |
Also Published As
Publication number | Publication date |
---|---|
TWI309924B (en) | 2009-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103210366B (en) | For apparatus and method based on neighbouring input | |
TWI693546B (en) | Application function starting method and device | |
TW201135558A (en) | Projecting system with touch controllable projecting picture | |
CN106233241A (en) | Virtual machine keyboard | |
US20110134049A1 (en) | Method and system for handling multiple touch input on a computing device | |
WO2014131277A1 (en) | Method, apparatus and terminal for controlling audio play | |
JP2012104092A (en) | Touch screen device allowing visually impaired person to handle objects thereon, and method of handling objects on touch screen device | |
CN106385537A (en) | Photographing method and terminal | |
WO2016045226A1 (en) | Information processing method and apparatus | |
EP3788776A1 (en) | User interfaces for updating network connection settings of external devices | |
WO2016070338A1 (en) | Method, apparatus and device for displaying message | |
WO2018209555A1 (en) | Bluetooth device connection method and terminal device | |
TW201122939A (en) | Method of generating multi-touch signal, dongle, and control system | |
CN107948278B (en) | Information transmission method, terminal equipment and system | |
WO2019071424A1 (en) | Application function control method and terminal | |
WO2018196484A1 (en) | Method for answering incoming call, and terminal device | |
US11935530B2 (en) | Multimodal responses | |
CN106330672B (en) | Instant messaging method and system | |
TW200803185A (en) | Process method of keyboard signal | |
KR101876394B1 (en) | Method and device for playing media data on a terminal | |
CN109960456A (en) | A kind of generation method and terminal device of virtual key layout | |
WO2017161812A1 (en) | Message replying method and terminal | |
US10319061B2 (en) | Information processing apparatus and event management method | |
US20200033995A1 (en) | Surface Interface | |
WO2013026370A1 (en) | Wireless handheld device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |