Gamepad convenient for multi-mode switching and gamepad control method
By integrating operation recording, analysis, and mode switching units into the game controller, the control mode can be automatically identified and switched, solving the problem of cumbersome operation of game controllers and improving control effect and gaming experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- DONGGUAN ZACH ELECTRONICS TECH CO LTD
- Filing Date
- 2026-02-06
- Publication Date
- 2026-05-15
AI Technical Summary
Existing game controllers require manual adjustment of joystick strength and other control modes, which makes operation cumbersome and prone to accidental touches or malfunctions, affecting the user experience.
It employs an operation recording unit, an operation analysis unit, and a mode switching unit to automatically identify and switch the control mode of the game controller. By recording user operation information such as button and joystick information, it achieves multi-mode switching.
It improves the ease of use and control of the game controller, automatically recognizes the game mode and switches to the best control mode, thus optimizing the gaming experience.
Smart Images

Figure CN122032069A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game controller technology, and more specifically, to a game controller and a game controller control method that facilitates multi-mode switching. Background Technology
[0002] As an indispensable input device for video games, the history of game controllers can be traced back to the 1970s. Early game controllers only had simple buttons and joysticks for controlling the movement and actions of game characters. With the rapid development of the video game industry, game controller technology has continuously innovated. Modern game controllers not only possess high-precision sensors and vibration feedback functions, but also feature advanced technologies such as wireless connectivity and motion control. The application of these technologies has greatly improved the user experience and interactivity of game controllers, bringing players a more immersive gaming experience. At the same time, game controller designs have become increasingly user-friendly and ergonomic, ensuring comfort even during extended gaming sessions.
[0003] Currently, some game controllers are equipped with adjustable joystick resistance, allowing users to freely adjust the joystick's resistance to suit the different precision requirements of racing or shooting games. For example, some game controllers use damped adjustable joysticks to support customized damping based on game type (e.g., FPS or fighting games), thereby improving the controller's responsiveness. However, manually controlling the joystick resistance and other settings increases the complexity of game controller operation, and adjustments are prone to accidental activation or malfunction, affecting the overall user experience. Summary of the Invention
[0004] The purpose of this application is to provide a game controller and a game controller control method that facilitates multi-mode switching, solving the technical problem that manually controlling the joystick force and other control modes of the game controller increases the complexity of game controller operation, and achieving the technical effect of automatically controlling the joystick force and other control modes of the game controller.
[0005] This application provides a game controller that facilitates multi-mode switching, including an operation recording unit, an operation analysis unit, and a mode switching unit. The operation recording unit records user operations on the game controller buttons. The operation analysis unit analyzes the user's operation records on the game controller buttons and determines mode switching information. The mode switching unit switches the control mode of the game controller according to the mode switching information. The user's operation records on the game controller buttons include button information, joystick swing amplitude information, and joystick swing direction information. The mode switching information is used to control the game controller to switch between multiple preset control modes.
[0006] In one possible implementation, a mode storage unit is also included, which is used to communicate with the game controller driver and obtain multiple game controller control modes from the game controller driver, and the game controller driver is used to input multiple game controller control modes set by the user.
[0007] In another possible implementation, a connection method identification unit is also included. This unit is used to obtain the connection method of the game controller and the game controller driver, the hash values of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit, and the hash values of the driver control information corresponding to the multiple game controller control modes stored in the game controller driver. When the connection method between the game controller and the game controller driver is wired, and the hash values of the controller control information and the driver control information are different, the connection method identification unit issues a wired synchronization command, and the mode storage unit, in response to the wired synchronization command, obtains multiple game controller control modes from the game controller driver via the wired connection. When the connection method between the game controller and the game controller driver is wireless, and the hash values of the controller control information and the driver control information are different, the connection method identification unit issues a wireless synchronization command, and the mode storage unit, in response to the wireless synchronization command, obtains multiple game controller control modes from the game controller driver via the wireless connection.
[0008] In another possible implementation, the operation recording unit is further configured to divide multiple operation time periods into multiple first operation time periods and multiple second operation time periods based on button operation information and joystick operation information within the same time period. The first operation time periods contain both button operation information and joystick operation information, while the second operation time periods contain only button operation information or joystick operation information. The operation analysis unit is configured to determine mode switching information based on the duration of the first and second operation time periods. Specifically, when the ratio of the duration of the first and second operation time periods is greater than or equal to a preset duration ratio, the mode switching information is a switch to action game control mode, fighting game control mode, or shooting game control mode. When the ratio of the duration of the first and second operation time periods is less than the preset duration ratio, the mode switching information is a switch to racing game control mode.
[0009] In another possible implementation, the operation recording unit is also used to obtain the no-operation time period between multiple first operation time periods and multiple second operation time periods. When the duration of the no-operation time period is greater than or equal to the preset no-operation duration, the operation analysis unit re-determines the mode switching information based on the duration of the first operation time period and the duration of the second operation time period.
[0010] In another possible implementation, the operation analysis unit is further configured to determine mode switching information based on the joystick swing amplitude information and joystick swing direction information during the first operation time period; wherein, when the joystick swing amplitude information is greater than or equal to a preset swing amplitude, or the number of remote swing directions information is greater than or equal to a preset number of remote swing directions, the mode switching information is to switch to action game control mode and fighting game control mode; when the joystick swing amplitude information is less than a preset swing amplitude, and the number of remote swing directions information is less than a preset number of remote swing directions, the mode switching information is to switch to shooting game control mode.
[0011] In another possible implementation, the mode storage unit is also used to obtain the custom game control modes corresponding to the action game control mode, fighting game control mode, shooting game control mode and racing game control mode in the game controller driver when obtaining multiple game controller control modes from the game controller driver. When the first game control mode lacks a corresponding custom game control mode, the game controller driver issues a prompt message to indicate that the first game control mode lacks a corresponding custom game control mode.
[0012] This application also provides a game controller control method. This game controller control method is used to control any of the aforementioned game controllers that facilitate multi-mode switching. The method includes: recording user operations on game controller buttons using an operation recording unit; analyzing the user's operation records on the game controller buttons using an operation analysis unit and determining mode switching information; and switching the control mode of the game controller using a mode switching unit based on the mode switching information. The user's operation records on the game controller buttons include button information, joystick swing amplitude information, and joystick swing direction information. The mode switching information is used to control the game controller to switch between multiple preset control modes.
[0013] In another possible implementation, the method further includes: obtaining the connection method of the game controller and the game controller driver through the connection method identification unit, the hash values of the game controller control information corresponding to multiple game controller control modes stored in the mode storage unit, and the hash values of the driver control information corresponding to multiple game controller control modes stored in the game controller driver; when the connection method of the game controller and the game controller driver is wired, and the hash values of the game controller control information and the driver control information are different, the connection method identification unit issues a wired synchronization command, and the mode storage unit responds to the wired synchronization command by obtaining multiple game controller control modes from the game controller driver through the wired connection method; when the connection method of the game controller and the game controller driver is wireless, and the hash values of the game controller control information and the driver control information are different, the connection method identification unit issues a wireless synchronization command, and the mode storage unit responds to the wireless synchronization command by obtaining multiple game controller control modes from the game controller driver through the wireless connection method.
[0014] In another possible implementation, the method further includes: the operation analysis unit determines mode switching information based on the joystick swing amplitude information and joystick swing direction information during the first operation time period; wherein, when the joystick swing amplitude information is greater than or equal to a preset swing amplitude, or the number of remote swing directions in the remote swing direction information is greater than or equal to a preset number of remote swing directions, the mode switching information is to switch to action game control mode and fighting game control mode; when the joystick swing amplitude information is less than a preset swing amplitude, and the number of remote swing directions in the remote swing direction information is less than a preset number of remote swing directions, the mode switching information is to switch to shooting game control mode.
[0015] The beneficial effects of the embodiments in this application compared with the prior art are: This application provides a game controller that facilitates multi-mode switching, including an operation recording unit, an operation analysis unit, and a mode switching unit. The operation recording unit records user operations on the game controller buttons. The operation analysis unit analyzes the user's operation records and determines mode switching information. The mode switching unit switches the game controller's control mode according to the mode switching information. The user's operation records include button information, joystick amplitude information, and joystick direction information. The mode switching information controls the game controller to switch between multiple preset control modes. This multi-mode switching game controller can automatically identify the game operation mode and automatically switch the controller's control mode to the corresponding game operation mode, improving the control effect of the game controller. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A schematic diagram of the physical structure of a game controller that facilitates multi-mode switching, provided for an embodiment of this application; Figure 2 A schematic diagram of the logical structure of a game controller that facilitates multi-mode switching, provided for an embodiment of this application; Figure 3 A schematic diagram of the logical structure of another game controller that facilitates multi-mode switching, provided for an embodiment of this application; Figure 4 A flowchart illustrating the first game controller control method provided in this application embodiment; Figure 5 A flowchart illustrating the second game controller control method provided in this application embodiment; Figure 6 This is a flowchart illustrating the third game controller control method provided in this application embodiment. Detailed Implementation
[0018] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0019] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0020] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0021] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0022] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0023] Currently, manually controlling the joystick force and other control modes of a game controller increases the complexity of operation and makes it easy for adjustments to be accidentally pressed or malfunction, affecting the game controller's performance.
[0024] Based on the above reasons, this application provides a game controller that facilitates multi-mode switching, including an operation recording unit, an operation analysis unit, and a mode switching unit. The operation recording unit records user operations on the game controller buttons. The operation analysis unit analyzes the user's operation records and determines mode switching information. The mode switching unit switches the game controller's control mode according to the mode switching information. The user's operation records include button information, joystick amplitude information, and joystick direction information. The mode switching information controls the game controller to switch between multiple preset control modes. The game controller in this application, which facilitates multi-mode switching, can automatically identify the game operation mode and automatically switch the controller's control mode to the corresponding game operation mode, improving the control effect of the game controller.
[0025] In some scenarios, the game controller of this application embodiment, which facilitates multi-mode switching, can be applied to game controllers on multiple platforms. It can automatically identify and switch the operation mode of the game controller, thereby improving the control effect of the game controller.
[0026] The following describes in detail, with specific examples, a game controller that facilitates multi-mode switching provided in the embodiments of this application.
[0027] Figure 1 This application provides a schematic diagram of the physical structure of a game controller that facilitates multi-mode switching, as shown in the embodiments of this application. Figure 1As shown, this game controller, which facilitates multi-mode switching, includes an operation recording unit 1, an operation analysis unit 2, and a mode switching unit 3. The operation recording unit 1 records the user's button operations on the game controller. The operation analysis unit 2 analyzes the user's button operation records and determines mode switching information. The mode switching unit 3 switches the game controller's control mode according to the mode switching information. The user's button operation records include button information, joystick swing amplitude information, and joystick swing direction information. The mode switching information is used to control the game controller to switch between multiple preset control modes.
[0028] like Figure 1 As shown, in terms of structure, this game controller that facilitates multi-mode switching includes a controller 10. The controller 10 has a built-in operation recording unit 1, an operation analysis unit 2, and a mode switching unit 3. The operation recording unit 1, the operation analysis unit 2, and the mode switching unit 3 cooperate with each other to realize the functions of this game controller.
[0029] Figure 2 This application provides a schematic diagram of the logical structure of a game controller that facilitates multi-mode switching, as shown in the embodiments of this application. Figure 2 As shown, the operation recording unit 1, operation analysis unit 2, and mode switching unit 3 can work together to realize the control function of this game controller that facilitates multi-mode switching.
[0030] During operation, the operation recording unit 1 is used to record the user's operation records of the game controller buttons, so as to facilitate subsequent processing of the user's operation records of the game controller buttons.
[0031] During operation, the operation analysis unit 2 analyzes the user's operation records of the game controller buttons and determines the mode switching information, thereby enabling automatic mode switching of the game controller through the mode switching information.
[0032] During operation, the mode switching unit 3 is used to switch the control mode of the game controller according to the mode switching information. After the game controller is switched, the control mode of the game controller can be optimized.
[0033] When controlling a game controller, the user's button operations are recorded, including button information, joystick amplitude information, and joystick direction information, such as... Figure 1 As shown, the button information includes D-pad button information, individual button information, joystick swing amplitude information, and joystick swing direction information, including joystick operation information generated when operating a joystick that can rotate freely.
[0034] When controlling the game controller, the mode switching information is used to control the game controller to switch between multiple preset control modes. These preset control modes are set by the user, which can identify the operation mode through the user's operation and switch the game controller's control mode to the best control mode among the multiple preset control modes, thereby improving the user's control effect on the game controller.
[0035] The beneficial effect of the above implementation method is that it can identify the operation mode through the user's operation and switch the control mode of the game controller to the best control mode among multiple preset control modes, so as to improve the user's control effect on the game controller.
[0036] In some implementations, a mode storage unit 4 is also included. The mode storage unit 4 is used to communicate with the game controller driver and obtain multiple game controller control modes from the game controller driver. The game controller driver is used to input multiple game controller control modes set by the user.
[0037] Figure 3 A schematic diagram of another logical structure of a game controller that facilitates multi-mode switching, as provided in the embodiments of this application, is shown below. Figure 3 As shown, the game controller also includes a mode storage unit 4. When the mode storage unit 4 is working, it communicates with the game controller driver and obtains multiple game controller control modes from the game controller driver. The game controller can then be controlled through multiple game controller control modes, which can be multiple preset control modes.
[0038] During operation, the gamepad driver is used to input multiple gamepad control modes set by the user. The gamepad driver can then record and store these multiple gamepad control modes and synchronize them with the gamepad.
[0039] For example, the game controller control mode may include custom settings for the game controller such as the dead zone setting of the joystick, the control sensitivity of the joystick, and the vibration feedback of the trigger.
[0040] The beneficial effect of the above implementation method is that the mode storage unit communicates with the game controller driver and obtains multiple game controller control modes from the game controller driver. Multiple game controller control modes set by the user are recorded through the game controller driver, making it easy to operate and realize the recording and synchronization of game controller control modes.
[0041] The beneficial effect of the above implementation method is that after the mode storage unit communicates with the game controller driver and obtains multiple game controller control modes from the game controller driver, the game controller can directly read the control mode of the game controller through the built-in mode storage unit, which optimizes the response time and improves the operation experience of the game controller.
[0042] In some implementations, the game controller also includes a connection method identification unit 5, which is used to obtain the connection method of the game controller and the game controller driver, the hash value of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit 4, and the hash value of the driver control information corresponding to the multiple game controller control modes stored in the game controller driver.
[0043] like Figure 3 As shown, structurally, this game controller also includes a connection method identification unit 5. The connection method identification unit 5 is used to obtain the connection method of the game controller and the game controller driver, the hash value of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit 4, and the hash value of the driver control information corresponding to the multiple game controller control modes stored in the game controller driver. The connection method of the game controller and the game controller driver is used to determine the transmission mode of the game controller control mode. The hash value of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit 4 and the hash value of the driver control information corresponding to the multiple game controller control modes stored in the game controller driver are used to determine whether the multiple game controller control modes stored by the game controller and the game controller driver are the same, and thus determine whether it is necessary to synchronize multiple game controller control modes between the game controller and the game controller driver.
[0044] For example, the hash values of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit 4 and the multiple game controller control modes stored in the game controller driver can be MD5 (Message-DigestAlgorithm 5) hash values. The MD5 hash value outputs a 128-bit (16-byte) hash value. The MD5 hash value can be used to compare whether the multiple game controller control modes stored by the game controller and the game controller driver are the same.
[0045] In some implementations, when the gamepad and gamepad driver are connected via a wired connection, and the gamepad control information hash value and the driver control information hash value are different, the connection method identification unit 5 issues a wired synchronization command. In response to the wired synchronization command, the mode storage unit 4 retrieves multiple gamepad control modes from the gamepad driver via the wired connection. When the gamepad and gamepad driver are connected via a wireless connection, and the gamepad control information hash value and the driver control information hash value are different, the connection method identification unit 5 issues a wireless synchronization command. In response to the wireless synchronization command, the mode storage unit 4 retrieves multiple gamepad control modes from the gamepad driver via the wireless connection.
[0046] When the gamepad and gamepad driver are connected via a wired connection during operation, multiple gamepad control modes can be synchronized via wired connection. When the hash value of the gamepad control information and the hash value of the driver control information are different, the connection method identification unit 5 issues a wired synchronization command. The mode storage unit 4 responds to the wired synchronization command and obtains multiple gamepad control modes from the gamepad driver via wired connection. This makes it applicable to situations where the gamepad is not connected via Bluetooth or other connection methods, thus improving the stability of synchronizing multiple gamepad control modes.
[0047] When the game controller and the game controller driver are connected wirelessly during operation, it means that the game controller can synchronize multiple game controller control modes with the game controller driver via wireless connection. When the hash value of the controller control information and the hash value of the driver control information are different, the connection mode identification unit 5 sends a wireless synchronization command. In response to the wireless synchronization command, the mode storage unit 4 obtains multiple game controller control modes from the game controller driver via wireless connection, so as to synchronize multiple game controller control modes between the game controller driver and the game controller via wireless connection.
[0048] The beneficial effect of the above implementation method is that it can first obtain the connection method of the game controller and the game controller driver, and determine whether the multiple game controller control modes obtained by the game controller and the game controller driver are the same. Then, it can realize the game controller obtaining multiple game controller control modes from the game controller driver through a suitable connection method, thereby improving the stability of synchronizing multiple game controller control modes between the game controller driver and the game controller. In some implementations, the operation recording unit 1 is also used to divide multiple operation time periods into multiple first operation time periods and multiple second operation time periods based on the button operation information and joystick operation information within the same time period. The first operation time period contains both button operation information and joystick operation information, while the second operation time period contains only button operation information or joystick operation information.
[0049] During operation, the operation recording unit 1 is also used to divide multiple operation time periods into multiple first operation time periods and multiple second operation time periods based on the button operation information and joystick operation information within the same time period. In the first operation time period, both button operation information and joystick operation information exist simultaneously, while in the second operation time period, only button operation information or joystick operation information exists simultaneously. The first operation time period is the time period in which both button operation information and joystick operation information exist simultaneously, thereby allowing for optimization of the control mode of the first operation time period. The second operation time period is the time period in which only button operation information or joystick operation information exists, thereby allowing for optimization of the control mode of the game controller based on the characteristics of the button operation information and joystick operation information in different time periods.
[0050] For example, the multiple operation time periods can be equally divided time periods based on manually set rules; or they can be multiple operation time periods automatically segmented based on operation information density, with a no-operation time period longer than a preset duration between the multiple operation time periods. The preset duration can be 5s, 10s, or 15s.
[0051] In some implementations, the operation analysis unit 2 is used to determine mode switching information based on the duration of the first operation time period and the duration of the second operation time period. Specifically, when the ratio of the duration of the first operation time period to the duration of the second operation time period is greater than or equal to a preset ratio, the mode switching information is a switch to action game control mode, fighting game control mode, or shooting game control mode. When the ratio of the duration of the first operation time period to the duration of the second operation time period is less than the preset ratio, the mode switching information is a switch to racing game control mode.
[0052] During operation, the operation analysis unit 2 is used to determine mode switching information based on the duration of the first operation time period and the duration of the second operation time period. When the duration of the first operation time period and the duration of the second operation time period have different characteristics, different control modes of the game controller can be determined based on the duration of the first operation time period and the duration of the second operation time period to improve the control effect of the game controller.
[0053] During operation, when the ratio of the duration of the first operation time period to the duration of the second operation time period is greater than or equal to the preset duration ratio, it indicates that the time for simultaneously operating button operation information and joystick operation information is relatively long. At this time, it can be determined that the mode switching information is switched to action game control mode, fighting game control mode, or shooting game control mode. Action game control mode, fighting game control mode, or shooting game control mode are more in line with the operation scenario where button operation and joystick operation are present at the same time.
[0054] After confirming that the mode switching information indicates a switch to action game control mode, fighting game control mode, or shooting game control mode, the game controller's control mode can be switched to the corresponding custom control mode for each of these modes, which can then be applied to the user-defined game control mode.
[0055] During operation, when the ratio of the duration of the first operation time period to the duration of the second operation time period is less than the preset duration ratio, the time for simultaneously operating button and joystick operation information is short. This indicates that the mode switching information has been switched to racing game control mode. In racing game control mode, the operation frequency of joystick and button is lower. Setting the game controller control mode to racing game control mode can improve the game controller's control effect on racing games.
[0056] After confirming that the mode switching information indicates a switch to racing game control mode, you can switch the game controller's control mode to the corresponding custom control mode for racing game control mode, thus applying the user-defined racing game control mode.
[0057] For example, the preset duration ratio can be 2 to 5.
[0058] The beneficial effect of the above implementation method is that by comparing the ratio of the duration of the first operation time period to the duration of the second operation time period and the preset duration ratio, a control mode suitable for the current game controller can be determined, thereby improving the control effect of the game controller on different types of games.
[0059] The beneficial effect of the above implementation method is that when the ratio of the duration of the first operation time period to the duration of the second operation time period is greater than or equal to the preset duration ratio, the mode switching information is determined to switch to action game control mode, fighting game control mode or shooting game control mode, which can improve the control effect of the game controller on action game control mode, fighting game control mode or shooting game control mode.
[0060] The beneficial effect of the above implementation method is that when the ratio of the duration of the first operation time period to the duration of the second operation time period is less than the preset duration ratio, the mode switching information is determined to switch to the racing game control mode, which can improve the control effect of the game controller on the racing game.
[0061] In some implementations, the operation recording unit 1 is also used to obtain the no-operation time period between multiple first operation time periods and multiple second operation time periods. When the duration of the no-operation time period is greater than or equal to the preset no-operation duration, the operation analysis unit 2 re-determines the mode switching information based on the duration of the first operation time period and the duration of the second operation time period.
[0062] During operation, the operation recording unit 1 is also used to obtain the no-operation time period between multiple first operation time periods and multiple second operation time periods. The no-operation time period is the time period during which the game controller is not operated. When the duration of the no-operation time period is greater than or equal to the preset no-operation duration, it indicates that the game controller has not been operated for a relatively long time, and the user may have switched the game being played. At this time, the operation analysis unit 2 can re-determine the mode switching information based on the duration of the first operation time period and the duration of the second operation time period.
[0063] For example, the preset inactivity time can be 1 minute, 3 minutes, or 5 minutes.
[0064] The beneficial effect of the above implementation method is that when the duration of the inactive period is greater than or equal to the preset inactive period, it means that the game controller has not been operated for a relatively long time. The mode switching information is then re-determined based on the duration of the first and second operation periods, which can improve the intelligence of the automatic switching of the control mode when the user is playing the game.
[0065] In some implementations, the operation analysis unit 2 is further used to determine mode switching information based on the joystick swing amplitude information and joystick swing direction information during the first operation time period. Specifically, when the joystick swing amplitude information is greater than or equal to a preset swing amplitude, or the number of joystick swing directions in the joystick swing direction information is greater than or equal to a preset number of joystick swing directions, the mode switching information is a switch to action game control mode and fighting game control mode. When the joystick swing amplitude information is less than a preset swing amplitude, and the number of joystick swing directions in the joystick swing direction information is less than a preset number of joystick swing directions, the mode switching information is a switch to shooting game control mode.
[0066] During operation, the operation analysis unit 2 is also used to determine mode switching information based on the joystick swing amplitude information and joystick swing direction information during the first operation time period. The joystick swing amplitude information and joystick swing direction information characterize the user's use of the joystick for game control. Different games have different joystick control requirements, so the game control mode can be switched by using the joystick characteristics.
[0067] When the joystick swing amplitude information is greater than or equal to the preset swing amplitude, or the number of joystick swing directions information is greater than or equal to the preset number of joystick swing directions, it indicates that the current game has a high demand for joystick operation frequency and amplitude. At this time, it can be determined that the mode switching information is switched to action game control mode and fighting game control mode. The number of joystick swing directions and the joystick swing amplitude in action game control mode and fighting game control mode are larger, so as to improve the control effect of the game controller for action games and fighting games.
[0068] When the joystick swing amplitude information is less than the preset swing amplitude, and the number of joystick swing directions information is less than the preset number of joystick swing directions, it indicates that the current game has a high requirement for joystick operation sensitivity. At this time, it can be determined that the mode switching information is switched to shooting game control mode. In shooting game control mode, the number of joystick swing directions and the joystick swing amplitude are smaller, which can improve the control effect of the game controller on shooting games.
[0069] The beneficial effect of the above implementation method is that it can determine the game control mode to be switched according to the frequency, amplitude and sensitivity requirements of the game's joystick operation, which can improve the control effect of the game control mode on different types of games and improve the user experience of the game controller.
[0070] The beneficial effect of the above implementation method is that, within the first time period, the game control mode can be optimized according to the different frequency, amplitude and sensitivity requirements of the game for joystick operation, thereby improving the game control effect.
[0071] In some implementations, the mode storage unit 4 is also used to obtain the custom game control modes corresponding to the action game control mode, fighting game control mode, shooting game control mode and racing game control mode in the game controller driver when obtaining multiple game controller control modes from the game controller driver. When the first game control mode lacks a corresponding custom game control mode, the game controller driver issues a prompt message to indicate that the first game control mode lacks a corresponding custom game control mode.
[0072] During operation, the mode storage unit 4 is also used to obtain the custom game control modes corresponding to the action game control mode, fighting game control mode, shooting game control mode and racing game control mode in the game controller driver when obtaining multiple game controller control modes from the game controller driver. Then, it can determine whether to prompt for setting a custom game control mode based on whether there is a custom game control mode for different game control modes.
[0073] When the first game control mode lacks a corresponding custom game control mode during operation, the game controller driver will issue a prompt message to indicate that the first game control mode lacks a corresponding custom game control mode, so as to prompt the user to set a custom game control mode for the first game control mode, thereby improving the control effect of the game controller when switching game control modes.
[0074] The beneficial effect of the above implementation method is that it can detect whether there is a custom game control mode in different game control modes, and then determine whether it is necessary to prompt for setting a custom game control mode, thereby improving the control effect of the game controller.
[0075] Figure 4 A flowchart illustrating the first game controller control method provided in this application embodiment is shown below. Figure 4 As shown in the embodiments of this application, a game controller control method is also provided. This game controller control method is used to control the game controller that is convenient for switching between multiple modes as described above. This game controller control method includes S110 to S130.
[0076] S110. The operation recording unit 1 records the user's operation on the game controller buttons.
[0077] S120. The operation analysis unit 2 analyzes the user's operation records of the game controller buttons and determines the mode switching information.
[0078] S130. The mode switching unit 3 switches the control mode of the game controller according to the mode switching information. The user's operation records for the game controller buttons include button information, joystick swing amplitude information, and joystick swing direction information. The mode switching information is used to control the game controller to switch between multiple preset control modes.
[0079] During operation, as described in steps S110 to S130 above, operation recording unit 1 records the user's button operations on the game controller for subsequent processing. Operation analysis unit 2 analyzes the user's button operations and determines mode switching information, enabling automatic mode switching of the game controller. Mode switching unit 3 switches the game controller's control mode based on the mode switching information, achieving optimized control of the game controller.
[0080] The beneficial effect of the above implementation method is that it can identify the operation mode through the user's operation and switch the control mode of the game controller to the best control mode among multiple preset control modes, so as to improve the user's control effect on the game controller.
[0081] Figure 5 A flowchart illustrating the second game controller control method provided in this application embodiment is shown below. Figure 5 As shown, the above method also includes steps S210 to S220.
[0082] S210: The connection method identification unit 5 obtains the connection method of the game controller and the game controller driver, the hash value of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit 4, and the hash value of the driver control information corresponding to the multiple game controller control modes stored in the game controller driver.
[0083] S220. When the connection between the gamepad and the gamepad driver is wired, and the hash value of the gamepad control information is different from the hash value of the driver control information, the connection method identification unit 5 issues a wired synchronization command. In response to the wired synchronization command, the mode storage unit 4 obtains multiple gamepad control modes from the gamepad driver via the wired connection. When the connection between the gamepad and the gamepad driver is wireless, and the hash value of the gamepad control information is different from the hash value of the driver control information, the connection method identification unit 5 issues a wireless synchronization command. In response to the wireless synchronization command, the mode storage unit 4 obtains multiple gamepad control modes from the gamepad driver via the wireless connection.
[0084] The beneficial effect of the above implementation method is that by using a suitable connection method, the game controller can obtain multiple game controller control modes from the game controller driver, thereby improving the stability of the synchronization between the game controller driver and the game controller for multiple game controller control modes.
[0085] Figure 6 A flowchart illustrating the third gamepad control method provided in this application embodiment is shown below. Figure 6As shown, the above method also includes S310 to S320.
[0086] S310, the operation recording unit 1 divides multiple operation time periods into multiple first operation time periods and multiple second operation time periods based on the button operation information and joystick operation information within the same time period. The first operation time period contains both button operation information and joystick operation information, while the second operation time period contains only button operation information or joystick operation information.
[0087] S320, Operation Analysis Unit 2 determines mode switching information based on the duration of the first operation time period and the duration of the second operation time period. Specifically, when the ratio of the duration of the first operation time period to the duration of the second operation time period is greater than or equal to a preset ratio, the mode switching information is a switch to action game control mode, fighting game control mode, or shooting game control mode. When the ratio of the duration of the first operation time period to the duration of the second operation time period is less than the preset ratio, the mode switching information is a switch to racing game control mode.
[0088] The beneficial effect of the above implementation method is that by comparing the ratio of the duration of the first operation time period to the duration of the second operation time period and the preset duration ratio, a control mode suitable for the current game controller can be determined, thereby improving the control effect of the game controller on different types of games.
[0089] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0090] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0091] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0093] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0094] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0095] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0096] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A game controller that facilitates multi-mode switching, characterized in that, It includes an operation recording unit, an operation analysis unit, and a mode switching unit. The operation recording unit records the user's operation records on the game controller buttons. The operation analysis unit analyzes the user's operation records on the game controller buttons and determines the mode switching information. The mode switching unit switches the control mode of the game controller according to the mode switching information. The user's operation records on the game controller buttons include button information, joystick swing amplitude information, and joystick swing direction information. The mode switching information is used to control the game controller to switch between multiple preset control modes.
2. The game controller as described in claim 1, characterized in that, It also includes a mode storage unit, which is used to communicate with the game controller driver and obtain multiple game controller control modes from the game controller driver. The game controller driver is used to input multiple game controller control modes set by the user.
3. The game controller as described in claim 2, characterized in that, It also includes a connection method identification unit, which is used to obtain the connection method of the game controller and the game controller driver, the hash value of the controller control information corresponding to the multiple game controller control modes stored in the mode storage unit, and the hash value of the driver control information corresponding to the multiple game controller control modes stored in the game controller driver. When the gamepad and gamepad driver are connected via a wired connection, and the gamepad control information hash value and the driver control information hash value are different, the connection method identification unit issues a wired synchronization command. In response to the wired synchronization command, the mode storage unit obtains multiple gamepad control modes from the gamepad driver via the wired connection. When the gamepad and gamepad driver are connected via a wireless connection, and the gamepad control information hash value and the driver control information hash value are different, the connection method identification unit issues a wireless synchronization command. In response to the wireless synchronization command, the mode storage unit obtains multiple gamepad control modes from the gamepad driver via the wireless connection.
4. The game controller as described in claim 3, characterized in that, The operation recording unit is also used to divide multiple operation time periods into multiple first operation time periods and multiple second operation time periods based on the button operation information and joystick operation information within the same time period. The first operation time period contains both button operation information and joystick operation information, while the second operation time period contains only button operation information or joystick operation information. The operation analysis unit is used to determine mode switching information based on the duration of the first operation time period and the duration of the second operation time period; wherein, when the ratio of the duration of the first operation time period to the duration of the second operation time period is greater than or equal to a preset duration ratio, the mode switching information is to switch to action game control mode, fighting game control mode, or shooting game control mode; when the ratio of the duration of the first operation time period to the duration of the second operation time period is less than the preset duration ratio, the mode switching information is to switch to racing game control mode.
5. The game controller as described in claim 4, characterized in that, The operation recording unit is also used to obtain the no-operation time period between multiple first operation time periods and multiple second operation time periods. When the duration of the no-operation time period is greater than or equal to the preset no-operation duration, the operation analysis unit re-determines the mode switching information based on the duration of the first operation time period and the duration of the second operation time period.
6. The game controller as described in claim 5, characterized in that, The operation analysis unit is also used to determine mode switching information based on the joystick swing amplitude information and joystick swing direction information during the first operation time period; wherein, when the joystick swing amplitude information is greater than or equal to the preset swing amplitude, or the number of remote swing directions information is greater than or equal to the preset number of remote swing directions, the mode switching information is to switch to action game control mode and fighting game control mode; when the joystick swing amplitude information is less than the preset swing amplitude, and the number of remote swing directions information is less than the preset number of remote swing directions, the mode switching information is to switch to shooting game control mode.
7. The game controller as described in claim 6, characterized in that, The mode storage unit is also used to obtain the custom game control modes corresponding to the action game control mode, fighting game control mode, shooting game control mode and racing game control mode in the game controller driver when obtaining multiple game controller control modes from the game controller driver. When the first game control mode lacks a corresponding custom game control mode, the game controller driver issues a prompt message to indicate that the first game control mode lacks a corresponding custom game control mode.
8. A game controller control method, characterized in that, The method for controlling a game controller that is easy to switch between multiple modes as described in any one of claims 1 to 7 includes: The operation recording unit records the user's operation of the game controller buttons; The operation analysis unit analyzes the user's operation records of the game controller buttons and determines the mode switching information. The mode switching unit switches the control mode of the game controller according to the mode switching information. The user's operation records of the game controller buttons include button information, joystick swing amplitude information and joystick swing direction information. The mode switching information is used to control the game controller to switch between multiple preset control modes.
9. The game controller control method as described in claim 8, characterized in that, The method further includes: The connection method identification unit obtains the connection method of the game controller and the game controller driver, the hash value of the controller control information corresponding to multiple game controller control modes stored in the mode storage unit, and the hash value of the driver control information corresponding to multiple game controller control modes stored in the game controller driver. When the gamepad and gamepad driver are connected via a wired connection, and the gamepad control information hash value and the driver control information hash value are different, the connection method identification unit issues a wired synchronization command. In response to the wired synchronization command, the mode storage unit obtains multiple gamepad control modes from the gamepad driver via the wired connection. When the gamepad and gamepad driver are connected via a wireless connection, and the gamepad control information hash value and the driver control information hash value are different, the connection method identification unit issues a wireless synchronization command. In response to the wireless synchronization command, the mode storage unit obtains multiple gamepad control modes from the gamepad driver via the wireless connection.
10. The game controller control method as described in claim 9, characterized in that, The method further includes: The operation analysis unit determines the mode switching information based on the joystick swing amplitude and joystick swing direction information during the first operation time period. Specifically, when the joystick swing amplitude information is greater than or equal to the preset swing amplitude, or the number of joystick swing directions information is greater than or equal to the preset number of joystick swing directions, the mode switching information is to switch to action game control mode and fighting game control mode. When the joystick swing amplitude information is less than the preset swing amplitude, and the number of joystick swing directions information is less than the preset number of joystick swing directions, the mode switching information is to switch to shooting game control mode.