Physical button operation method and handheld electronic device
AssigneeAsus Global Pte. Ltd.
InventorZhe Yuan
Life of this patent
Estimating the term…
Abstract
A handheld electronic device and a physical button operation method are provided. The physical button operation method is adapted to the handheld electronic device that includes a physical button. The method includes the following steps. When an application is executed, the physical button is switched from an initial control mode to an application control mode. When the physical button operates in the application control mode, a press event of the physical button is intercepted. The intercepted press event is mapped to a touch operation event. The application is controlled based on the touch operation event. As a result, the convenience and operational flexibility of operating the application can be significantly improved.
Claims11
A physical button operation method adapted to a handheld electronic device comprising a physical button, the physical button operation method comprising:
- switching the physical button from an initial control mode to an application control mode when an application is executed;
- intercepting a press event of the physical button to disable a preset button function corresponding to the physical button when the physical button operates in the application control mode;
- mapping the intercepted press event to a touch operation event comprising a touch location and a touch gesture;
- and
- controlling the application according to the touch operation event.
A handheld electronic device, comprising:
- a physical button;
- a storage device, recording a plurality of modules;
- a processor, coupled to the physical button and the storage device, executing the modules and configured to:
- switch the physical button from an initial control mode to an application control mode when an application is executed;
- intercept a press event of the physical button when the physical button operates in the application control mode;
- map the intercepted press event to a touch operation event;
- and
- control the application according to the touch operation event,
- wherein the handheld electronic device further comprises another physical button, the physical button operation method further comprising:
- determining whether to receive another press event of the another physical button when the physical button operates in the application control mode;
- and
- switching the physical button from the application control mode back to the initial control mode when receiving the another press event of the another physical button,
- wherein after the step of switching the physical button from the application control mode back to the initial control mode when receiving the another press event of the another physical button, the physical button operation method further comprises:
- switching the physical button from the initial control mode to the application control mode after continuing to operate in the initial control mode for a preset time period.
Dependencies are inferred from the claim text.