This non-provisional application claims priority under 35 U.S.C. ยง119(a) on Patent Application No(s). 101115667 filed in Taiwan, R.O.C. on May 2, 2012, the entire contents of which are hereby incorporated by reference.
1. Technical Field
The disclosure relates to a signal transmitting method of a touch input device, and more particularly to a signal transmitting method of a touch input device transmitting signals using different channels.
2. Related Art
With the development and popularization of computer technologies, various computers including tablet computers, notebook computers and desktop computers, have become working and entertainment tools for most users. People may use a mouse, a trackball, a keyboard or a touchpad as a peripheral input device of a multimedia computer. Now, it becomes a popular way to input texts or images to the computer through a touchpad.
However, in order to meet different input requirements or to meet different settings of application programs, sometimes a plurality of input devices, e.g. a mouse, a keyboard and a touchpad, need to be connected to the computer simultaneously. This causes usage inconvenience and clutter. Moreover, the functions of these input devices may partially cover each other, causing a waste of resources.
In order to combine input devices, the US Patent Application No. 2012/0026077 field on Jul. 28, 2010 provides a track pad and a method for mapping a track pad operation to a touch screen event, which has disclosed that a user's gestures on a specific single track pad are mapped to various touch screen events. However, the track pad additionally requires a specific driver installed in a computer connected to the track pad, to work. In other words, the track pad provided in the US Patent Application No. 2012/0026077 cannot be applied to present computers. Therefore, the track pad and the mapping method have rather poor universality.
In view of the above problem, a signal transmitting method of a touch input device provided by the disclosure according to an embodiment is adapted to the touch input device and a computer device connected with each other, and includes the following steps. A touch signal is obtained by using the touch input device. When the touch signal corresponds to a mouse mode, the touch signal is transmitted to an inbuilt mouse driver of the computer device through a first channel. When the touch signal corresponds to a touchpad mode, the touch signal is transmitted to an inbuilt touchpad driver of the computer device through a second channel different from the first channel.
The touch input device includes, for example, a track sensing zone and one of a left button zone and a right button zone, and determines a mode corresponding to the touch signal, according to at least touched one of the track sensing zone and the left or right button zone and an operation on the at least touched one of the track sensing zone and the left or right button zone.
In an embodiment, when the touch signal is generated by directly touching the track sensing zone at a single touch point and then sliding on the track sensing zone, the touch signal corresponds to the mouse mode.
In an embodiment, when the touch signal is generated by a single click at a single touch point on the left button zone or the right button zone, the touch signal corresponds to the mouse mode.
In an embodiment, when the touch signal is generated by a single click or a double click on the track sensing zone, the touch signal corresponds to the touchpad mode.
In an embodiment, when the touch signal is generated by touching the track sensing zone at a single touch point and then sliding on the track sensing zone, the touch signal corresponds to the touchpad mode.
In an embodiment, when the touch signal is generated by continuously pressing the track sensing zone at a single touch point, the touch signal corresponds to the touchpad mode.
In an embodiment, when the touch signal is generated by continuously pressing the left button zone or the right button zone at a single touch point and by a single click on the track sensing zone simultaneously, the touch signal corresponds to the touchpad mode.
In an embodiment, when the touch signal is continuously pressing the left button zone or the right button zone at a single touch point and sliding on the track sensing zone simultaneously, the touch signal corresponds to the touchpad mode.
In an embodiment, the step of transmitting the touch signal to the inbuilt mouse driver of the computer device through the first channel includes the following steps. The touch signal is packaged into a mouse input packet, and a header identification (HID) of the mouse input packet corresponds to the mouse mode. The mouse input packet is transmitted to the inbuilt mouse driver of the computer device.
Moreover, the step of transmitting the touch signal to the inbuilt touchpad driver of the computer device through the second channel includes the following steps. The touch signal is packaged into a touchpad input packet, and an HID of the touchpad input packet corresponds to the touchpad mode. The touchpad input packet is transmitted to the inbuilt touchpad driver of the computer device.
In an embodiment, the touch input device transmits the mouse input packet or the touchpad input packet to the computer device wiredly or wirelessly.
A signal transmitting method of a touch input device provided by the disclosure according to an embodiment includes the following steps. A touch signal is obtained by using the touch input device. When the touch signal corresponds to a mouse mode, a mouse input packet carrying the touch signal is transmitted to a computer device through a first channel. When the touch signal corresponds to a touchpad mode, a touchpad input packet carrying the touch signal is transmitted to the computer device through a second channel different from the first channel.
As set forth above, the touch input device can provide the mouse function and the touchpad function at the same time, so the command input is more efficient. Moreover, the touch input device can send the touch signal to the original driver in the computer device according to the mode corresponding to the touch signal, thereby having excellent universality.
The disclosure will become more fully understood from the detailed description given herein below for illustration only, and thus is not limitative of the disclosure, and wherein:
Detailed features and advantages of the disclosure are described in the embodiments below, and their content is adequate for those skilled in the art to understand the technical content of the disclosure and to implement the disclosure. According to the content disclosed in the specification, the claims, and the drawings, those skilled in the art can easily understand the objects and advantages of the disclosure.
The disclosure provides a signal transmitting method of a touch input device, which is adapted to the touch input device and a computer device connected with each other.
The computer device 30 is, for example, a Personal Digital Assistant (PDA), a notebook computer, a desktop computer, a tablet computer or a mobile phone. The touch input device 20 is, for example, used as a peripheral device of the computer device 30. The user can use the touch input device 20 to control a cursor displayed on a display device connected to the computer device 30, thereby operating the computer device 30.
In this embodiment and some embodiments, the computer device 30 includes an inbuilt mouse driver 32, an inbuilt touchpad driver 34, an operating system 36 and at least one application program 38. The inbuilt mouse driver 32 and the inbuilt touchpad driver 34 are, for example, default inbuilt drivers of the computer device 30. For example, the inbuilt mouse driver 32 and the inbuilt touchpad driver 34 are provided by a third-party mouse and touchpad manufacturer to a manufacturer of the computer device 30, so that the computer device 30 is capable of corresponding to various existing mice and touchpads.
In this embodiment and some embodiments, the operating system 36 is connected to the inbuilt mouse driver 32 and the inbuilt touchpad driver 34, so as to calculate a displayed location of the cursor on screen, or to process various touch signals according to the application program 38 that is being executed. For example, according to the touch signal, the computer device 30 zooms in or out an object displayed on screen. The object is, for example, a webpage, a window page, an image, or a selected object in the application program 38 such as MS paint.
According to an embodiment, a single touch input device 20 has a mouse mode and a touchpad mode. Thus, the touch input device 20 can be used as a regular mouse and a regular touchpad, and can provide the computer device 30 with different touch signals corresponding to the mouse mode and the touchpad mode. When the touch input device 20 is connected to the computer device 30, the computer device 30 does not need to install a new driver for the touch input device 20. In contrast, the original inbuilt mouse driver 32 and the original inbuilt touchpad driver 34 are used to process the touch signal received from the touch input device 20. The signal transmitting method of the touch input device 20 is described as follows.
Definitions of touch signals corresponding to the mouse mode or the touchpad mode can be set by gestures that can form these touch signals hereinafter. Through these definitions, the mode corresponding to the obtained touch signal can be determined in step S120. Various embodiments of operations of human fingers touching a surface of a touch panel of the touch input device 20 are described as follows.
When the finger does a single clicking at the touch point 28 on the left button zone 24 or the right button zone 26 (as shown in
In order to determine whether the touch signal is generated by sliding on the surface of the touch panel or by a single click on the surface of the touch panel, the touch input device 20 determines a first time period the finger touches the surface of the touch panel, and determines a second time period between a time point the finger is removed from the surface, and a time point the finger touches the surface again. If the first time period is less than a first time threshold value, the touch is defined as a click. If the first time period is greater than or equal to the first time threshold value, the touch is defined as a continuous pressing. If the first time period is less than the first time threshold value and the second time period is less than a second time threshold value, this touch is defined as a single-click causing the touch signal. If the finger continuously touches a small zone of the surface twice in a third time threshold value, the touch is defined as a double-click causing the touch signal. The two touch points 28 that form the double-click are at different locations adjacent to each other. If the first time period is greater than or equal to the first time threshold value and the location of the touch point 28 changes, this touch is defined as a sliding.
When the touch signal is generated by a single click at one touch point 28 (a single touch point) on the track sensing zone 22 and then sliding on the track sensing zone 22 in a third time threshold value (as shown in
When the touch signal is generated by a single-click on the track sensing zone 22 and then continuously pressing the track sensing zone 22 (as shown in
When the touch signal is generated by continuously pressing the left button zone 24 or the right button zone 26 at a single touch point (a first touch point 28A), and meanwhile by a single click at another touch point (a second touch point 2813) in the track sensing zone 22 (as shown in
When the touch signal is generated by continuously pressing the left button zone 24 or the right button zone 26 at a single touch point (the first touch point 28A), and meanwhile by touching another touch point (the second touch point 28B) in the track sensing zone 22 and then sliding (as shown in
According to an embodiment, the touch input device 20 is preset to operate under the mouse mode. Therefore, when no touch occurs, the touch input device 20 maintains under the mouse mode. After a finger is removed from the surface of the touch panel and then a touch signal corresponding to the touchpad mode is sent, the touch input device 20 also returns to the mouse mode.
When the touch signal corresponds to the mouse mode, the touch input device 20 first packages the touch signal into a mouse input packet. An HID of the mouse input packet corresponds to the mouse mode (Step S132). Then, the touch input device 20 transmits the mouse input packet to the inbuilt mouse driver 32 of the computer device 30 through the first channel 40 (Step S134). When the touch signal corresponds to the touchpad mode, the touch input device 20 first packages the touch signal into a touchpad input packet. An HID of the touchpad input packet corresponds to the touchpad mode (Step S142). Then, the touch input device 20 transmits the touchpad input packet to the inbuilt touchpad driver 34 of the computer device 30 through the second channel 50 (Step S144). Moreover, in this embodiment and some embodiments, the touch input device 20 transmits the mouse input packet or the touchpad input packet to the computer device 30 wiredly or wirelessly.
Specifically, the touch input device 20 specifies a packet transmission destination by specifying an HID of the packet, so as to send the mouse input packet with its HID or the touchpad input packet with its HID to a corresponding driver. Hereinafter, the manner of specifying the HID of the mouse input packet to transmit the mouse input packet is defined as the first channel 40 for making a communication with the computer device 30, and the manner of specifying the HID of the touchpad input packet to transmit the touchpad input packet is defined as the second channel 50 for making a communication with the computer device 30.
For example, each of the touch input device 20 and the computer device 30 includes a communication module used for transmitting or receiving the mouse input packet or the touchpad input packet wiredly or wirelessly. When receiving a packet, the communication module of the computer device 30 reads the header of the packet so as to determine a destination of the packet.
Assume that the HIDs corresponding to the inbuilt mouse driver 32 and the inbuilt touchpad driver 34 are 001 and 010 respectively. When the touch input device 20 generates a mouse input packet, 001 is written into an HID field of the mouse input packet. When the touch input device 20 generates a touchpad input packet, 010 is written in to an HID field of the touchpad input packet. When receiving a packet, the communication module reads the HID in the header of the packet and transmits the packet to the inbuilt mouse driver 32 or the inbuilt touchpad driver 34 according to the HID.
In addition, the process of a signal transmitting method of a touch input device according to another embodiment is shown in
As set forth above, the touch input device can provide the mouse function and the touchpad function at the same time, and can replace mice and touchpads. Thus, a mouse does not need to be used additionally, and data input may become more efficient. Moreover, the touch input device can send the touch signal to the original inbuilt mouse driver or the original inbuilt touchpad driver in the computer device according to the mode corresponding to the touch signal, so a new driver is not required to be installed in advance. The touch input device may have higher universality.
Number | Date | Country | Kind |
---|---|---|---|
101115667 | May 2012 | TW | national |