Key setting method and device, and storage medium
AssigneeBeijing Xiaomi Intelligent Technology Co., Ltd.
InventorsYu CHEN, Changyu SUN
Life of this patent
Estimating the term…
Abstract
A key setting method is performed by a terminal, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, and the method includes: detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal; determining a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side; and in the pressure sensing area on the target side, setting a pressure sensing key corresponding to the key function.
Claims19
A key setting method performed by a terminal, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, the method comprising:
- detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal;
- determining a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side;
- and
- setting a pressure sensing key corresponding to the key function in the pressure sensing area on the target side.
A key setting device applied in a terminal, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, the device comprising:
- a processor;
- and
- a memory for storing instructions executable by the processor;
- wherein the processor is configured to:
- detect a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal;
- determine a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side;
- and
- set, in the pressure sensing area on the target side, a pressure sensing key corresponding to the key function.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor in a terminal, cause the terminal to perform a key setting method, wherein a pressure sensing area is provided on at least one side of the terminal with respect to a screen display region, and the method comprises:
- detecting a grip posture of a user gripping the terminal by using a touch sensor distributed on a surface of the terminal;
- determining a key setting mode corresponding to the grip posture, wherein the key setting mode indicates a key function corresponding to a target side of the at least one side;
- and
- setting a pressure sensing key corresponding to the key function in the pressure sensing area on the target side.
Dependencies are inferred from the claim text.