Method for interacting with virtual keyboard, electrode device, and storage medium
AssigneeBeijing Zitiao Network Technology Co., Ltd.
InventorsChin-Wei Liu, Shuo Liu, Jianhang Sun
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to an interaction method and apparatus, an electronic device, a storage medium, and a computer program product, wherein the method includes: presenting a virtual keyboard in an extended reality space; detecting a position and an action of a user finger relative to the virtual keyboard; and outputting a vibration signal based on the position and the action of the user finger relative to the virtual keyboard, wherein the vibration signal is used for prompting a position of the user finger in the virtual keyboard and/or an operation action of the user finger on a virtual key in the virtual keyboard.
Claims14
An interaction method, the method comprising:
- presenting a virtual keyboard in an extended reality space;
- detecting a position and an action of a user finger relative to the virtual keyboard;
- and
- outputting a vibration signal based on the position and the action of the user finger relative to the virtual keyboard, wherein the vibration signal is used for prompting the position of the user finger in the virtual keyboard and an operation action of the user finger on a virtual key in the virtual keyboard,
- wherein the virtual keyboard comprises a plurality of virtual keys and a non-key area surrounding the virtual keys and located between adjacent virtual keys,
- the outputting the vibration signal based on the position and the action of the user finger relative to the virtual keyboard comprises at least one of:
- outputting a first vibration signal in response to the user finger hovering over the virtual key;
- or
- outputting a second vibration signal in response to the user finger clicking the virtual key, and
- the outputting the vibration signal based on the position and the action of the user finger relative to the virtual keyboard further comprises:
- outputting a third vibration signal in response to the user finger hovering over the non-key area, and
- wherein the third vibration signal output in response to the user finger hovering over the non-key area is different from the first vibration signal output in response to the user finger hovering over the virtual key or the second vibration signal output in response to the user finger clicking the virtual key, so as to enable a user to discriminate whether a position where the user finger is currently located is appropriate.
An electronic device, the electronic device comprising:
- one or more processors;
- and
- a storage device configured to store one or more programs,
- wherein the one or more programs, when executed by the one or more processors, causes the one or more processors to perform the following operations:
- presenting a virtual keyboard in an extended reality space;
- detecting a position and an action of a user finger relative to the virtual keyboard;
- and
- outputting a vibration signal based on the position and the action of the user finger relative to the virtual keyboard, wherein the vibration signal is used for prompting the position of the user finger in the virtual keyboard and an operation action of the user finger on a virtual key in the virtual keyboard,
- wherein the virtual keyboard comprises a plurality of virtual keys and a non-key area surrounding the virtual keys and located between adjacent virtual keys;
- the outputting the vibration signal based on the position and the action of the user finger relative to the virtual keyboard comprises at least one of:
- outputting a first vibration signal in response to the user finger hovering over the virtual key;
- or
- outputting a second vibration signal in response to the user finger clicking the virtual key, and
- the outputting the vibration signal based on the position and the action of the user finger relative to the virtual keyboard further comprises:
- outputting a third vibration signal in response to the user finger hovering over the non-key area, and
- wherein the third vibration signal output in response to the user finger hovering over the non-key area is different from the first vibration signal output in response to the user finger hovering over the virtual key or the second vibration signal output in response to the user finger clicking the virtual key, so as to enable a user to discriminate whether a position where the user finger is currently located is appropriate.
A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, causes the processor to perform the following operations:
- presenting a virtual keyboard in an extended reality space;
- detecting a position and an action of a user finger relative to the virtual keyboard;
- and
- outputting a vibration signal based on the position and the action of the user finger relative to the virtual keyboard, wherein the vibration signal is used for prompting the position of the user finger in the virtual keyboard and an operation action of the user finger on a virtual key in the virtual keyboard,
- wherein the virtual keyboard comprises a plurality of virtual keys and a non-key area surrounding the virtual keys and located between adjacent virtual keys,
- the outputting the vibration signal based on the position and the action of the user finger relative to the virtual keyboard comprises at least one of:
- outputting a first vibration signal in response to the user finger hovering over the virtual key;
- or
- outputting a second vibration signal in response to the user finger clicking the virtual key, and
- the outputting the vibration signal based on the position and the action of the user finger relative to the virtual keyboard further comprises:
- outputting a third vibration signal in response to the user finger hovering over the non-key area, and
- wherein the third vibration signal output in response to the user finger hovering over the non-key area is different from the first vibration signal output in response to the user finger hovering over the virtual key or the second vibration signal output in response to the user finger clicking the virtual key, so as to enable a user to discriminate whether a position where the user finger is currently located is appropriate.
Dependencies are inferred from the claim text.