Electronic device and method for mapping function of electronic device to operation of stylus pen
US-2020249773-A1 · Aug 6, 2020 · US
US12449916B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12449916-B2 |
| Application number | US-202418412423-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 12, 2024 |
| Priority date | Jul 31, 2023 |
| Publication date | Oct 21, 2025 |
| Grant date | Oct 21, 2025 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The present disclosure relates to a control method, a stylus, an apparatus, an electronic device, and a storage medium. The control method includes: receiving a key press event sent by a stylus; determining a press type according to the key press event; determining a control operation corresponding to the press type; and performing the control operation; where a different press type corresponds to a different control operation. The control method can realize the remote control operation of the electronic device by means of a key on the stylus, and can realize a diversity of control operations by means of the press type of the key, and furthermore, the control operation is not restricted by an operating system and a projection manner, which can enhance the usage experience of the user.
Opening claim text (preview).
What is claimed is: 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. 2. The control method according to claim 1 , wherein in a case that the function of the current interface of the foreground application is different, a same press type corresponds to a different control operation. 3. The control method according to claim 1 , wherein performing the drawing operation on the display interface comprises: performing the drawing operation on the display interface in a current drawing mode or a default drawing mode, wherein the current drawing mode is a switched drawing mode; or the current drawing mode is an initial drawing mode that has not been switched. 4. The control method according to claim 1 , wherein performing the drawing operation on the display interface according to the product information of the stylus and the mouse movement event comprises: determining that the stylus has a virtual laser function according to the product information of the stylus; modifying an event type of the mouse movement event from a mouse cursor type to a virtual laser type; and performing the drawing operation on the display interface according to the mouse movement event. 5. The control method according to claim 4 , wherein performing the drawing operation on the display interface according to the mouse movement event comprises: obtaining positional movement information in the mouse movement event; invoking a laser cursor processing logic corresponding to the virtual laser type; and performing the drawing operation on the display interface according to the positional movement information through the laser cursor processing logic, wherein performing the drawing operation on the display interface according to the positional movement information comprises: invoking a laser view in a drawing window, and performing drawing by using the laser view according to the positional movement information, wherein the laser view supports drawing a cursor position or a cursor trajectory. 6. The control method according to claim 1 , wherein in a case that the press type is a second type, the control operation corresponding to the second type is: switching a drawing mode, wherein the drawing mode is a first mode or a second mode, wherein the first mode is a mode for drawing a cursor position, and the second mode is a mode for drawing a cursor trajectory. 7. The control method according to claim 1 , wherein in a case that the press type is a third type and a current drawing mode is a second mode, the control operation corresponding to the third type is: clearing a drawing trace in the second mode, wherein the second mode is a mode for drawing a cursor trajectory. 8. The control method according to claim 1 , wherein in a case that the application type of the foreground application is a shooting type, and the function of the current interface of the foreground application is a photo-taking function, the control operation is: a single shot or a continuous shot. 9. The control method according to claim 8 , wherein in a case that the press type is a fourth type, the control operation corresponding to the fourth type is the single shot; or in a case that the press type is a fifth type, the control operation corresponding to the fifth type is the continuous shot, wherein the fourth type and the fifth type are different. 10. The control method according to claim 1 , wherein in a case that the application type of the foreground application is a shooting type, and the function of the current interface of the foreground application is a video recording function, in response to determining that the running state of the function of the current interface is that video recording has not been started, and the press type is a sixth type, the control operation is starting the video recording; or in response to determining that the running state of the function of the current interface is that the video recording has been started, and the press type is a seventh type, the control operation is stopping the video recording; wherein the sixth type and the seventh type are the same or different. 11. A stylus comprising: a pen body, and a first physical key, a second physical key, a third physical key, one or more power sources, a processor and a wireless transmitter in the pen body, wherein the one or more power sources is configured to supply power to the processor and the transmitter, wherein the first physical key is configured to receive a press input operation; the processor is configured to generate a key press event according to the press input operation; and the wireless transmitter is configured to send the key press event, wherein the key press event is used for determining a press type, and a control operation corresponding to the press type is determined 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, and wherein the stylus further comprises: a displacement sensor electrically connected to the processor, wherein the displacement sensor is configured to collect displacement sensing data, the processor is configured to generate a mouse movement event according to the displacement sensing data; and the wireless transmitter is configured to send the mouse movement event, 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. 12. A control method for using a stylus, wherein the stylus comprises a pen body, and a first physical key, a second physical key, a third physical key, one or more power sources, a processor and a wireless transmit
for inputting data by handwriting, e.g. gesture or text · CPC title
based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance · CPC title
for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware · CPC title
with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors · CPC title
Wireless input, i.e. hardware and software details of wireless interface arrangements for pointing devices · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.