TWI709071B - Touch pad driving system and method - Google Patents

Touch pad driving system and method Download PDF

Info

Publication number
TWI709071B
TWI709071B TW107147411A TW107147411A TWI709071B TW I709071 B TWI709071 B TW I709071B TW 107147411 A TW107147411 A TW 107147411A TW 107147411 A TW107147411 A TW 107147411A TW I709071 B TWI709071 B TW I709071B
Authority
TW
Taiwan
Prior art keywords
touch
touchpad
touch panel
controller
driver
Prior art date
Application number
TW107147411A
Other languages
Chinese (zh)
Other versions
TW202024892A (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 TW107147411A priority Critical patent/TWI709071B/en
Publication of TW202024892A publication Critical patent/TW202024892A/en
Application granted granted Critical
Publication of TWI709071B publication Critical patent/TWI709071B/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention provides a touch pad driving system and method. The touch pad driving system includes a touch pad controller, a touch pad driver, an application, and a service program. The touch pad controller is coupled to a touch pad for generating touch data corresponding to touch gesture operation signals received on the touch pad. The touch pad driver collects the touch data generated by the touch pad controller. The application is responsible for the touch gesture parameter setting. The service program is responsible for calling the application and providing touch gesture processing. Therefore, with the touch pad driving system and method, the smoothness of touch control can be provided without delaying the speed of gesture processing and, when the system is abnormal and restarted without interrupting power, the touch pad can be used as a mouse without causing the system to crash.

Description

觸控板驅動系統及方法Touch panel driving system and method

本發明係關於觸控板之技術領域,尤指一種觸控板驅動系統及方法。The present invention relates to the technical field of touch panels, in particular to a touch panel driving system and method.

觸控板(touch pad)在各類消費性電子產品及電腦裝置上,已逐漸成為標準配備,例如,在現今之筆記型電腦上皆具有一觸控板,以提供使用者除了滑鼠、鍵盤之外的另一種輸入功能,且隨著觸控感測技術之發展,觸控板也已由僅提供單指操控功能進步至能以各種不同觸控手勢來進行多種輸入,更增加了觸控板之應用性。Touch pads have gradually become standard equipment in various consumer electronic products and computer devices. For example, today’s notebook computers have a touch pad to provide users with the exception of mouse and keyboard In addition to another input function, and with the development of touch sensing technology, the touchpad has evolved from only providing single-finger control functions to being able to perform multiple inputs with various touch gestures, and more touch The applicability of the board.

由於觸控板係設置在例如為筆記型電腦之電子產品上以作為一硬體輸入裝置,因此必須搭配軟體之驅動程式才能適當地工作,如圖1所示,係說明習知觸控板的驅動程式架構,其中,在裝置硬體部分的觸控板101是由一觸控板控制器103所控制,在系統軟體部分則包括有觸控板驅動程式104、服務常駐程式105及應用程式106等。服務常駐程式105係為常駐於系統之程式,其用以負責呼叫應用程式106,觸控板控制器103係經由例如PS/2或I2C等連接與觸控板驅動程式104溝通,特定而言,對於使用者在觸控板101上碰觸之觸控手勢操作,觸控板控制器103會對應產生觸控資料,例如包括碰觸之座標、面積及強度等,而觸控板驅動程式104即負責收集該等觸控資料,並由應用程式依據所收集之觸控資料進行手勢等處理以決定使用者所進行之觸控手勢,再將之上報至作業系統(Operating System,OS)以完成對應之觸控操作。Since the touchpad is set on an electronic product such as a notebook computer as a hardware input device, it must be equipped with a software driver to work properly. As shown in Figure 1, it illustrates the conventional touchpad. Driver architecture, where the touchpad 101 in the hardware part of the device is controlled by a touchpad controller 103, and the system software part includes the touchpad driver 104, service resident program 105 and application 106 Wait. The service resident program 105 is a program that resides in the system and is used to call the application 106. The touchpad controller 103 communicates with the touchpad driver 104 via a connection such as PS/2 or I2C. In particular, For the touch gesture operation that the user touches on the touchpad 101, the touchpad controller 103 will correspondingly generate touch data, such as the coordinate, area and intensity of the touch, and the touchpad driver 104 is Responsible for collecting the touch data, and the application performs gestures and other processing based on the collected touch data to determine the touch gestures performed by the user, and then reports it to the Operating System (OS) to complete The corresponding touch operation.

以前述觸控板的驅動程式架構,手勢等處理係由應用程式106所負責,而當作業系統忙碌時,應用程式106之系統優先權較低,此時如果應用程式106意外關閉,則需要服務常駐程式105來重新呼叫應用程式106,導致觸控板101反應遲緩或無法使用,且由於透過應用程式106使用Windows API(Application Programming Interface)上報系統會有權限之問題,因此,如果應用程式106意外停頓,將會造成觸控板101無法再使用。With the aforementioned touchpad driver architecture, the application 106 is responsible for gestures and other processing. When the operating system is busy, the system priority of the application 106 is lower. At this time, if the application 106 closes unexpectedly, a service is required The resident program 105 calls the application 106 again, causing the touchpad 101 to be slow or unusable. Also, because the application 106 uses the Windows API (Application Programming Interface) to report system permissions, if the application 106 An unexpected pause will cause the touchpad 101 to become unusable.

因此,習知之觸控板的驅動程式架構仍有不甚完善之處,而有予以改善之必要。Therefore, the driver structure of the conventional touch panel is still imperfect, and it is necessary to improve it.

本發明之目的主要係在提供一種觸控板驅動系統及方法,其中,手勢處理的速度不容易延遲而可提高觸控之順暢度,且當系統異常而進行不斷電重啟時,觸控板仍然可以作為一滑鼠來使用而不至於造成系統當機,此外,在一實施例中,可在觸控板驅動程式中選擇性地設置擁有與硬體HID裝置同等的權限的虛擬裝置,而無在Windows API上報系統中所遭遇之系統權限的問題。The purpose of the present invention is mainly to provide a touch panel driving system and method, in which the speed of gesture processing is not easy to delay and can improve the smoothness of touch, and when the system is abnormal and restarts without power, the touch panel It can still be used as a mouse without causing the system to crash. In addition, in one embodiment, a virtual device with the same permissions as the hardware HID device can be selectively set in the touchpad driver, and There is no system permission problem encountered in the Windows API reporting system.

依據本發明之一特色,本發明提出一種觸控板驅動系統,其包含一觸控板控制器,耦接至一觸控板,以對於在該觸控板上所接收的觸控手勢操作信號,對應產生觸控資料;一觸控板驅動程式,收集該觸控板控制器所產生之觸控資料;一應用程式,負責設定觸控手勢參數;以及一服務常駐程式,負責呼叫該應用程式及提供觸控手勢處理。According to a feature of the present invention, the present invention provides a touch panel driving system, which includes a touch panel controller coupled to a touch panel to respond to touch gesture operation signals received on the touch panel , Corresponding to generate touch data; a touchpad driver, which collects the touch data generated by the touchpad controller; an application program, responsible for setting touch gesture parameters; and a service resident program, responsible for calling the application program And provide touch gesture processing.

依據本發明之另一特色,本發明提出一種觸控板驅動方法,其係實現於一觸控板驅動系統包含一觸控板控制器、一觸控板驅動程式、一應用程式及一服務常駐程式,該觸控板控制器可運作於一預設之滑鼠模式或一上報觸控座標模式,該驅動方法包含步驟:(A)該服務常駐程式確認該觸控板驅動程式是否存在;(B)當確認該觸控板驅動程式存在,該服務常駐程式透過該觸控板驅動程式持續傳送一切換指令至該觸控板控制器;(C)於收到切換指令後,將該觸控板控制器切換為該上報觸控座標模式;(D)該觸控板控制器判斷是否已超過一預定時間而無收到該觸控板驅動程式之切換指令,若是,將該觸控板控制器切換該滑鼠模式,否則,執行步驟(A)。According to another feature of the present invention, the present invention provides a touchpad driving method, which is implemented in a touchpad driving system including a touchpad controller, a touchpad driver, an application and a service resident The touchpad controller can operate in a default mouse mode or a reporting touch coordinate mode. The driving method includes steps: (A) The service resident program confirms whether the touchpad driver exists; (B) When it is confirmed that the touchpad driver exists, the service resident program continuously sends a switching command to the touchpad controller through the touchpad driver; (C) After receiving the switching command, touch The control panel controller switches to the reporting touch coordinate mode; (D) The touch panel controller determines whether it has exceeded a predetermined time without receiving the switch command of the touch panel driver, if so, the touch control The board controller switches the mouse mode, otherwise, proceed to step (A).

以上概述與接下來的詳細說明皆為示範性質,是為了進一步說明本發明的申請專利範圍,而有關本發明的其他目的與優點,將在後續的說明與圖式加以闡述。The above summary and the following detailed description are exemplary in nature, and are intended to further illustrate the scope of the patent application of the present invention. Other objectives and advantages of the present invention will be described in the following description and drawings.

為了使本發明的目的、技術方案及優點更加清楚明白,以下結合附圖及實施例,對本發明進行進一步詳細說明。應當理解,此處所描述的具體實施例僅僅用以解釋本發明,並不用於限定本發明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.

圖2係本發明之觸控板驅動系統的使用環境示意圖,其中,觸控板驅動系統係安裝於一例如為筆記型電腦21之電子產品上,該筆記型電腦21上則設置有一觸控板23以作為一輸入裝置,此觸控板23可作為一滑鼠使用,亦即,使用者以手指在觸控板23上滑移或觸壓來進行相當於滑鼠之移動或按鍵之操作,此外,依據所安裝之觸控板驅動系統,觸控板23更可作為一觸控輸入裝置,以供使用者以之多種預先定義之觸控手勢來進行各式各樣輸入操作,而在觸控板23上接收觸控手勢操作信號。雖本發明係以筆記型電腦作為具體實施例說明,但本領域中具有通常知識者當可將本發明應用在各種人機介面的電子產品上,因此此實施例並不用以限制本發明。FIG. 2 is a schematic diagram of the use environment of the touch panel driving system of the present invention, wherein the touch panel driving system is installed on an electronic product such as a notebook computer 21, which is provided with a touch pad 23 is used as an input device, the touchpad 23 can be used as a mouse, that is, the user slides or touches the finger on the touchpad 23 to perform operations equivalent to mouse movements or keystrokes. In addition, according to the installed touchpad driving system, the touchpad 23 can be used as a touch input device for the user to perform various input operations with a variety of predefined touch gestures. The control board 23 receives touch gesture operation signals. Although the present invention is described with a notebook computer as a specific embodiment, those skilled in the art can apply the present invention to various human-machine interface electronic products, so this embodiment is not intended to limit the present invention.

圖3係本發明之觸控板驅動系統之一實施例的架構圖。該觸控板驅動系統30包括一觸控板控制器301 、一觸控板驅動程式303、一服務常駐程式305及一應用程式307。其中,觸控板控制器301係耦接至該觸控板23,以對於在觸控板23上所接收的觸控手勢操作信號,對應產生觸控資料,例如包括碰觸之座標、面積及強度等,且觸控板控制器301經由例如PS/2或I2C等連接而與觸控板驅動程式303溝通,以使觸控板驅動程式303收集該等觸控資料。FIG. 3 is a structural diagram of an embodiment of the touch panel driving system of the present invention. The touchpad driving system 30 includes a touchpad controller 301, a touchpad driver 303, a service resident program 305, and an application program 307. The touchpad controller 301 is coupled to the touchpad 23 to generate touch data corresponding to the touch gesture operation signals received on the touchpad 23, such as the coordinates, area, and The touch panel controller 301 communicates with the touch panel driver 303 via a connection such as PS/2 or I2C, so that the touch panel driver 303 collects the touch data.

於前述之觸控板驅動系統30中,觸控手勢處理係由服務常駐程式305所提供,而觸控手勢參數設定則由應用程式307所負責,其中之觸控手勢處理係包括選取項目(點選觸控板23)、捲動(使用者兩根手指放在觸控板23上,然後水平或垂直滑動)、放大或縮小(使用者兩根手指放在觸控板23上,然後捏合或展開)、顯示更多的命令 (使用者兩根手指在觸控板23上點選,或按下右下角)、查看所有開啟的視窗(使用者三指放在觸控板23上,以離開使用者的方向撥動手指)、顯示桌面(使用者三指放在觸控板23上,以朝向使用者的方向撥動手指)、在開啟的視窗之間切換(使用者三指放在觸控板23上,向右或向左撥動)等,而觸控手勢參數則包括碰觸點移動速度、觸控靈敏度等。In the aforementioned touchpad driving system 30, the touch gesture processing is provided by the service resident program 305, and the touch gesture parameter setting is taken care of by the application program 307. The touch gesture processing includes the selected item (point Choose touchpad 23), scroll (the user puts two fingers on the touchpad 23, and then slide horizontally or vertically), zoom in or zoom out (the user puts two fingers on the touchpad 23, then pinch or Expand), show more commands (the user taps on the touchpad 23 with two fingers, or press the lower right corner), view all open windows (the user puts three fingers on the touchpad 23 to leave The user moves his finger in the direction of the user), displays the desktop (the user puts three fingers on the touchpad 23 and moves his finger toward the user), and switches between open windows (the user puts three fingers on the touch On the control board 23, flick to the right or left), etc., and the touch gesture parameters include touch point movement speed and touch sensitivity.

因此,常駐於系統之服務常駐程式305除了用以負責呼叫應用程式307之外,亦提供觸控手勢處理之功能,以根據前述觸控板驅動程式303所收集的觸控資料而判斷對應之觸控手勢。相較於習知技術,本發明之觸控板驅動系統30係將手勢處理由應用程式307移至服務常駐程式305來處理,但觸控手勢參數設定仍由應用程式307所負責。如此,由於服務常駐程式305在作業系統中具有較高優先權(高於應用程式307),因此,將手勢處理放在服務常駐程式305來處理將使得手勢處理的速度不容易延遲,因而提高了觸控之順暢度,且參數設定由應用程式307負責,則可符合UWP(Universal Windows Platform)之規範而具有極佳之系統相容性。Therefore, the service resident program 305 resident in the system is not only responsible for calling the application 307, but also provides a touch gesture processing function to determine the corresponding touch based on the touch data collected by the touchpad driver 303. Control gestures. Compared with the conventional technology, the touchpad driving system 30 of the present invention moves the gesture processing from the application 307 to the service resident program 305 for processing, but the application 307 is still responsible for the touch gesture parameter setting. In this way, since the service resident program 305 has a higher priority in the operating system (higher than the application 307), placing the gesture processing in the service resident program 305 for processing will make the speed of gesture processing not easy to delay, thus increasing The smoothness of touch, and the parameter setting is taken care of by the application 307, can comply with UWP (Universal Windows Platform) specifications and have excellent system compatibility.

圖4係本發明之觸控板驅動方法之流程圖,其係執行於如圖3所示之觸控板驅動系統30。其中,前述觸控板驅動系統30中之觸控板控制器301係可運作於一滑鼠模式或一上報觸控座標模式,觸控板控制器301運作於滑鼠模式表示該觸控板23係組態為相當於一滑鼠之方式來提供電子產品輸入之功能;觸控板控制器301運作於上報觸控座標模式係表示該觸控板控制器301可將使用者於觸控板23上碰觸之觸控手勢操作所對應產生的觸控資料(包括碰觸之座標、面積及強度等)上報至觸控板驅動程式303,以提供電子產品手勢觸控之輸入功能。4 is a flowchart of the touch panel driving method of the present invention, which is executed in the touch panel driving system 30 shown in FIG. 3. Wherein, the touchpad controller 301 in the aforementioned touchpad driving system 30 can operate in a mouse mode or a reporting touch coordinate mode, and the touchpad controller 301 operates in the mouse mode to indicate the touchpad The 23 series is configured to be equivalent to a mouse to provide electronic product input functions; the touchpad controller 301 operates in the reporting touch coordinate mode, which means that the touchpad controller 301 can touch the user The touch data (including the coordinate, area, and intensity of the touch) generated by the touch gesture operation on the board 23 is reported to the touchpad driver 303 to provide the electronic product gesture touch input function.

於本發明之觸控板驅動方法中,觸控板控制器301係預設為滑鼠模式,並在有需要時才切換為上報觸控座標模式,首先,服務常駐程式305常駐於系統中運行(步驟S401),並確認觸控板驅動程式303是否存在(步驟S402),若觸控板驅動程式303不存在,服務常駐程式305仍持續運行以確認觸控板驅動程式303是否存在,反之,若觸控板驅動程式303存在,則服務常駐程式305透過觸控板驅動程式303持續傳送一切換指令至觸控板控制器301(步驟S403),該觸控板控制器301收到切換指令後便切換為上報觸控座標模式(步驟S404),而該觸控板控制器301並會判斷在一預定時間內是否有收到觸控板驅動程式303之切換指令,亦即是否已超過該預定時間而無收到該觸控板驅動程式之切換指令(步驟S405),其中該預定時間係例如為0.2~0.8秒,較佳為 0.5秒,若尚未超時,則流程回至步驟S401執行,亦即服務常駐程式305常駐於系統中運行,若已超時而無收到切換指令,則顯示觸控板驅動程式303已異常,因此將該觸控板控制器301切換滑鼠模式(步驟S406)。依據本發明之一實施例,於前述步驟S403中,服務常駐程式305是透過觸控板驅動程式303以一定時的方式持續傳送切換指令至觸控板控制器301,亦即,每隔一固定時間便需傳送切換指令,但本發明不限於此。在本發明之另外實施例中,前述步驟S403中之傳送切換指令的方式也可以是不定時持續的方式,例如,兩次傳送切換指令的時間間隔並非固定不變。In the touchpad driving method of the present invention, the touchpad controller 301 is preset to the mouse mode, and only switches to the reporting touch coordinate mode when necessary. First, the service resident program 305 resides in the system Run (step S401), and confirm whether the touchpad driver 303 exists (step S402), if the touchpad driver 303 does not exist, the service resident program 305 continues to run to confirm whether the touchpad driver 303 exists, and vice versa If the touchpad driver 303 exists, the service resident program 305 continuously sends a switching command to the touchpad controller 301 through the touchpad driver 303 (step S403), and the touchpad controller 301 receives the switching command After that, it switches to the mode of reporting touch coordinates (step S404), and the touchpad controller 301 determines whether it receives a switch command from the touchpad driver 303 within a predetermined period of time, that is, whether it has exceeded The predetermined time without receiving the switch command of the touchpad driver (step S405), wherein the predetermined time is, for example, 0.2 to 0.8 seconds, preferably 0.5 seconds, if it has not timed out, the flow returns to step S401 Execution, that is, the service resident program 305 is resident and running in the system. If it has timed out without receiving a switching command, it will display that the touchpad driver 303 is abnormal, so the touchpad controller 301 is switched to the mouse mode ( Step S406). According to an embodiment of the present invention, in the aforementioned step S403, the service resident program 305 continuously transmits the switching command to the touch panel controller 301 in a certain manner through the touch panel driver 303, that is, every other fixed The switching command needs to be transmitted in time, but the present invention is not limited to this. In another embodiment of the present invention, the method of transmitting the switching command in the foregoing step S403 may also be an untimely continuous manner. For example, the time interval between two transmissions of the switching command is not fixed.

以前述觸控板驅動方法,服務常駐程式305會先確認觸控板驅動程式303是否存在,當觸控板驅動程式303存在時才會下指令給觸控板驅動程式303,以由觸控板驅動程式303持續發出切換指令給觸控板控制器301切換為上報觸控座標模式,而在該預定時間內,若觸控板驅動程式303沒有發送切換指令,則將觸控板控制器301切換回滑鼠模式。如此,當系統異常而進行電子產品之不斷電重啟時,觸控板控制器301將會自動切換變為滑鼠模式,使得該觸控板23仍然可以作為一滑鼠來使用以輸出鼠標給系統工作,而不至於造成系統當機而完全無法操控電子產品之窘境。Using the aforementioned touchpad driving method, the service resident program 305 will first confirm whether the touchpad driver 303 exists, and only when the touchpad driver 303 exists, will it issue an instruction to the touchpad driver 303 to enable the touchpad The driver 303 continuously sends a switching command to the touchpad controller 301 to switch to the reporting touch coordinate mode, and within the predetermined time, if the touchpad driver 303 does not send a switching command, the touchpad controller 301 Switch back to mouse mode. In this way, when the system is abnormal and the electronic product is restarted without power, the touchpad controller 301 will automatically switch to the mouse mode, so that the touchpad 23 can still be used as a mouse to output the mouse to The system works without causing the system to crash and completely unable to control the dilemma of electronic products.

圖5係本發明之觸控板驅動系統之另一實施例的架構圖,其係與圖3之觸控板驅動系統30的實施例類似,但於圖5之觸控板驅動系統50的觸控板驅動程式503中可再設置虛擬裝置(Virtual Device)509,例如,電腦鍵盤和盲文顯示機、指點裝置(滑鼠、軌跡球、觸控板、指點杆、光筆)、觸控式螢幕、數位繪圖板、控制杆、手柄、類比搖杆、指紋掃描器等,由觸控板驅動程式503產生虛擬HID(Human Interface Device)裝置,亦可透過虛擬裝置509來虛擬出其他HID裝置,例如遊戲板(Game Pad)等裝置,並由觸控板驅動程式503將虛擬裝置509上報至作業系統, 使得虛擬裝置509擁有與硬體HID裝置同等的權限,而無在Windows API上報系統中所遭遇之系統權限的問題。除此之外,本實施例之觸控板驅動系統50的觸控板控制器501 、觸控板驅動程式503、服務常駐程式505及應用程式507之運作皆與圖3之觸控板驅動系統30的實施例相同,故不再贅述。FIG. 5 is a structural diagram of another embodiment of the touch panel driving system of the present invention, which is similar to the embodiment of the touch panel driving system 30 of FIG. 3, but is similar to the touch panel driving system 50 of FIG. 5 Virtual Device 509 can be set in the control panel driver 503, such as computer keyboard and braille display, pointing device (mouse, trackball, touchpad, pointing stick, light pen), touch screen, Digital drawing tablets, joysticks, handles, analog joysticks, fingerprint scanners, etc., a virtual HID (Human Interface Device) device is generated by the touchpad driver 503, and other HID devices, such as games, can also be virtualized through the virtual device 509 The virtual device 509 is reported to the operating system by the touchpad driver 503, so that the virtual device 509 has the same permissions as the hardware HID device, instead of the Windows API reporting system. Encountered the problem of system permissions. In addition, the operation of the touch panel controller 501, the touch panel driver 503, the service resident program 505 and the application program 507 of the touch panel driving system 50 of this embodiment are the same as those of the touch panel driving system of FIG. 3 The embodiment of 30 is the same, so it will not be repeated.

上述實施例僅係為了方便說明而舉例而已,本發明所主張之權利範圍自應以申請專利範圍所述為準,而非僅限於上述實施例。The above-mentioned embodiments are merely examples for the convenience of description, and the scope of rights claimed in the present invention should be subject to the scope of the patent application, rather than limited to the above-mentioned embodiments.

101:觸控板 103:觸控板控制器 104:觸控板驅動程式 105:服務常駐程式 106:應用程式 21:筆記型電腦 23:觸控板 30,50:觸控板驅動系統 301,501:觸控板控制器 303,503:觸控板驅動程式 305,505:服務常駐程式 307,507:應用程式 509:虛擬裝置 S401~S406:步驟 101: Touchpad 103: Touchpad controller 104: Touchpad driver 105: Service resident program 106: Application 21: laptop 23: Touchpad 30, 50: Touchpad drive system 301,501: Touchpad controller 303,503: touchpad driver 305,505: Service resident program 307,507: Apps 509: Virtual Device S401~S406: steps

圖1係習知之觸控板的驅動程式架構圖。 圖2係本發明之觸控板驅動系統的使用環境示意圖。 圖3係本發明之觸控板驅動系統之一實施例的架構圖。 圖4係本發明之觸控板驅動方法之流程圖。 圖5係本發明之觸控板驅動系統之另一實施例的架構圖。Figure 1 is a diagram of the driver structure of a conventional touchpad. FIG. 2 is a schematic diagram of the use environment of the touch panel driving system of the present invention. FIG. 3 is a structural diagram of an embodiment of the touch panel driving system of the present invention. FIG. 4 is a flowchart of the touch panel driving method of the present invention. FIG. 5 is a structural diagram of another embodiment of the touch panel driving system of the present invention.

S401-S406:步驟 S401-S406: steps

Claims (10)

一種觸控板驅動系統,包含: 一觸控板控制器,耦接至一觸控板,以對於在該觸控板上所接收的觸控手勢操作信號,對應產生觸控資料; 一觸控板驅動程式,收集該觸控板控制器所產生之觸控資料; 一應用程式,負責設定觸控手勢參數;以及 一服務常駐程式,負責呼叫該應用程式及提供觸控手勢處理。A touch panel driving system includes: a touch panel controller coupled to a touch panel to generate touch data corresponding to touch gesture operation signals received on the touch panel; The board driver collects the touch data generated by the touchpad controller; an application program is responsible for setting touch gesture parameters; and a service resident program is responsible for calling the application program and providing touch gesture processing. 如申請專利範圍第1項所述之觸控板驅動系統,其中,該觸控板控制器係運作於一滑鼠模式或一上報觸控座標模式。For the touch panel driving system described in claim 1, wherein the touch panel controller operates in a mouse mode or a reporting touch coordinate mode. 如申請專利範圍第2項所述之觸控板驅動系統,其中,該觸控板控制器係預設為運作於該滑鼠模式,且,於確認該觸控板驅動程式存在後,該服務常駐程式透過該觸控板驅動程式持續傳送一切換指令至該觸控板控制器,以將該觸控板控制器切換為該上報觸控座標模式。For the touchpad drive system described in item 2 of the scope of patent application, wherein the touchpad controller is operated in the mouse mode by default, and after confirming the existence of the touchpad driver, the service The resident program continuously transmits a switching command to the touch panel controller through the touch panel driver to switch the touch panel controller to the reporting touch coordinate mode. 如申請專利範圍第3項所述之觸控板驅動系統,其中,當該觸控板控制器運作於該上報觸控座標模式時,若於一預定時間內,該觸控板驅動程式沒有發送該切換指令,則將該觸控板控制器切換回該滑鼠模式。For the touchpad drive system described in item 3 of the scope of patent application, when the touchpad controller is operating in the reporting touch coordinate mode, if within a predetermined time, the touchpad driver does not Sending the switch command will switch the touchpad controller back to the mouse mode. 如申請專利範圍第1項所述之觸控板驅動系統,其中,該觸控板驅動程式中設置有一虛擬裝置,以由該觸控板驅動程式將該虛擬裝置上報至作業系統。For the touch panel driving system described in the first item of the patent application, a virtual device is provided in the touch panel driver, and the virtual device is reported to the operating system by the touch panel driver. 如申請專利範圍第1項所述之觸控板驅動系統,其中,該觸控資料包括碰觸之座標、面積及強度。For the touch panel driving system described in the first item of the patent application, the touch data includes the coordinates, area and intensity of the touch. 如申請專利範圍第1項所述之觸控板驅動系統,其中,該觸控手勢處理包括:選取項目、捲動、放大或縮小、顯示更多的命令、查看所有開啟的視窗、顯示桌面、及在開啟的視窗之間切換。For example, the touch pad drive system described in the first item of the patent application, wherein the touch gesture processing includes: selecting items, scrolling, zooming in or out, displaying more commands, viewing all open windows, displaying the desktop, And switch between open windows. 如申請專利範圍第1項所述之觸控板驅動系統,其中,該觸控手勢參數包括碰觸點移動速度及觸控靈敏度。In the touch panel driving system described in the first item of the patent application, the touch gesture parameters include touch point movement speed and touch sensitivity. 一種觸控板驅動方法,係實現於一觸控板驅動系統包含一觸控板控制器、一觸控板驅動程式、一應用程式及一服務常駐程式,該觸控板控制器可運作於一預設之滑鼠模式或一上報觸控座標模式,該驅動方法包含步驟: (A)該服務常駐程式確認該觸控板驅動程式是否存在; (B)當確認該觸控板驅動程式存在,該服務常駐程式透過該觸控板驅動程式持續傳送一切換指令至該觸控板控制器; (C)於收到切換指令後,將該觸控板控制器切換為該上報觸控座標模式;以及 (D)該觸控板控制器判斷是否已超過一預定時間而無收到該觸控板驅動程式之切換指令,若是,將該觸控板控制器切換該滑鼠模式,否則,執行步驟(A)。A touchpad driving method is implemented in a touchpad driving system including a touchpad controller, a touchpad driver, an application program, and a service resident program. The touchpad controller can operate on a The default mouse mode or a report touch coordinate mode, the driving method includes the steps: (A) The service resident program confirms whether the touchpad driver exists; (B) When confirming that the touchpad driver exists , The service resident program continuously sends a switching command to the touch panel controller through the touch panel driver; (C) After receiving the switching command, switch the touch panel controller to the reported touch coordinate Mode; and (D) the touchpad controller determines whether it has exceeded a predetermined time without receiving the switch command of the touchpad driver, if so, switch the touchpad controller to the mouse mode, otherwise, Perform step (A). 如申請專利範圍第9項所述之觸控板驅動方法,其中,於步驟(B)中,該切換指令包括以定時或不定時方式持續傳送。According to the method for driving a touch panel according to the scope of patent application, in step (B), the switching command includes continuous transmission in a timing or irregular manner.
TW107147411A 2018-12-27 2018-12-27 Touch pad driving system and method TWI709071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107147411A TWI709071B (en) 2018-12-27 2018-12-27 Touch pad driving system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107147411A TWI709071B (en) 2018-12-27 2018-12-27 Touch pad driving system and method

Publications (2)

Publication Number Publication Date
TW202024892A TW202024892A (en) 2020-07-01
TWI709071B true TWI709071B (en) 2020-11-01

Family

ID=73004965

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107147411A TWI709071B (en) 2018-12-27 2018-12-27 Touch pad driving system and method

Country Status (1)

Country Link
TW (1) TWI709071B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5157384A (en) * 1989-04-28 1992-10-20 International Business Machines Corporation Advanced user interface
US6185686B1 (en) * 1996-09-12 2001-02-06 Open Security Solutions, Llc Computer system and process for accessing an encrypted and self-decrypting digital information product while restricting access to decrypted digital information
TW448396B (en) * 1998-12-28 2001-08-01 Alps Electric Co Ltd Personal computer device
CN1355475A (en) * 2000-12-01 2002-06-26 英业达股份有限公司 Rolling control method and device of data window
TW200538912A (en) * 2004-02-17 2005-12-01 Microsoft Corp Always ready computing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5157384A (en) * 1989-04-28 1992-10-20 International Business Machines Corporation Advanced user interface
US6185686B1 (en) * 1996-09-12 2001-02-06 Open Security Solutions, Llc Computer system and process for accessing an encrypted and self-decrypting digital information product while restricting access to decrypted digital information
TW448396B (en) * 1998-12-28 2001-08-01 Alps Electric Co Ltd Personal computer device
CN1355475A (en) * 2000-12-01 2002-06-26 英业达股份有限公司 Rolling control method and device of data window
TW200538912A (en) * 2004-02-17 2005-12-01 Microsoft Corp Always ready computing device

Also Published As

Publication number Publication date
TW202024892A (en) 2020-07-01

Similar Documents

Publication Publication Date Title
JP5039911B2 (en) Data processing device, input / output device, touch panel control method, storage medium, and program transmission device
RU2523169C2 (en) Panning content using drag operation
US8276085B2 (en) Image navigation for touchscreen user interface
US7944437B2 (en) Information processing apparatus and touch pad control method
JP3627241B2 (en) Multi-user / multi-pointing device graphical user interface system
US20120212420A1 (en) Multi-touch input control system
US10223057B2 (en) Information handling system management of virtual input device interactions
US20130002586A1 (en) Mode switch method of multi-function touch panel
KR20130052749A (en) Touch based user interface device and methdo
WO2017114318A1 (en) Control method and control device for working mode of touch screen
JP2010160773A (en) Auxiliary method for cursor movement control of touch pad
TW201319884A (en) Touch control device and method
KR20130137069A (en) Method of simulating the touch screen operation by means of a mouse
CN104808906A (en) Electronic equipment with touch display screen and touch display screen control method
TWI483172B (en) Method and system for arranging a user interface of the electronic device
US20150100901A1 (en) Information processing device, method, and program
JP2005092476A (en) Multi-user/multi-pointing device graphical user interface system
JP2004086735A (en) Electronic device and operating mode switching method
US11150854B2 (en) Display control method, apparatus, and electronic device
TW201346656A (en) Signal transmitting method for touch input device
TWI497357B (en) Multi-touch pad control method
TWI709071B (en) Touch pad driving system and method
CN105183353B (en) Multi-touch input method for touch equipment
TWI547862B (en) Multi - point handwriting input control system and method
JP5607667B2 (en) Data processing device, input / output device, touch panel control method, storage medium, and program transmission device