Key trigger setting method and device, rocker handle, storage medium and computer program product

By setting key effect configuration commands and triggering trip intervals in the joystick handle, the problem of insufficient number of keys is solved, and the triggering of multiple effects is achieved, improving user experience and saving resources.

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

Patent Information

Application Number
CN202411558721.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

When existing rocker handles handles operable actions of multiple virtual objects, insufficient number of keys leads to poor user experience, and increasing the number of keys will affect grip comfort and functional module design space.

Method used

By obtaining the key effect configuration command and the key triggering stroke interval when entering the key setting mode, the triggering effect of the target key is set based on these configurations, so that the same key can trigger multiple effects.

Benefits of technology

It realizes the effect of triggering more buttons with fewer buttons, reduces the number of keys on the joystick handle, saves costs and space, and facilitates the addition of other functional modules in the future.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119524383A_ABST
    Figure CN119524383A_ABST
Patent Text Reader

Abstract

The invention provides a key trigger setting method and device, a rocker handle, a storage medium and a computer program product, and relates to the technical field of electronic equipment.The key trigger setting method comprises the steps that when a key setting mode is entered, a key effect configuration instruction and a key trigger stroke interval are obtained respectively; and based on the key effect configuration instruction and the key triggering stroke interval, setting a key triggering effect of a target key. When the key setting mode is entered, the acquired key effect configuration instruction and the key triggering stroke interval are configured in a one-to-one correspondence manner, so that when the key is pressed to the corresponding key triggering stroke interval, the corresponding key triggering effect can be generated, the function of the same key is more diversified, and the user experience is improved. The requirement for setting the number of keys on the rocker handle can be reduced, so that cost and space are saved, and function modules with other functions can be conveniently and subsequently added in the rocker handle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a key trigger setting method, device, joystick handle, storage medium and computer program product. Background Art

[0002] In the prior art, the joystick handle is a common virtual reality interaction device, and users can control the virtual objects in the game by operating the buttons on the joystick handle. At present, due to the increasing demands of game players, the demand for the number of operable actions of virtual objects is also gradually increasing. Generally speaking, the number of operable actions of virtual objects is limited by the actual number of buttons on the handle. If the number of operable actions of virtual objects in a game is set too much, the number of buttons may not meet the actual demand; if the number of buttons is directly increased, the space area for users to hold the handle will be greatly reduced, affecting the comfort of users holding the handle, and the gaming experience will be poor. In addition, it will reduce the design space of other functional modules of the handle, which is not conducive to subsequent technology iterations and function additions. Summary of the invention

[0003] The main purpose of the present application is to provide a key trigger setting method, device, joystick handle, storage medium and computer program product, aiming to solve the technical problem of how to enable users to trigger more key effects with fewer keys.

[0004] To achieve the above object, the present application provides a key trigger setting method, the steps of the key trigger setting method comprising:

[0005] When entering the button setting mode, obtain the button effect configuration instructions and the button trigger travel range respectively;

[0006] Based on the key effect configuration instruction and the key trigger travel interval, the key trigger effect of the target key is set.

[0007] In one embodiment, when entering the button setting mode, the steps of respectively obtaining the button effect configuration instruction and the button trigger travel interval include:

[0008] When entering the button setting mode, obtaining the button setting mode triggered by the user;

[0009] Based on the button setting mode, selecting any one of the first button configuration data transmitted by an external device or the second button configuration data generated internally to generate the button effect configuration instruction;

[0010] Based on the button setting mode, any one of the first stroke trigger data transmitted by the external device or the second stroke trigger data generated internally is selected to generate the button trigger stroke interval.

[0011] In one embodiment, the step of selecting any one of the first button configuration data transmitted by an external device or the second button configuration data generated internally to generate the button effect configuration instruction based on the button setting mode includes:

[0012] When the button setting mode is the external input setting mode, generating the button effect configuration instruction based on the first button configuration data;

[0013] Or, when the button setting mode is the internal input setting mode, the button effect configuration instruction is generated based on the second button configuration data generated by the user triggering the remaining buttons on the joystick handle.

[0014] In one embodiment, the step of selecting any one of the first stroke trigger data transmitted by the external device or the second stroke trigger data generated internally to generate the key trigger stroke interval based on the key setting mode includes:

[0015] When the button setting mode is the external input setting mode, the preset travel interval corresponding to the first travel trigger data is used as the button trigger travel interval;

[0016] Or, when the button setting mode is the internal input setting mode, the second stroke trigger data generated by the user pressing the target button is obtained based on the stroke sensor built into the joystick handle, and the preset stroke interval corresponding to the second stroke trigger data is used as the button trigger stroke interval.

[0017] In one embodiment, when the button setting mode is the internal input setting mode, before the step of obtaining a preset travel interval corresponding to the current actual button travel of the target button pressed by the user based on the travel sensor built into the joystick handle and using the preset travel interval as the button trigger travel interval, the step further includes:

[0018] The preset travel interval is adjusted based on the travel interval configuration data generated by the user triggering the remaining buttons on the joystick handle.

[0019] In one embodiment, after the step of setting the key trigger effect of the target key based on the key effect configuration instruction and the key trigger travel interval, the method further includes:

[0020] Based on the configuration completion instruction triggered by the user, exit the button setting mode and enter the button use mode;

[0021] When entering the key use mode, detecting the real-time key stroke corresponding to the target key;

[0022] When the target button is in the button trigger travel interval, the button trigger effect set for the target button in the corresponding button trigger travel interval is triggered.

[0023] In addition, to achieve the above-mentioned purpose, the present application also provides a key trigger setting device, the key trigger setting device comprising:

[0024] The button parameter acquisition module is used to obtain the button effect configuration instructions and the button trigger travel range when entering the button setting mode;

[0025] The button parameter setting module is used to set the button trigger effect of the target button based on the button effect configuration instruction and the button trigger travel interval.

[0026] In addition, to achieve the above-mentioned purpose, the present application also provides a joystick handle, which includes: a memory, a processor, and a key trigger setting program stored in the memory and executable on the processor, wherein the key trigger setting program is configured to implement the steps of the key trigger setting method described above.

[0027] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and a key trigger setting program is stored on the computer-readable storage medium. When the key trigger setting program is executed by the processor, the steps of the key trigger setting method described above are implemented.

[0028] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the key trigger setting method described above are implemented.

[0029] The present application provides a key trigger setting method, device, joystick handle, storage medium and computer program product, wherein the key trigger setting method comprises the following steps: when entering the key setting mode, respectively obtaining the key effect configuration instruction and the key trigger travel interval; and setting the key trigger effect of the target key based on the key effect configuration instruction and the key trigger travel interval. When entering the key setting mode, the obtained key effect configuration instruction and the key trigger travel interval are configured one by one, so that when the key is pressed to the corresponding key trigger travel interval, the corresponding key trigger effect can be generated, thereby realizing more diversified functions of the same key, reducing the number of buttons on the joystick handle, saving costs and space, and facilitating the subsequent addition of functional modules with other functions in the joystick handle. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0031] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0032] Figure 1 A flowchart of the first embodiment of the method for setting a key trigger of the present application is provided;

[0033] Figure 2 A flowchart of the second embodiment of the method for setting a key trigger of the present application is provided;

[0034] Figure 3 A flowchart of the third embodiment of the method for setting a key trigger of the present application is provided;

[0035] Figure 4 This is a schematic diagram of the module structure of the key trigger setting device according to an embodiment of the present application;

[0036] Figure 5 This is a schematic diagram of the structure of the joystick handle of an embodiment of the present application.

[0037] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0038] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0039] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0040] This application proposes a key trigger setting method of the first embodiment, please refer to Figure 1 , the key trigger setting method includes steps S10-S20:

[0041] Step S10, when entering the button setting mode, respectively obtaining the button effect configuration instruction and the button trigger travel interval;

[0042] Step S20: Setting the key trigger effect of the target key based on the key effect configuration instruction and the key trigger travel interval.

[0043] It should be noted that the button trigger setting method proposed in this application can be mainly applied to a joystick handle, and the execution subject of the button trigger device method can be a button trigger setting device in the joystick handle. In this embodiment, the execution subject can have multiple working modes, such as button use mode and button setting mode. When in the button setting mode, any button on the joystick handle can be selected as the target button. At this time, the original function of the selected target button is temporarily invalid, and the corresponding button effect configuration instruction and button trigger travel interval can be generated inside the handle or received from the outside.

[0044] It should be noted that the key effect configuration instruction refers to an instruction that can trigger a program corresponding to a certain effect when executed, and it can be configured on any key. For example, the key effect configuration instruction corresponding to "control the virtual object to hit hard" can be configured on the "A button", and then when the "A button" is triggered, the program of "controlling the virtual object to hit hard" can be executed. The key trigger travel interval refers to a travel interval range. For example, when the key effect configuration instruction corresponding to "control the virtual object to hit hard" is configured on the "A button", the corresponding "key trigger travel interval" is configured to 0.5~0.6mm. When the "A button" is pressed by the user and its travel changes to 0.5~0.6mm, it can be determined that the program of "controlling the virtual object to hit hard" configured on the "A button" is triggered and executed.

[0045] It is easy to understand that in this embodiment, when in the button setting mode, a mapping relationship can be established between the obtained selected button effect configuration instructions, the button trigger travel interval, and the target button, so that when the target button is pressed by the user to the corresponding button trigger travel interval, the program corresponding to the button effect configuration instruction is executed. Since the total stroke of the same target button can be set to multiple button trigger travel intervals at will, multiple groups of button effect configuration instructions and button trigger travel intervals can be configured in the target button, so that the target button can produce different button trigger effects in different travel intervals. When there are too many operable actions of the virtual object, multiple operable actions can be set to the same target button. The user can trigger different button effects by changing the stroke of pressing the target button. There is no need to increase the number of buttons, which saves costs, reduces the size of the joystick buttons, and facilitates the subsequent addition of new functional modules and technical iterations.

[0046] The present application provides a key trigger setting method, the steps of which include: when entering a key setting mode, respectively obtaining a key effect configuration instruction and a key trigger travel interval; and setting the key trigger effect of a target key based on the key effect configuration instruction and the key trigger travel interval. When entering the key setting mode, the obtained key effect configuration instruction and the key trigger travel interval are configured one by one, so that when the key is pressed to the corresponding key trigger travel interval, a corresponding key trigger effect can be generated, thereby achieving more diversified functions of the same key, reducing the number of buttons on the joystick handle, saving cost and space, and facilitating the subsequent addition of functional modules with other functions in the joystick handle.

[0047] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , when entering the button setting mode, the steps of respectively obtaining the button effect configuration instruction and the button trigger travel interval include:

[0048] Step S11, when entering the button setting mode, obtaining the button setting mode triggered by the user;

[0049] It should be noted that, in this embodiment, the key setting mode can be entered through a special operation or special key triggered by the user, and the corresponding key setting mode can be selected through another special operation or special key triggered by the user.

[0050] Step S12, based on the button setting mode, selecting any one of the first button configuration data transmitted by the external device or the second button configuration data generated internally to generate the button effect configuration instruction;

[0051] Step S13, based on the button setting mode, selecting any one of the first stroke trigger data transmitted by the external device or the second stroke trigger data generated internally to generate the button trigger stroke interval.

[0052] It is easy to understand that the execution subject can also be connected to an external device and exchange information with the external device. In this embodiment, the currently selected button setting method can be used to select to obtain the first button configuration data from the external device, or to select to obtain the second button configuration data generated internally, so that the corresponding button effect configuration instruction can be obtained according to the corresponding one of the first button configuration data or the second button configuration data obtained. Among them, the first button configuration data can be generated by an external device and transmitted to the execution subject. For example, the external device is a computer, which can generate the first button configuration data according to the user's operation and transmit the first button configuration data to the execution subject by communication; the second button configuration data can be directly generated by the execution subject, for example, the execution subject is the core controller inside the joystick handle, and the controller can identify the user's operation (for example, the user presses a specific button) to directly generate the second button configuration data. The first button configuration data and the second button configuration data both contain the corresponding program executed when the button is triggered, and the specific button configuration data used to configure the target button can be selected through the button setting method selected by the user.

[0053] Further, in this embodiment, the step of selecting any one of the first button configuration data transmitted by an external device or the second button configuration data generated internally to generate the button effect configuration instruction based on the button setting mode includes:

[0054] Step S121, when the button setting mode is the external input setting mode, generating the button effect configuration instruction based on the first button configuration data;

[0055] Step S122, or, when the button setting mode is the internal input setting mode, the button effect configuration instruction is generated based on the second button configuration data generated by the user triggering the remaining buttons on the joystick handle.

[0056] It is easy to understand that in this embodiment, if the execution subject recognizes that the user triggers a specific operation and selects the current button setting mode as the external input setting mode, the first button configuration data is selected as valid, and a corresponding button effect configuration instruction containing the first button configuration data is generated; if the execution subject recognizes that the user triggers another specific operation and selects the current button setting mode as the internal input setting mode, the second button configuration data is selected as valid, and a corresponding button effect configuration instruction containing the second button configuration data is generated. Among them, the button effect configuration instruction refers to a control instruction for configuring the trigger effect generated when the target button is triggered under specific circumstances.

[0057] Further, in this embodiment, the step of selecting any one of the first stroke trigger data transmitted by the external device or the second stroke trigger data generated internally to generate the key trigger stroke interval based on the key setting mode includes:

[0058] Step S131, when the button setting mode is the external input setting mode, using the preset travel interval corresponding to the first travel trigger data as the button trigger travel interval;

[0059] Step S132, or, when the button setting mode is the internal input setting mode, the second stroke trigger data generated by the user pressing the target button is obtained based on the stroke sensor built into the joystick handle, and the preset stroke interval corresponding to the second stroke trigger data is used as the button trigger stroke interval.

[0060] It is easy to understand that in this embodiment, if the execution subject recognizes that the user triggers a specific operation and selects the current key setting mode as the external input setting mode, the first stroke trigger data is selected as valid, and the corresponding key trigger stroke interval containing the first stroke trigger data is generated; if the execution subject recognizes that the user triggers another specific operation and selects the current key setting mode as the internal input setting mode, the second stroke trigger data is selected as valid, and the corresponding key trigger stroke interval containing the second stroke trigger data is generated. Among them, the key trigger stroke interval refers to a control instruction for configuring the corresponding stroke range that needs to be pressed when the target key needs to trigger a certain trigger effect.

[0061] It is worth noting that in the present embodiment, when the button setting mode is selected as the internal input setting mode, the user can press the target button within a specified period of time to keep the actual stroke of the target button within a preset stroke range that meets the user's physical requirements. At this time, the executing entity can obtain the actual stroke of the current target button and the second stroke trigger data corresponding to its fluctuation range (preset stroke range) through the stroke sensor inside the joystick handle, and use the corresponding preset stroke range as the current button trigger stroke range according to the second stroke trigger data.

[0062] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the above-mentioned first and second embodiments can refer to the above introduction, and will not be repeated later. Figure 3 , when the button setting mode is the internal input setting mode, before the step of obtaining a preset travel interval corresponding to the current actual button travel of the target button pressed by the user based on the travel sensor built into the joystick handle, and using the preset travel interval as the button trigger travel interval, it also includes:

[0063] Step S1301, adjusting the preset travel interval based on the travel interval configuration data generated by the user triggering the remaining buttons on the joystick handle.

[0064] It should be noted that in this embodiment, when the key-triggered travel interval is obtained by the user manually pressing a key, it is difficult to determine the specific size of the key-triggered travel interval. At this time, the size of the preset travel interval can be adjusted through the travel interval configuration data triggered by the remaining keys on the joystick handle. For example, when the travel fluctuation of the user pressing the target key is 0.44-0.46mm, the middle value of 0.45mm can be taken as the specific travel that the current user wants to maintain. At this time, the preset travel interval can be adjusted to 0.45±0.05mm through the travel interval configuration data triggered by the remaining keys.

[0065] Furthermore, in this embodiment, after the step of setting the key trigger effect of the target key based on the key effect configuration instruction and the key trigger travel interval, the method further includes:

[0066] Step S31, based on the configuration completion instruction triggered by the user, exit the button setting mode and enter the button use mode;

[0067] Step S32, when entering the key use mode, detecting the real-time key stroke corresponding to the target key;

[0068] Step S33, when the target button is in the button trigger travel interval, triggering the button trigger effect set for the target button in the corresponding button trigger travel interval.

[0069] It should be noted that, in this embodiment, after the user completes the button configuration, a corresponding configuration completion instruction can be generated through a special operation (such as triggering a specific button), so that the execution subject exits the button setting mode and enters the button use mode. When the execution subject enters the button use mode, the button trigger travel interval, button trigger effect and target button configured in the button configuration mode are bound one by one. The execution subject can detect the current real-time button travel corresponding to the target button in real time through the travel sensor. When it is detected that the real-time button travel of the target button changes to a certain set button trigger travel interval, the button trigger effect bound to the current button trigger travel interval will be triggered.

[0070] It is worth noting that since the same target button can be set with multiple button trigger travel intervals and multiple button trigger effects, the user can trigger a variety of different button effects by changing the actual button travel corresponding to when the current target button is pressed.

[0071] The present application also provides a key trigger setting device, please refer to Figure 4 , the button trigger setting device comprises:

[0072] The button parameter acquisition module 10 is used to respectively acquire the button effect configuration instruction and the button trigger travel interval when entering the button setting mode;

[0073] The button parameter setting module 20 is used to set the button trigger effect of the target button based on the button effect configuration instruction and the button trigger travel interval.

[0074] The key trigger setting device provided in the embodiment of the present application adopts the key trigger setting method in the above embodiment, which can solve the technical problem of how to enable users to trigger more key effects with fewer keys. Compared with the prior art, the beneficial effects of the key trigger setting device provided in the embodiment of the present application are the same as the beneficial effects of the key trigger setting method provided in the above embodiment, and other technical features in the key trigger setting device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0075] The present application provides a joystick handle, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the key trigger setting method in the above-mentioned embodiment one.

[0076] Reference below Figure 5 , which shows a schematic structural diagram of a joystick handle suitable for implementing an embodiment of the present application. Figure 5 The joystick handle shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0077] like Figure 5As shown, the joystick handle may include a processing device 1001 (e.g., a central processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for joystick handle operation are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the joystick handle to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a joystick handle with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.

[0078] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0079] The joystick handle provided by the present application adopts the key trigger setting method in the above embodiment, which can solve the technical problem of how to enable users to trigger more key effects with fewer keys. Compared with the prior art, the beneficial effects of the joystick handle provided by the present application are the same as the beneficial effects of the key trigger setting method provided by the above embodiment, and the other technical features in the joystick handle are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0080] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0081] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0082] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the key trigger setting method in the above-mentioned embodiment.

[0083] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0084] The computer-readable storage medium may be included in the joystick handle; or may exist independently without being assembled into the joystick handle.

[0085] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the joystick handle, the joystick handle: when entering the key setting mode, obtains the key effect configuration instruction and the key trigger travel interval respectively; based on the key effect configuration instruction and the key trigger travel interval, sets the key trigger effect of the target key.

[0086] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0087] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0088] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0089] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned key trigger setting method, and can solve the technical problem of how to enable users to trigger more key effects with fewer keys. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the key trigger setting method provided by the above-mentioned embodiment, and will not be repeated here.

[0090] The present application also provides a computer program product, including a computer program, which implements the steps of the key trigger setting method as described above when executed by a processor.

[0091] The computer program product provided by the present application can solve the technical problem of how to enable users to trigger more key effects with fewer keys. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the key trigger setting method provided by the above embodiment, which will not be repeated here.

[0092] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A key trigger setting method, characterized in that: Applied to a joystick handle, the button trigger setting method comprises the following steps: When entering the button setting mode, obtain the button effect configuration instructions and the button trigger travel range respectively; Based on the key effect configuration instruction and the key trigger travel interval, the key trigger effect of the target key is set.

2. The key trigger setting method according to claim 1, characterized in that: When entering the button setting mode, the steps of respectively obtaining the button effect configuration instruction and the button trigger travel interval include: When entering the button setting mode, obtaining the button setting mode triggered by the user; Based on the button setting mode, selecting any one of the first button configuration data transmitted by an external device or the second button configuration data generated internally to generate the button effect configuration instruction; Based on the button setting mode, any one of the first stroke trigger data transmitted by the external device or the second stroke trigger data generated internally is selected to generate the button trigger stroke interval.

3. The key trigger setting method according to claim 2, characterized in that: The step of selecting any one of the first button configuration data transmitted by an external device or the second button configuration data generated internally to generate the button effect configuration instruction based on the button setting mode includes: When the button setting mode is the external input setting mode, generating the button effect configuration instruction based on the first button configuration data; Or, when the button setting mode is the internal input setting mode, the button effect configuration instruction is generated based on the second button configuration data generated by the user triggering the remaining buttons on the joystick handle.

4. The key trigger setting method according to claim 2, characterized in that: The step of selecting any one of the first stroke trigger data transmitted by the external device or the second stroke trigger data generated internally to generate the key trigger stroke interval based on the key setting mode includes: When the button setting mode is the external input setting mode, the preset travel interval corresponding to the first travel trigger data is used as the button trigger travel interval; Or, when the button setting mode is the internal input setting mode, the second stroke trigger data generated by the user pressing the target button is obtained based on the stroke sensor built into the joystick handle, and the preset stroke interval corresponding to the second stroke trigger data is used as the button trigger stroke interval.

5. The key trigger setting method according to claim 4, characterized in that: When the button setting mode is the internal input setting mode, before the step of obtaining a preset travel interval corresponding to the current actual button travel of the target button pressed by the user based on the travel sensor built into the joystick handle and using the preset travel interval as the button trigger travel interval, the step further includes: The preset travel interval is adjusted based on the travel interval configuration data generated by the user triggering the remaining buttons on the joystick handle.

6. The key trigger setting method according to any one of claims 1 to 5, characterized in that: After the step of setting the key trigger effect of the target key based on the key effect configuration instruction and the key trigger travel interval, the method further includes: Based on the configuration completion instruction triggered by the user, exit the button setting mode and enter the button use mode; When entering the key use mode, detecting the real-time key stroke corresponding to the target key; When the target button is in the button trigger travel interval, the button trigger effect set for the target button in the corresponding button trigger travel interval is triggered.

7. A key trigger setting device, characterized in that: The button trigger setting device comprises: The button parameter acquisition module is used to obtain the button effect configuration instructions and the button trigger travel range when entering the button setting mode; The button parameter setting module is used to set the button trigger effect of the target button based on the button effect configuration instruction and the button trigger travel interval.

8. A rocker handle, characterized in that: The joystick handle includes: a memory, a processor, and a key trigger setting program stored in the memory and executable on the processor, wherein the key trigger setting program is configured to implement the steps of the key trigger setting method as described in any one of claims 1-6.

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

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the key trigger setting method according to any one of claims 1 to 6 are implemented.