CPC G06F 3/041662 (2019.05) [G06F 1/3262 (2013.01); G06F 3/03545 (2013.01); G06F 3/0442 (2019.05); G06F 3/0488 (2013.01); G06F 2203/04106 (2013.01)] | 20 Claims |
1. A stylus detection method implemented by a terminal, wherein the method comprises:
detecting for an input signal of a stylus at a first frequency;
receiving a first input of the stylus through a touchscreen of the terminal;
switching, in response to the first input, to detecting for the input signal at a second frequency;
switching to detecting for the input signal at a third frequency when a first duration during which the terminal does not detect the input signal while detecting for the input signal at the second frequency is greater than a first time period, wherein the second frequency is greater than the third frequency, and wherein the third frequency is greater than the first frequency;
receiving a second input of a user while detecting for the input signal at the second frequency;
turning off, in response to the second input, the touchscreen; and
switching, in response to the second input, to detecting for the input signal at the first frequency.
|