| CPC G06F 3/03545 (2013.01) [G06F 3/04162 (2019.05); G06F 3/0481 (2013.01); G06F 3/04883 (2013.01)] | 14 Claims |

|
1. A control method, comprising:
receiving a key press event sent by a stylus, wherein the stylus comprises a first physical key, a second physical key and a third physical key;
determining a press type according to the key press event related to the first physical key;
determining a control operation corresponding to the press type; and
performing the control operation,
wherein different press types correspond to different control operations,
wherein determining the control operation corresponding to the press type comprises:
determining the control operation corresponding to the press type according to an application type, a running state of a function of a current interface of a foreground application, and the press type,
wherein in a case that the application type of the foreground application is different, a same press type corresponds to a different control operation,
wherein the second physical key is configured for a screenshot function and the third physical key is configured for a shorthand function,
wherein in a case that the press type is a first type, the control operation corresponding to the first type comprises performing a drawing operation on a display interface,
wherein the control method further comprises: receiving a mouse movement event sent by the stylus, and
wherein performing the drawing operation on the display interface comprises:
performing the drawing operation on the display interface according to product information of the stylus and the mouse movement event.
|