CN113842634B - Force feedback control method and device for trigger button, electronic product and medium - Google Patents

Force feedback control method and device for trigger button, electronic product and medium Download PDF

Info

Publication number
CN113842634B
CN113842634B CN202111136486.8A CN202111136486A CN113842634B CN 113842634 B CN113842634 B CN 113842634B CN 202111136486 A CN202111136486 A CN 202111136486A CN 113842634 B CN113842634 B CN 113842634B
Authority
CN
China
Prior art keywords
trigger button
distance
force
current position
origin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111136486.8A
Other languages
Chinese (zh)
Other versions
CN113842634A (en
Inventor
杜文彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111136486.8A priority Critical patent/CN113842634B/en
Priority to PCT/CN2021/139401 priority patent/WO2023045139A1/en
Publication of CN113842634A publication Critical patent/CN113842634A/en
Application granted granted Critical
Publication of CN113842634B publication Critical patent/CN113842634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/25Output arrangements for video game devices
    • A63F13/28Output arrangements for video game devices responding to control signals received from the game device for affecting ambient conditions, e.g. for vibrating players' seats, activating scent dispensers or affecting temperature or light
    • A63F13/285Generating tactile feedback signals via the game input device, e.g. force feedback
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles

Abstract

The invention discloses a force feedback control method and device of a trigger button, an electronic product and a medium, wherein the method comprises the following steps: and acquiring the distance between the current position of the trigger button and the original point, judging whether the distance between the current position and the original point is larger than the distance between the previous position and the original point, and if not, controlling the feedback force output by the force feedback module to be unchanged. Therefore, compared with the control mode of reducing the feedback force of the trigger button in the process of releasing the trigger button, the technical scheme provided by the invention has the advantages that the feedback force output by the control force feedback module is kept unchanged in the process of releasing the trigger button, the problem of unstable trigger button caused by the negligence of the feedback force due to the fact that the feedback force of the trigger button is reduced due to the fact that the force of pressing the trigger button is unstable is avoided, the condition of shaking fingers when the trigger button is used by fingers of a user is avoided, and the user experience is improved.

Description

Force feedback control method and device for trigger button, electronic product and medium
Technical Field
The present invention relates to the field of virtual reality technologies, and in particular, to a force feedback control method and apparatus for a trigger button, an electronic product, and a medium.
Background
In recent years, with the gradual maturation of virtual reality technology, various products are going into the lives of the masses. The game handle and the VR handle control actions of different scenes through controlling trigger keys, for example, in a racing scene, accelerator acceleration of a racing car is controlled through controlling the trigger keys, and in a shooting scene, shooting of a gun is controlled through the trigger keys. In order to enable a user to experience a scene more truly, the force feedback function is gradually applied to the handle, at present, the handle comprises a main control chip, a position information acquisition sensor and a force feedback module, when the user uses a trigger button, the position information acquisition sensor acquires movement data of the trigger button, the main control chip calculates the current position of the trigger button according to the movement data, and the force feedback module is controlled to change feedback force acting on the hand of the user according to the current position, so that the reality of user experience is improved.
When the user uses the trigger button, need adopt different dynamics to press the trigger button according to current demand, because the unstable of pressing the trigger button dynamics, then can lead to the unstable force feedback of trigger button, and then lead to the phenomenon that the user uses the finger of trigger button to appear the shake.
Therefore, how to solve the problem that the feedback force of the trigger button of the handle is unstable in the use process, so as to cause the unstable force acting on the hand of the user is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention aims to provide a force feedback control method, a device, an electronic product and a medium for a trigger button, wherein a main control chip judges whether the distance between the current position of the trigger button and an original point is larger than the distance between the last position and the original point by acquiring the current position of the trigger button on a handle, and if not, the feedback force output by a force feedback module is controlled to be unchanged, so that the condition that the hand shake occurs when a user fingers control the trigger button due to the negligence of the feedback force when the distance between the current position of the trigger button and the original point is not larger than the distance between the previous position and the original point is avoided, and the user experience is improved.
In order to solve the above technical problems, the present invention provides a force feedback control method for a trigger button, including:
acquiring the distance between the current position of the trigger button and the origin;
judging whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point;
if not, the feedback force output by the force feedback module is controlled to be unchanged, and the step of obtaining the distance between the current position of the trigger button and the origin is returned.
Preferably, the force feedback control method of the trigger button further comprises:
and if the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point, controlling the feedback force output by the force feedback module to be increased.
Preferably, before the determining whether the distance between the current position of the trigger button and the origin is greater than the distance between the previous position and the origin, the method further comprises:
determining whether the distance between the current position and the origin is greater than a starting threshold;
if so, entering the step of judging whether the distance between the current position of the trigger button and the origin is greater than the distance between the previous position and the origin;
and if not, controlling the feedback force output by the force feedback module to be zero.
Preferably, the actuation threshold is set according to a maximum distance the trigger button can move from the origin.
Preferably, the acquiring the distance between the current position of the trigger button and the origin comprises:
acquiring a voltage value generated between the Hall sensor and the trigger button due to magnetic flux change;
and calculating the distance between the current position of the trigger button and the origin according to the voltage value.
In order to solve the technical problem, the invention also provides a force feedback control device of the trigger button, comprising:
the acquisition module is used for acquiring the distance between the current position of the trigger button and the origin;
the judging module is used for judging whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point;
and the control module is used for controlling the feedback force output by the force feedback module to be unchanged and triggering the acquisition module when the judging result of the judging module is negative.
In order to solve the technical problem, the invention also provides an electronic product, which comprises a memory for storing a computer program;
and the processor is used for realizing the steps of the force feedback control method of the trigger button when executing the computer program.
Preferably, the electronic product is a VR device.
In order to solve the above technical problem, the present invention further provides a computer readable storage medium, where a computer program is stored, and the computer program when executed by a processor implements the steps of the force feedback control method of the trigger button.
The invention provides a force feedback control method of a trigger button, which comprises the following steps: and acquiring the distance between the current position of the trigger button and the original point, judging whether the distance between the current position and the original point is larger than the distance between the previous position and the original point, and if not, controlling the feedback force output by the force feedback module to be unchanged. Therefore, compared with the control mode of reducing the feedback force of the trigger button in the process of releasing the trigger button, the technical scheme provided by the invention has the advantages that the feedback force output by the control force feedback module is kept unchanged in the process of releasing the trigger button, the problem of unstable trigger button caused by the negligence of the feedback force due to the fact that the feedback force of the trigger button is reduced due to the fact that the force of pressing the trigger button is unstable is avoided, the condition of shaking fingers when the trigger button is used by fingers of a user is avoided, and the user experience is improved.
In addition, the force feedback control device, the electronic product and the medium of the trigger button provided by the invention correspond to the method, and the effects are the same as the above.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a flow chart of a method for controlling force feedback of a trigger button according to an embodiment of the present invention;
FIG. 2 is a block diagram of a force feedback control device for a trigger button according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic product according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The invention provides a force feedback control method, a device, an electronic product and a medium of a trigger button, wherein a main control chip in a handle controls the invariance of feedback force output by a force feedback module to ensure that the feedback force acted on a finger of a user is unchanged by comparing whether the distance between the current position of the trigger button and an original point is larger than the distance between the previous position and the original point or not, so that the feedback force is reduced when the distance between the current position of the trigger button and the original point is not larger than the distance between the previous position and the original point, and the trigger button is unstable due to the negligence of the feedback force, so that the condition of hand shake occurs when a user uses the trigger button, and the user experience is improved.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
In recent years, with the development of virtual reality technology, various virtual reality products are coming into the lives of people. The handle applied to the game is deeply favored by the vast users, the users can truly feel the game scene through the virtual reality technology of the handle, for example, the handle simulates the game scene such as real driving, fighting, flying, shooting and the like, in order to enable the users to more truly experience various game scenes, the force feedback function of the trigger button of the self-adaptive handle is applied to the handle, the handle acquires the movement related data of the trigger button through the position information acquisition sensor, the current position of the trigger button is calculated according to the related data, and the force feedback module is controlled to act on the hands of the users through the current position of the trigger button, so that the users experience the reality in the game.
However, when the user uses the handle, because the dynamics of user's pressing trigger button is unstable, can lead to main control chip to appear acting on the feedback on the hand of user when the current position of trigger button changes feedback big time-hour, unstable condition, and then the condition that appears shaking when making the user's finger use the trigger button brings bad experience for the user.
In order to solve the above problems, the present invention provides a force feedback control method for a trigger button, which obtains a current position of the trigger button through a main control chip, and determines whether the current position is greater than a distance between a previous position and an origin according to a distance between the current position and the origin, when the current position is not greater than the distance between the previous position and the origin, the main control chip controls a feedback force output by a force feedback module to be unchanged, and when the current position is not greater than the distance between the previous position and the origin, the feedback force is prevented from being reduced, a phenomenon of negligence of the feedback force occurs, and the feedback force acting on a user hand is unstable.
Fig. 1 is a flowchart of a force feedback control method for a trigger button according to an embodiment of the present invention, as shown in fig. 1, where the method includes:
s10: and obtaining the distance between the current position of the trigger button and the origin.
S11: and judging whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point, and if not, entering step S12.
S12: and controlling the feedback force output by the force feedback module to be unchanged, and returning to the step S10.
In a specific embodiment, the handle comprises: the main control chip, the position information acquisition sensor and the force feedback module. When a user uses the handle, the position information acquisition module acquires related data generated by movement of the trigger button, and the main control chip acquires the related data to calculate the distance between the current position of the trigger button and the origin, wherein the origin is the original position of the trigger button, namely the position of the trigger button when the trigger button is not touched. The position information collecting sensor may be a hall sensor or other sensors, and the hall sensor is not limited thereto, and is preferred because the hall sensor is small in size, low in cost and easy to implement. In addition, the force feedback module can be a motor, an electromagnet, a cylinder and the like, and the invention is not limited to the motor. Step S10, after obtaining the distance between the current position and the origin of the trigger button, entering step S11, namely, judging whether the distance between the current position and the origin of the trigger button is greater than the distance between the previous position and the origin by the main control chip, if the distance between the current position and the origin is not greater than the distance between the previous position and the origin, entering step S12, controlling the feedback force output by the force feedback module by the main control chip to be unchanged, and simultaneously returning to step S10 to continuously obtain the distance between the current position and the origin of the trigger button, thereby avoiding the phenomenon that the fingers of a user using the trigger button shake due to unstable feedback force if the distance between the current position and the origin is not greater than the distance between the previous position and the origin. It should be noted that the main control chip may further include other functions besides the function of obtaining the distance between the current position of the trigger button and the origin and determining whether the current position is greater than the distance between the previous position and the origin, which is not limited in this invention. In addition, the force feedback module may further include other elements besides the element for controlling the feedback force, which is not limited in the present invention.
In a specific embodiment, when a user uses a handle, when the distance between the current position of a trigger button and an origin is not greater than the distance between the previous position and the origin, namely when the user releases the trigger button, the force acted on the trigger button by the user changes, at this time, if the feedback force output by the force feedback module is reduced, the trigger button can quickly retract, so that the trigger button is unstable, and further the fingers acted on the trigger button shake.
In addition, when the distance between the current position of the trigger button and the original point is greater than the distance between the previous position and the original point, the feedback force output by the force feedback module is controlled by the main control chip to be increased, and it is required to be noted that the feedback force output by the force feedback module has an upper limit value, and the feedback force is not increased when the upper limit value is reached, when the distance between the current position of the trigger button and the original point is less than the starting threshold value, namely, the position of the trigger button released by the user is retracted to the starting threshold value range of the force feedback module, the feedback force output by the force feedback module is controlled by the main control chip to be zero, and when the distance between the current position of the trigger button and the original point is again greater than the starting threshold value, the feedback force output by the force feedback module is controlled by the main control chip to be continuously increased according to the movement of the trigger button, so that the user can continuously feel the existence of the feedback force in the process of using the handle.
The invention provides a force feedback control method of a trigger button, which comprises the following steps: and acquiring the distance between the current position of the trigger button and the original point, judging whether the distance between the current position and the original point is larger than the distance between the previous position and the original point, and if not, controlling the feedback force output by the force feedback module to be unchanged. Therefore, according to the technical scheme provided by the invention, the problem that the trigger button is unstable due to the fact that the feedback force of the trigger button is reduced and the feedback force is negligent is avoided in the process that the trigger button is released, so that the condition that the fingers shake when the user fingers use the trigger button is avoided, and the user experience is improved.
In a specific embodiment, when the distance between the current position and the origin is not greater than the distance between the previous position and the origin, the main control chip controls the feedback force output by the force feedback module to be unchanged, so that the phenomenon that the fingers of the user using the trigger button are dithered due to negligence of the feedback force due to unstable feedback force in the process of releasing the trigger button by the user is avoided. Of course, if the distance between the current position of the movement of the trigger button pressed by the finger of the user and the original point is greater than the distance between the previous position and the original point, the feedback force output by the force feedback module is controlled to be increased by the main control chip, so that the situation that the feedback force is reduced while the feedback force is continuously increased is avoided when the user uses the handle, and the phenomenon that the user fingers shake when using the trigger button due to unstable feedback force is avoided.
According to the force feedback control method for the trigger button, when the distance between the current position and the original point is not greater than the distance between the previous position and the original point, the feedback force output by the force feedback module is controlled to be increased, so that the situation that the feedback force is continuously increased due to different use scenes of the handle and the force acting on the hand of a user is unstable due to the fact that the feedback force is reduced can be avoided, and the user experience is improved.
On the basis of the above embodiment, in order to prevent the continuous operation of the force feedback module from affecting the service life of the force feedback module, a start threshold of the force feedback module, that is, a start threshold of the master control chip controlling the operation of the force feedback module is set. Before judging whether the distance between the current position of the trigger button and the original point is greater than the distance between the last position and the original point, judging whether the distance between the current position of the trigger button and the original point is greater than a starting threshold value, if so, entering the step of judging whether the distance between the current position of the trigger button and the original point is greater than the distance between the last position and the original point, if not, controlling the feedback force output by the force feedback module to be zero, and ensuring that the service life of the force feedback module is prolonged when the distance between the current position of the trigger button and the original point is less than the starting threshold value.
According to the force feedback control method of the trigger button, in order to prevent the service life of the force feedback module from being influenced by continuous operation of the force feedback module, the starting threshold value of the force feedback module is increased, and when the distance between the current position of the trigger button and the origin is larger than the starting threshold value, the force feedback module works to output different feedback forces to change the feedback force acting on the hands of a user, so that the service life of the force feedback module is ensured, and the user experience is further improved.
On the basis of the above embodiment, the starting threshold of the force feedback module is set according to the maximum distance that the trigger button can move from the origin, and it should be noted that the origin is the original position of the trigger button, that is, the position where the trigger button is not touched. The activation threshold may be set in other manners, which is not limited to the present invention.
According to the force feedback control method of the trigger button, the starting threshold is set for the force feedback module, and the starting threshold is set according to the maximum distance that the trigger button can move from the origin, so that the influence of continuous work of the force feedback module on the service life of the force feedback module can be avoided, and the user experience is improved.
In a specific embodiment, in consideration of cost, size and implementation difficulty, the position information acquisition sensor for acquiring the data related to the movement of the trigger button is configured as a hall sensor, and of course, other sensors may be configured as well, which is not limited in the present invention. The Hall sensor is arranged in the handle, a certain distance is reserved between the Hall sensor and a trigger button of the handle, when a user uses the handle and presses the trigger button, the change of magnetic flux between the Hall sensor and the trigger button of the handle can be caused, the Hall sensor acquires a corresponding voltage value according to the change of the magnetic flux and transmits the voltage value to the main control chip, and the main control chip calculates the distance between the current position of the trigger button and the origin according to the voltage value.
According to the force feedback control method for the trigger button provided by the embodiment of the invention, the position information acquisition sensor for acquiring the data related to the movement of the trigger button is set as the Hall sensor, so that the cost can be saved, meanwhile, the volume of the Hall sensor is smaller and the implementation is easier, in addition, the main control chip can rapidly calculate the distance between the current position of the trigger button and the origin according to the magnetic flux change between the trigger button and the Hall sensor, so that whether the distance between the current position of the trigger button and the origin is larger than the distance between the previous position and the origin is judged, the force feedback module is controlled to control the feedback force applied to the hand of a user, the situation that the finger of the trigger button is dithered when the user uses the handle is avoided, and the user experience is further improved.
In the above embodiments, a detailed description is given of a force feedback control method of a trigger button, and the present invention further provides a corresponding embodiment of a force feedback control device of a trigger button. It should be noted that the present invention describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware structure.
Fig. 2 is a structural diagram of a force feedback control device for a trigger button according to an embodiment of the present invention, as shown in fig. 2, the device includes:
the obtaining module 10 is configured to obtain a distance between a current position of the trigger button and an origin.
And the judging module 11 is used for judging whether the distance between the current position of the trigger button and the origin is greater than the distance between the previous position and the origin.
And the control module 12 is configured to control the feedback force output by the force feedback module to remain unchanged and trigger the acquisition module when the judgment result of the judgment module is negative.
As a preferred embodiment, the device further comprises a determining module and a control module, wherein the determining module is used for determining whether the distance between the current position and the original point is larger than a starting threshold value, if so, the step of judging whether the distance between the current position and the original point of the trigger button is larger than the distance between the previous position and the original point is entered, and if not, the feedback force output by the force feedback module is zero. The control module is used for controlling the feedback force output by the force feedback module to be increased if the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
The invention provides a force feedback control device of a trigger button, comprising: and acquiring the distance between the current position of the trigger button and the original point, judging whether the distance between the current position and the original point is larger than the distance between the previous position and the original point, and if not, controlling the feedback force output by the force feedback module to be unchanged. Therefore, according to the technical scheme provided by the invention, the problem that the trigger button is unstable due to the fact that the feedback force of the trigger button is reduced and the feedback force is negligent is avoided in the process that the trigger button is released, so that the condition that the fingers shake when the user fingers use the trigger button is avoided, and the user experience is improved.
Fig. 3 is a block diagram of an electronic product according to another embodiment of the present invention, as shown in fig. 3, where the electronic product includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the force feedback control method of the trigger button as mentioned in the above embodiments when executing a computer program.
The electronic product provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, abbreviated as DSP), field-programmable gate array (Field-Programmable Gate Array, abbreviated as FPGA), programmable logic array (Programmable Logic Array, abbreviated as PLA). The processor 21 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a central processor (Central Processing Unit, CPU for short); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate with an image processor (Graphics Processing Unit, GPU for short) for rendering and drawing of the content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, which, when loaded and executed by the processor 21, can implement the relevant steps of the force feedback control method of the trigger button disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. The data 203 may include, but is not limited to, related data involved in the force feedback control method of the trigger button, and the like.
In some embodiments, the electronic product may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the structure shown in fig. 3 is not limiting of the electronic product and may include more or fewer components than shown.
The electronic product provided by the embodiment of the invention comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: a force feedback control method for trigger button.
The electronic product provided by the embodiment of the invention comprises the processor and the memory, wherein the processor can realize a force feedback control method of the trigger button when executing a program stored in the memory, compares whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point, controls the feedback force acting on the hand of the user to continuously increase, and avoids the unstable condition of the trigger button caused by the reduction of the feedback force when the distance between the current position of the trigger button and the original point is not larger than the distance between the previous position and the original point, so that the hand shake condition occurs when the user uses the trigger button, and the experience of the user is improved.
In a specific embodiment, the electronic product may be a VR device, where the VR device includes a main control chip, a position information collecting sensor, and a force feedback module. The main control chip acquires relevant data of trigger button movement of the VR equipment, calculates whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point according to the relevant data, and controls the feedback force output by the force feedback module to be unchanged when the distance between the current position of the trigger button of the VR equipment and the original point is not larger than the distance between the previous position and the original point so as to ensure that the acting force on the hands of the user is unchanged, thereby avoiding the condition of hand shake when the VR equipment is used by the user and improving the user experience.
Finally, the invention also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps as described in the method embodiments above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The force feedback control method and device for the trigger button, the electronic product and the medium provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A method of force feedback control of a trigger button, comprising:
acquiring the distance between the current position of the trigger button and the origin;
judging whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point;
if not, controlling the feedback force output by the force feedback module to be unchanged, and returning to the step of acquiring the distance between the current position of the trigger button and the origin; and if the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point, controlling the feedback force output by the force feedback module to be increased.
2. The method of force feedback control of a trigger button of claim 1, further comprising, prior to said determining if a current position of the trigger button is greater than a previous position from the origin:
determining whether the distance between the current position and the origin is greater than a starting threshold;
if so, entering the step of judging whether the distance between the current position of the trigger button and the origin is greater than the distance between the previous position and the origin;
and if not, controlling the feedback force output by the force feedback module to be zero.
3. The method of force feedback control of a trigger button of claim 2, wherein the actuation threshold is set based on a maximum distance the trigger button can move from the origin.
4. The method of claim 1, wherein the obtaining the distance between the current position of the trigger button and the origin comprises:
acquiring a voltage value generated between the Hall sensor and the trigger button due to magnetic flux change;
and calculating the distance between the current position of the trigger button and the origin according to the voltage value.
5. A force feedback control device for a trigger button, comprising:
the acquisition module is used for acquiring the distance between the current position of the trigger button and the origin;
the judging module is used for judging whether the distance between the current position of the trigger button and the original point is larger than the distance between the previous position and the original point;
the control module is used for controlling the feedback force output by the force feedback module to be unchanged and triggering the acquisition module when the judging result of the judging module is negative; and when the judging result of the judging module is yes, controlling the feedback force output by the force feedback module to be increased.
6. An electronic product comprising a memory for storing a computer program;
a processor for implementing the steps of the method for force feedback control of a trigger button as claimed in any one of claims 1 to 4 when executing said computer program.
7. The electronic product of claim 6, wherein the electronic product is a VR device.
8. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the force feedback control method of a trigger button according to any one of claims 1 to 4.
CN202111136486.8A 2021-09-27 2021-09-27 Force feedback control method and device for trigger button, electronic product and medium Active CN113842634B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111136486.8A CN113842634B (en) 2021-09-27 2021-09-27 Force feedback control method and device for trigger button, electronic product and medium
PCT/CN2021/139401 WO2023045139A1 (en) 2021-09-27 2021-12-18 Force feedback control method and apparatus for trigger button, electronic product, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111136486.8A CN113842634B (en) 2021-09-27 2021-09-27 Force feedback control method and device for trigger button, electronic product and medium

Publications (2)

Publication Number Publication Date
CN113842634A CN113842634A (en) 2021-12-28
CN113842634B true CN113842634B (en) 2024-02-27

Family

ID=78980095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111136486.8A Active CN113842634B (en) 2021-09-27 2021-09-27 Force feedback control method and device for trigger button, electronic product and medium

Country Status (2)

Country Link
CN (1) CN113842634B (en)
WO (1) WO2023045139A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113842634B (en) * 2021-09-27 2024-02-27 歌尔科技有限公司 Force feedback control method and device for trigger button, electronic product and medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105229552A (en) * 2013-01-30 2016-01-06 大卫·保罗·史密斯 The electrical output equipment that there is variable sensation, keep feedback, automatic calibration and the operator of performance optimization that can know to control
CN105580063A (en) * 2013-09-26 2016-05-11 汤姆逊许可公司 Method and device for controlling haptic device
CN106057536A (en) * 2016-08-05 2016-10-26 苏州达方电子有限公司 Button structure
CN106999765A (en) * 2014-12-23 2017-08-01 意美森公司 The position control of the user input element associated with haptic output devices
CN107168554A (en) * 2017-04-26 2017-09-15 歌尔股份有限公司 Trigger button scaling method, device and equipment
CN108020223A (en) * 2017-11-29 2018-05-11 北京众绘虚拟现实技术研究院有限公司 A kind of attitude measurement method of the force feedback equipment handle based on inertial measuring unit
WO2019009455A1 (en) * 2017-07-07 2019-01-10 ㈜리얼감 Force feedback device and method
CN109478098A (en) * 2016-07-26 2019-03-15 索尼互动娱乐股份有限公司 Information processing system, operating device and operation apparatus control method
CN110709145A (en) * 2017-06-01 2020-01-17 微软技术许可有限责任公司 Input device with sector gear feedback trigger
CN110709144A (en) * 2017-06-01 2020-01-17 微软技术许可有限责任公司 Input device with force sensor feedback trigger
CN111840994A (en) * 2020-07-17 2020-10-30 歌尔科技有限公司 Game control method, system, game handle, game end and readable storage medium
CN212313287U (en) * 2019-03-15 2021-01-08 Sl株式会社 Pedal device for vehicle

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5691898A (en) * 1995-09-27 1997-11-25 Immersion Human Interface Corp. Safe and low cost computer peripherals with force feedback for consumer applications
US6262712B1 (en) * 1997-04-24 2001-07-17 Microsoft Corporation Handle sensor with fade-in
CN105320316B (en) * 2014-06-17 2020-12-11 中兴通讯股份有限公司 Method and device for removing jitter of touch screen and terminal
US10613629B2 (en) * 2015-03-27 2020-04-07 Chad Laurendeau System and method for force feedback interface devices
CN105446646B (en) * 2015-12-11 2019-01-11 小米科技有限责任公司 Content input method, device and touch control device based on dummy keyboard
CN110665216A (en) * 2019-09-29 2020-01-10 网易(杭州)网络有限公司 Method and device for controlling aiming direction in game, electronic equipment and storage medium
CN113842634B (en) * 2021-09-27 2024-02-27 歌尔科技有限公司 Force feedback control method and device for trigger button, electronic product and medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105229552A (en) * 2013-01-30 2016-01-06 大卫·保罗·史密斯 The electrical output equipment that there is variable sensation, keep feedback, automatic calibration and the operator of performance optimization that can know to control
CN105580063A (en) * 2013-09-26 2016-05-11 汤姆逊许可公司 Method and device for controlling haptic device
CN106999765A (en) * 2014-12-23 2017-08-01 意美森公司 The position control of the user input element associated with haptic output devices
CN109478098A (en) * 2016-07-26 2019-03-15 索尼互动娱乐股份有限公司 Information processing system, operating device and operation apparatus control method
CN106057536A (en) * 2016-08-05 2016-10-26 苏州达方电子有限公司 Button structure
CN107168554A (en) * 2017-04-26 2017-09-15 歌尔股份有限公司 Trigger button scaling method, device and equipment
CN110709145A (en) * 2017-06-01 2020-01-17 微软技术许可有限责任公司 Input device with sector gear feedback trigger
CN110709144A (en) * 2017-06-01 2020-01-17 微软技术许可有限责任公司 Input device with force sensor feedback trigger
WO2019009455A1 (en) * 2017-07-07 2019-01-10 ㈜리얼감 Force feedback device and method
CN108020223A (en) * 2017-11-29 2018-05-11 北京众绘虚拟现实技术研究院有限公司 A kind of attitude measurement method of the force feedback equipment handle based on inertial measuring unit
CN212313287U (en) * 2019-03-15 2021-01-08 Sl株式会社 Pedal device for vehicle
CN111840994A (en) * 2020-07-17 2020-10-30 歌尔科技有限公司 Game control method, system, game handle, game end and readable storage medium

Also Published As

Publication number Publication date
CN113842634A (en) 2021-12-28
WO2023045139A1 (en) 2023-03-30

Similar Documents

Publication Publication Date Title
US10474275B2 (en) Program and information processing method
CN107930122B (en) Information processing method, device and storage medium
US20200218356A1 (en) Systems and methods for providing dynamic haptic playback for an augmented or virtual reality environments
WO2022142626A1 (en) Adaptive display method and apparatus for virtual scene, and electronic device, storage medium and computer program product
WO2018216080A1 (en) Game program, information processing device, information processing system, and game processing method
CN113842634B (en) Force feedback control method and device for trigger button, electronic product and medium
US20210205698A1 (en) Program, electronic device, and method
JP6784544B2 (en) Program and information processing method
CN112870718A (en) Prop using method and device, storage medium and computer equipment
US20170039733A1 (en) Gui display method and apparatus, and terminal device
CN105511673B (en) A kind of touch screen response method, device and game control method, device
US20190073046A1 (en) Identifying an input device
CN111603761A (en) Game paddle, awakening method and device thereof and computer readable storage medium
CN108469943A (en) It runs the triggering method and device of operation
CN113318429A (en) Control method and device for quitting game, processor and electronic device
CN110975278A (en) Method and device for simulating touch sense in game, electronic equipment and storage medium
CN113769384A (en) In-game visual field control method, device, equipment and storage medium
CN116271830B (en) Behavior control method, device, equipment and storage medium for virtual game object
WO2017193456A1 (en) Method and device for performing text manipulation operation
JP7471782B2 (en) Program, electronic device, and method
CN109388244B (en) Gravity center adjusting method and device for terminal equipment and terminal equipment
CN117742564A (en) Headset and information input method and device thereof
CN116552473A (en) Vehicle brake control method, device, storage medium, processor and electronic device
CN116774835A (en) Interaction method, device and storage medium in virtual environment based on VR handle
CN113476840A (en) Special effect processing method, device, equipment and storage medium in game

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant