CPC G06F 3/03547 (2013.01) [G06F 3/03545 (2013.01); G06F 3/038 (2013.01); G06F 3/04166 (2019.05); G06F 3/046 (2013.01); G06F 2203/04101 (2013.01); G06F 2203/04106 (2013.01)] | 10 Claims |
1. A touchpad device adapted to be operated by using a stylus pen, said touchpad device comprising: a touchpad; and a controller electrically connected to said touchpad, adapted to be electrically connected to an electronic device that includes a display panel, and configured to operate in a stylus-pen mode including steps of controlling the electronic device to present a handwriting area on the display panel, and when it is determined that a distance between the stylus pen and said touchpad is less than a preset pen-hover distance but is non-zero, operating in a hover-move sub-mode that includes steps of when it is determined that a cursor is within the handwriting area and that the stylus pen is moved from a first position directly above a first contact position on said touchpad toward a second position directly above a second contact position on said touchpad and then moved downward to touch the second contact position, determining a moving vector related to movement from the first contact position to the second contact position on said touchpad, determining whether the electronic device is an iPad, when it is determined that the electronic device is an iPad, outputting a first control signal compatible with a human interface device (HID) protocol to the electronic device to enable the electronic device to present, on the display panel, the cursor moving in the handwriting area according to the moving vector in a manner that the cursor starts to move from an original point where the cursor originally stayed before moving and that a step size of movement of the cursor is presented in a relatively low resolution, without presenting a trace of the cursor, and when it is determined that the electronic device is not an iPad, outputting a second control signal compatible with the HID protocol to the electronic device to enable the electronic device to present, on the display panel, the cursor moving in the handwriting area along the moving vector in a manner that the cursor starts to move from an initial contact point that corresponds to the first contact position on said touchpad and that the step size of movement of the cursor is presented in a relatively high resolution, without presenting a trace of the cursor.
|