Pressure touch control method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorTongjun Li
Life of this patent
Estimating the term…
Abstract
A pressure touch control method and an electronic device to improve device operation efficiency, where the method includes receiving multiple touch control operations on a same location region on a touchscreen, and determining, according to touch control information of the touch control operations, a display element corresponding to each of the touch control operations, where the touch control information includes pressure value information and pressure duration information.
Claims15
A pressure touch control method implemented by an electronic device having a touchscreen, the method comprising:
- receiving, on a same location on the touchscreen, a first touch control operation and a second touch control operation;
- obtaining first two-dimensional coordinates based on mapping a first 2-tuple comprising first pressure value information and first pressure duration information of the first touch control operation, wherein the first two-dimensional coordinates correspond to a first display element;
- obtaining second two-dimensional coordinates based on mapping a second 2-tuple comprising second pressure value information and second pressure duration information of the second touch control operation, wherein the second two-dimensional coordinates correspond to a second display element;
- executing a first control instruction corresponding to the first display element when the first touch control operation is received;
- and
- executing a second control instruction corresponding to the second display element when the second touch control operation is received.
An electronic device, comprising:
- a processor;
- and
- a touchscreen coupled to the processor and configured to:
- receive, on a same location of the touchscreen, a first touch control operation and a second touch control operation;
- send operation information of the touch control operations to the processor,
- wherein the processor is configured to:
- determine first two-dimensional coordinates based on mapping a first 2-tuple comprising first pressure value information and first pressure duration information of the first touch control operation, wherein the first two dimensional coordinates correspond to a first display element;
- determine second two-dimensional coordinates based on mapping a second 2-tuple comprising second pressure value information and second pressure duration information of the second touch control operation wherein the second two-dimensional coordinates correspond to a second display element;
- execute a first control instruction corresponding to the first display element when the first touch control operation is received;
- and
- execute a second control instruction corresponding to the second display element when the second touch control operation is received.
A pressure touch control method implemented by an electronic device having a touchscreen, the method comprising:
- receiving a first touch control operation on a region on the touchscreen;
- obtaining first pressure value information and first pressure duration information corresponding to the first touch control operation;
- obtaining first two-dimensional coordinates corresponding to the first touch control operation by mapping a first 2-tuple comprising the first pressure value information and the first pressure duration information to the first two-dimensional coordinates;
- determining a first display element corresponding to the first two-dimensional coordinates on the touchscreen;
- and
- executing a first control instruction corresponding to the first display element.
Dependencies are inferred from the claim text.