Triggering stroke control method, stroke detection device, storage medium and rocker handle

By detecting the moving stroke of the trigger in the game controller and setting multiple trigger thresholds, the problem of limited number of triggers in the existing game controller is solved, and the number of action execution instructions is expanded without increasing the number of triggers. Improves the functionality and user experience of the game controller.

CN119455371APending Publication Date: 2025-02-18SHENZHEN KING CHUANG TECH & ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411530357.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The number of triggers on existing game controllers is limited, which cannot meet the increasingly rich game command needs, which has affected the user's grip experience and gaming experience.

Method used

By detecting the moving strokes of each trigger in the game controller, the trigger stroke threshold group corresponding to the trigger with the movement stroke is not zero is obtained, and the movement stroke of the trigger with multiple trigger thresholds is compared, and the multiple trigger thresholds are obtained, which is not greater than the moving stroke. The action execution command corresponding to the maximum threshold among the trigger thresholds is executed, thereby forming a control command.

Benefits of technology

Without increasing the number of triggers, the number of action execution instructions that the game controller can execute is expanded, and the functionality and user experience of the game controller is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119455371A_ABST
    Figure CN119455371A_ABST
Patent Text Reader

Abstract

The invention discloses a trigger stroke control method, a stroke detection device, a storage medium and a rocker game.The trigger stroke control method is applied to a game controller and comprises the steps that the moving stroke of each trigger piece in the game controller is detected; obtaining a trigger stroke threshold value group corresponding to the trigger piece of which the moving stroke is not zero, and comparing the moving stroke of the trigger piece with a plurality of trigger threshold values in the corresponding trigger stroke threshold value group; acquiring an action execution instruction corresponding to the maximum threshold in a plurality of trigger thresholds not greater than the moving stroke; and forming a control instruction output by the game controller to the game terminal according to the corresponding action execution instruction. According to the method and the device, the trigger threshold value is set in the moving stroke range of the trigger part, and the trigger threshold value is associated with the action execution instruction, so that the number of the action execution instructions which can be executed by the game controller under the condition that the number of the trigger parts is not increased is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of game controllers, and in particular to a trigger stroke control method, a stroke detection device, a storage medium and a joystick handle. Background Art

[0002] Peripheral devices are devices other than the host in a computer system, including input devices and output devices. Input devices are the way for users to connect to the host, and users input control commands to the host through input devices. Game controllers are an input device. Users use game controllers to send commands to the host to achieve related game operations.

[0003] In the prior art, one trigger in a game controller corresponds to one control instruction, and the number of triggers in the game controller determines the number of types of instructions that can be sent to the host. With the development of the game industry, the game content is becoming more and more abundant, and the number of types of instructions designed for games is also increasing. However, the triggers that can be set on a game controller are limited, and too many triggers will affect the user's grip and gaming experience. Summary of the invention

[0004] The present invention provides a trigger stroke control method, which is applied to a game controller and includes: Detecting the movement of each triggering member in the game controller; Acquire a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and compare the moving stroke of the trigger member with a plurality of trigger thresholds in the corresponding trigger stroke threshold group; Obtaining an action execution instruction corresponding to a maximum threshold value among multiple trigger threshold values ​​that are not greater than the moving stroke; According to the corresponding action execution instruction, a control instruction output by the game controller to the game terminal is formed.

[0005] Optionally, before detecting the movement travel of each trigger member in the game controller, the method includes: Get the setting instructions entered by the user; According to the setting instruction, a trigger stroke threshold group of the trigger member in the game controller is set accordingly, and the action execution instructions corresponding to different thresholds are adjusted.

[0006] Optionally, the game controller is a joystick handle, and the trigger member includes a button; Detect the pressing stroke of the buttons in the joystick handle, including: Detect the current position of the key; The position of the key in the natural state is taken as the initial position, and the difference between the current position and the initial position is taken as the pressing stroke of the key.

[0007] Optionally, the detecting the current position of the key includes: The force sensor determines the position of the key by detecting the pressure on the key. Alternatively, the distance between the key heat source and the temperature sensor is obtained according to the temperature value of the temperature sensor, thereby determining the position of the key; Or, determining the position of the key according to the light intensity received by the photoelectric sensor corresponding to the position of the key; Alternatively, the distance between the magnet on the key and the Hall sensor is obtained according to the induced voltage value of the Hall sensor, thereby determining the position of the key.

[0008] The present invention further provides a stroke detection device, which is applied to a game controller, wherein the game controller includes a control circuit; the stroke detection device includes: A control module and a detection module; the control module is electrically connected to the detection module; The detection module is used to detect the position information of each trigger element in the game controller and output it to the control module; The control module is used to determine the moving stroke of each trigger member according to the position information and initial position of each trigger member; The control module is also connected to the control circuit; The control module is also used to obtain a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and compare the moving stroke of the trigger member with the corresponding trigger stroke threshold group, determine a trigger stroke threshold that is smaller than and closest to the moving stroke, and output it to the control circuit, so that the game controller outputs corresponding control instructions to the game terminal according to the trigger stroke threshold.

[0009] Optionally, the trigger member is a button.

[0010] Optionally, the detection module includes a force sensor connected to the control module; the force sensor is used to detect the pressure applied to the key and output a corresponding pressure electrical signal to the control module; The control module is used to determine the pressing stroke of the key according to the pressure electrical signal and the pressure electrical signal of the key in the natural state.

[0011] Optionally, the button is provided with a magnetic member; the detection module includes a Hall sensor connected to the control module; the Hall sensor outputs a voltage signal corresponding to the button position to the control module according to the received magnetic field strength; The control module is used to obtain the pressing stroke of the key according to the voltage signal and the voltage signal of the key in the natural state.

[0012] The present invention further proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the trigger stroke control method are implemented.

[0013] The present invention also proposes a rocker handle, which includes the stroke detection device or the storage medium.

[0014] The present invention discloses a trigger stroke control method, which is applied to a game controller, and comprises: detecting the moving stroke of each trigger member in the game controller; obtaining a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and comparing the moving stroke of the trigger member with a plurality of trigger thresholds in the corresponding trigger stroke threshold group; obtaining an action execution instruction corresponding to the maximum threshold among a plurality of trigger thresholds not greater than the moving stroke; and forming a control instruction output by the game controller to a game terminal according to the corresponding action execution instruction. The present invention expands the number of action execution instructions that can be executed by the game controller without increasing the number of trigger members by setting a trigger threshold in the moving stroke range of the trigger member and associating the trigger threshold with the action execution instruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0016] Figure 1 A schematic diagram of the steps of an embodiment of a trigger stroke control method of the present invention; Figure 2 A schematic diagram of steps of another embodiment of the trigger stroke control method of the present invention; Figure 3 It is a structural schematic diagram of an embodiment of a stroke detection device of the present invention.

[0017] Description of Figure Numbers:

[0018] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0021] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0022] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0023] With the development of the game industry, game content is becoming more and more abundant, and more game content can be executed through game commands. The number of buttons on existing game controllers is limited; increasing the number of buttons on game controllers will increase the size of the game controllers, affecting the user's holding experience; in addition, the increase in the number of buttons puts higher requirements on the layout of game controllers. In order to solve the problem that existing game controllers cannot realize more and more abundant game commands, The present invention provides a trigger stroke control method, which is applied to a game controller and includes: Step S10, detecting the movement travel of each trigger member in the game controller; It should be noted that the game controller includes a handle, a joystick, a steering wheel or a light gun, etc. The trigger is used to generate a corresponding electrical signal when triggered by the user, and the electrical signal reflects the user's intention. The trigger includes: Button-type triggering components; the button-type triggering components include ordinary buttons, shoulder buttons, and trigger buttons.

[0024] A rocker-type trigger component; the rocker-type trigger component includes an analog rocker and a digital rocker.

[0025] Touch trigger; Inductive triggering element; the inductive triggering element includes a gravity inductive triggering element and a light inductive triggering element.

[0026] It is easy to understand that the user generates a movement stroke by controlling the trigger to transmit the control instruction to the host. Detecting the movement stroke of each trigger in the game controller can identify the trigger triggered by the user and further obtain the user's intention. Taking the position of the trigger in the natural state as the initial position, by detecting the current position of the trigger and comparing it with the corresponding initial position, the triggered movement stroke can be obtained. It should be noted that there are differences in the movement strokes of different types of triggers. The movement stroke of a trigger with only a single movement direction has only positive values, with the movement direction as the positive direction; for example: a button-type trigger. The movement stroke of a trigger with two or more movement directions has positive and negative values; one of the directions can be set as the positive direction to divide the positive and negative directions; for example: a rocker-type trigger and an induction-type trigger. After obtaining the current position of the trigger, the movement stroke of the trigger is determined according to the current position and the initial position of the trigger.

[0027] The following uses a joystick handle and a button as an example for description. In one example of the present invention, the game controller is a joystick handle, and the trigger member includes a button.

[0028] Correspondingly, step S10, detecting the movement travel of each trigger member in the game controller; in this example, it is converted into detecting the pressing travel of the button in the joystick handle. Detecting the pressing travel of the button in the joystick handle includes: Step S110, detecting the current position of the key; Step S120: Taking the position of the key in the natural state as the initial position, determining the pressing stroke of the key according to the difference between the current position and the initial position.

[0029] Because the key travels in only one direction, this direction is taken as the positive direction by default. It is easy to understand that the structure and trigger principle of the trigger member are different, and correspondingly, the method of detecting the current position of the key is also different.

[0030] Detect the current position of the key, including: The force sensor determines the position of the key by detecting the pressure on the key. Alternatively, the distance between the key heat source and the temperature sensor is obtained according to the temperature value of the temperature sensor, thereby determining the position of the key; Or, determining the position of the key according to the light intensity received by the photoelectric sensor corresponding to the position of the key; Alternatively, the distance between the magnet on the key and the Hall sensor is obtained according to the induced voltage value of the Hall sensor, thereby determining the position of the key.

[0031] In this example, four methods of detecting the key position are proposed above, using a force sensor, a temperature sensor, a photoelectric sensor, and a Hall sensor to detect the key position respectively.

[0032] During the use of the buttons, the user presses the buttons to cause them to move; the user applies pressure on the buttons, and a force sensor that matches the buttons can be set in the joystick handle; since there is a positive correlation between the pressure applied by the user and the pressing stroke of the buttons, the pressure of the force sensor can be set to zero when the buttons are in a natural state, thereby establishing a correspondence between the user's pressing pressure and the button position; the position of the buttons is determined by detecting the pressure on the buttons through the force sensor.

[0033] It is easy to understand that the user's body has body temperature and emits thermal radiation all the time; after the user touches the button, the button heats up under the action of the user's body temperature and then emits thermal radiation. A temperature sensor can be set in the joystick handle; the temperature sensor can be an infrared temperature sensor or a thermopile temperature sensor. Since the normal temperature of the human body is 36℃-37℃, the thermal radiation received by the temperature sensor is directly negatively correlated with the distance between the buttons; the corresponding relationship between the temperature value of the temperature sensor and the button distance can be obtained through experiments, and then the distance between the button heat source and the temperature sensor can be obtained according to the temperature sensor, and then the position of the button can be obtained in combination with the setting position of the temperature sensor.

[0034] The present invention also proposes to determine the position of the key according to the light intensity received by the photoelectric sensor corresponding to the key position. A prism, a light emitting part and a light receiving part can be set in the joystick handle; wherein the prism is set in connection with the key, and its own position changes with the pressing stroke of the key. The light reflected by the light emitting part reaches the light receiving part through the prism; it should be noted that as the pressing stroke of the key changes, the components of the light input prism are different, resulting in a change in the intensity of the light emitted to the light receiving part; thereby changing the light intensity received by the photoelectric sensor in the light receiving part. The corresponding relationship between the key position and the light intensity received by the photoelectric sensor can be obtained through experimental measurement, and then the position of the key can be obtained according to the actual received light intensity.

[0035] In addition, a magnet can be set on the button and a Hall sensor can be set in the joystick handle; when the button is pressed, the button drives the magnet to move, causing the voltage value output by the Hall sensor to change. Among them, the induced voltage value of the Hall sensor depends on the distance between the button (magnet) and the Hall sensor. The distance between the magnet on the button and the Hall sensor can be obtained based on the induced voltage value of the Hall sensor, and then the position of the button can be determined in combination with the position of the Hall sensor.

[0036] Step S20, obtaining a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and comparing the moving stroke of the trigger member with a plurality of trigger thresholds in the corresponding trigger stroke threshold group; It should be noted that the present invention combines the movement range of the trigger member with the operation instructions in the game, and uses the same trigger member to implement multiple operations in the game; for example: two trigger thresholds are set in the movement range of the joystick, and when the joystick is triggered to meet the first trigger threshold, the game character moves at a normal speed; when the joystick is triggered to meet the second trigger threshold, the game character sprints. It is easy to understand that the number of trigger thresholds and the action execution instructions corresponding to each trigger threshold are determined by R&D personnel and / or users. The present invention sets multiple trigger thresholds in the movement range of the trigger member, corresponds the trigger thresholds to the action execution instructions, and thereby sends a variety of action execution instructions to the host under the condition of a limited number of trigger members.

[0037] In particular, the user can independently set the trigger travel threshold of each trigger component and the corresponding action execution instruction.

[0038] Before the step of detecting the movement travel of each trigger member in the game controller, it includes: Step S50: obtaining a setting instruction input by a user; Step S60: setting a trigger stroke threshold group of the trigger member in the game controller according to the setting instruction, and adjusting the action execution instructions corresponding to different thresholds.

[0039] It is easy to understand that the game controller pre-stores the initial trigger travel threshold group and the corresponding action instructions, but the user may not be accustomed to the above initial trigger threshold group and action instructions. At this time, the user may input the setting instruction through the software application interface to adjust the trigger travel threshold group and the corresponding action execution instruction; specifically, the number of trigger thresholds in the trigger travel threshold group of the trigger member can be increased or decreased, and the action execution instruction corresponding to the trigger threshold can be modified. It should be noted that the operating habits of different game users may be different; the game name can be automatically recorded, and the trigger travel threshold group and the corresponding action execution instruction set by the user in the game can be stored.

[0040] Step S30, obtaining an action execution instruction corresponding to the maximum threshold value among multiple trigger threshold values ​​that are not greater than the moving stroke; It can be understood that the movement stroke of the trigger is an analog quantity, and the trigger has a movement stroke range, which is determined by the physical structure of the trigger; the trigger threshold is just a point in the movement stroke range. By comparing the movement stroke of the trigger with the trigger threshold in the corresponding trigger stroke threshold group, one or more trigger thresholds smaller than the movement stroke can be obtained, and the largest trigger threshold is used as the trigger threshold corresponding to the trigger this time; and the action execution instruction corresponding to the trigger threshold is obtained.

[0041] Step S40: forming a control instruction output by the game controller to the game terminal according to the corresponding action execution instruction.

[0042] It should be noted that the game controller has multiple trigger members, and may have all kinds of trigger members at the same time; in the above content, the present invention uses the movement range of a single trigger member to correspond to multiple action execution instructions. In addition, multiple trigger members in the game controller can be matched with each other to form new action execution instructions.

[0043] Action execution instructions can be set to form a new combination of action execution instructions; for example: the user controls the joystick to the right and presses the attack button at the same time, and the action character releases the skill to the right; among them, the movement range of the joystick determines the coverage range of the skill, and the pressing range of the attack button determines the release damage of the skill and the consumed energy value or blue bar value.

[0044] After obtaining the action execution instructions of each triggered trigger component, whether the multiple action execution instructions obtained are combined to form a new action execution instruction; if possible, the new action execution instruction is used as the final action execution instruction output to the game terminal (host); if not, a control instruction is formed according to the action execution instruction of the triggered trigger component.

[0045] It should be noted that the control instructions output by the game controller to the game terminal include not only action execution instructions, but may also include menu wake-up instructions or pause instructions.

[0046] The present invention discloses a trigger stroke control method, which is applied to a game controller, and comprises: detecting the moving stroke of each trigger member in the game controller; obtaining a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and comparing the moving stroke of the trigger member with a plurality of trigger thresholds in the corresponding trigger stroke threshold group; obtaining an action execution instruction corresponding to the maximum threshold among a plurality of trigger thresholds not greater than the moving stroke; and forming a control instruction output by the game controller to a game terminal according to the corresponding action execution instruction. The present invention expands the number of action execution instructions that can be executed by the game controller without increasing the number of trigger members by setting a trigger threshold in the moving stroke range of the trigger member and associating the trigger threshold with the action execution instruction.

[0047] The present invention further proposes a stroke detection device 110, which is applied to a game controller 10, and the game controller 10 includes a control circuit 120; the stroke detection device 110 includes: A control module 1110 and a detection module 1120; the control module 1110 is electrically connected to the detection module 1120; The detection module 1120 is used to detect the position information of each trigger member 1130 in the game controller 10 and output it to the control module 1110; The control module 1110 is used to determine the moving stroke of each trigger member 1130 according to the position information and the initial position of each trigger member 1130; The control module 1110 is also connected to the control circuit 120; The control module 1110 is also used to obtain the trigger stroke threshold group corresponding to the trigger member 1130 whose moving stroke is not zero, and compare the moving stroke of the trigger member 1130 with the corresponding trigger stroke threshold group, determine the trigger stroke threshold that is less than and closest to the moving stroke, and output it to the control circuit 120, so that the game controller 10 outputs the corresponding control instruction to the game terminal according to the trigger stroke threshold.

[0048] The control module 1110 and the control circuit 120 may include controllers such as MCU, SOC or FPGA. The detection module 1120 detects the position information of each trigger member 1130 in the game controller 10. As described in the above example, the detection module 1120 can use a force sensor, a temperature sensor, a photoelectric sensor or a Hall sensor to measure the position of the trigger member 1130. The control module 1110 stores the initial position information of each trigger member 1130. After obtaining the position information of each trigger member 1130 output by the detection module 1120, the movement stroke of each trigger member 1130 is determined. It is easy to understand that in order to meet the user's special game needs, the user can set the initial position of the trigger member 1130 independently, thereby changing the movement stroke of the trigger member 1130 obtained by the control module 1110 when the trigger member 1130 is in a natural state. For example: when the user needs to run a map and needs to keep moving forward, the prior art requires the user to directly press the forward button or push the joystick forward. This solution allows the user to independently set the initial position of the joystick or button, so that the position of the joystick or button in the natural state has a set difference compared to the initial state set by the user. The set difference is processed by the control module 1110 according to the moving stroke, so that when the joystick or button is in the natural state, the control module 1110 will send a trigger stroke threshold value that is less than and closest to the moving stroke to the control circuit 120. The game controller 10 outputs a control instruction to the game terminal according to the trigger stroke threshold value, so that the action figure moves at the moving speed corresponding to the trigger stroke threshold value; at this time, the joystick or button is in the natural state, and the user does not need to operate. The game terminal can be a game console, a personal computer, a mobile phone or a tablet, etc.

[0049] The trigger member 1130 is a button. In one embodiment of the present invention, the detection module 1120 includes a force sensor connected to the control module 1110; the force sensor is used to detect the pressure applied on the button and output a corresponding pressure electrical signal to the control module 1110; The control module 1110 is used to determine the pressing stroke of the key according to the pressure electrical signal and the pressure electrical signal of the key in the natural state. The force sensor may include: a resistive strain force sensor, a capacitive force sensor, an inductive force sensor, a piezoelectric force sensor or a piezoresistive force sensor. The pressure electrical signal of the key in the natural state is determined in advance by the R&D personnel and stored in the memory of the stroke detection device 110.

[0050] In another embodiment of the present invention, the button is provided with a magnetic member; the detection module 1120 includes a Hall sensor connected to the control module 1110; the Hall sensor outputs a voltage signal corresponding to the button position to the control module 1110 according to the received magnetic field strength; The control module 1110 is used to obtain the pressing stroke of the key according to the voltage signal and the voltage signal of the key in the natural state. The voltage signal of the key in the natural state is determined in advance by the R&D personnel and stored in the memory of the stroke detection device 110. The magnetic member is a material that can have magnetism, such as a magnet.

[0051] The present invention provides a storage medium, which is a computer-readable storage medium, and stores a computer program on the storage medium. When the computer program is executed by a processor, the steps of the trigger stroke control method are implemented. The storage medium may include a magnetic storage medium, an optical storage medium, and a flash storage medium. For example: RAM, ROM, and FLASH.

[0052] The present invention further provides a joystick handle, which includes the stroke detection device 110 or the storage medium.

[0053] The specific method of the trigger stroke control method refers to the above embodiment. Since the stroke detection device 110 and the rocker handle adopt all the technical solutions of all the above embodiments, they at least have all the beneficial effects brought by the technical solutions of the above embodiments, which will not be repeated here. The above is only an optional embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A trigger stroke control method, characterized in that: The trigger stroke control method is applied to a game controller, and the trigger stroke control method comprises: Detecting the movement of each triggering member in the game controller; Acquire a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and compare the moving stroke of the trigger member with a plurality of trigger thresholds in the corresponding trigger stroke threshold group; Obtaining an action execution instruction corresponding to a maximum threshold value among multiple trigger threshold values ​​that are not greater than the moving stroke; According to the corresponding action execution instruction, a control instruction output by the game controller to the game terminal is formed.

2. The trigger stroke control method according to claim 1, characterized in that: Before detecting the movement travel of each trigger member in the game controller, the method includes: Get the setting instructions entered by the user; According to the setting instruction, a trigger stroke threshold group of the trigger member in the game controller is set accordingly, and the action execution instructions corresponding to different thresholds are adjusted.

3. The trigger stroke control method according to claim 1 or claim 2, characterized in that: The game controller is a joystick handle, and the trigger member includes a button; Detect the pressing stroke of the buttons in the joystick handle, including: Detect the current position of the key; The position of the key in the natural state is taken as the initial position, and the pressing stroke of the key is determined according to the difference between the current position and the initial position.

4. The trigger stroke control method according to claim 3, characterized in that: The detecting the current position of the key comprises: The force sensor determines the position of the key by detecting the pressure on the key. Alternatively, the distance between the key heat source and the temperature sensor is obtained according to the temperature value of the temperature sensor, thereby determining the position of the key; Or, determining the position of the key according to the light intensity received by the photoelectric sensor corresponding to the position of the key; Alternatively, the distance between the magnet on the key and the Hall sensor is obtained according to the induced voltage value of the Hall sensor, thereby determining the position of the key.

5. A stroke detection device, characterized in that: The stroke detection device is applied to a game controller, and the game controller includes a control circuit; the stroke detection device includes: A control module and a detection module; the control module is electrically connected to the detection module; The detection module is used to detect the position information of each trigger element in the game controller and output it to the control module; The control module is used to determine the moving stroke of each trigger member according to the position information and initial position of each trigger member; The control module is also connected to the control circuit; The control module is also used to obtain a trigger stroke threshold group corresponding to a trigger member whose moving stroke is not zero, and compare the moving stroke of the trigger member with the corresponding trigger stroke threshold group, determine a trigger stroke threshold that is smaller than and closest to the moving stroke, and output it to the control circuit, so that the game controller outputs corresponding control instructions to the game terminal according to the trigger stroke threshold.

6. The stroke detection device according to claim 5, characterized in that: The triggering member is a button.

7. The stroke detection device according to claim 6, characterized in that: The detection module includes a force sensor connected to the control module; the force sensor is used to detect the pressure applied on the key and output a corresponding pressure electrical signal to the control module; The control module is used to determine the pressing stroke of the key according to the pressure electrical signal and the pressure electrical signal of the key in the natural state.

8. The stroke detection device according to claim 7, characterized in that: The button is provided with a magnetic member; the detection module includes a Hall sensor connected to the control module; the Hall sensor outputs a voltage signal corresponding to the button position to the control module according to the received magnetic field strength; The control module is used to obtain the pressing stroke of the key according to the voltage signal and the voltage signal of the key in the natural state.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the trigger stroke control method according to any one of claims 1 to 4 are implemented.

10. A rocker handle, characterized in that: The joystick handle includes the stroke detection device as described in any one of claims 5 to 8, or the storage medium as described in claim 9.