CN110860085A - Keyboard and mouse setting method and device - Google Patents

Keyboard and mouse setting method and device Download PDF

Info

Publication number
CN110860085A
CN110860085A CN201911114345.9A CN201911114345A CN110860085A CN 110860085 A CN110860085 A CN 110860085A CN 201911114345 A CN201911114345 A CN 201911114345A CN 110860085 A CN110860085 A CN 110860085A
Authority
CN
China
Prior art keywords
control
mouse
key
keyboard
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911114345.9A
Other languages
Chinese (zh)
Other versions
CN110860085B (en
Inventor
刘学彦
周瑶
黄俊达
郑锐彣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201911114345.9A priority Critical patent/CN110860085B/en
Publication of CN110860085A publication Critical patent/CN110860085A/en
Application granted granted Critical
Publication of CN110860085B publication Critical patent/CN110860085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6045Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands

Abstract

The embodiment of the invention provides a keyboard and mouse setting method and a device, wherein the method comprises the following steps: receiving a setting instruction corresponding to at least one key mouse control, wherein the at least one key mouse control is displayed in a first preset area in a game interface; generating and storing a self-defining scheme according to a setting instruction corresponding to at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control; and generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped. The keyboard and mouse display method and device are used for enabling the game interface to visually display the keyboard and mouse control, the user-defined scheme, the key position control and the key and mouse identification corresponding to the key position control, the efficiency of setting the keyboard and mouse by the user is improved, and the game experience of the user is improved.

Description

Keyboard and mouse setting method and device
Technical Field
The embodiment of the invention relates to the field of game operation, in particular to a keyboard and mouse setting method and device.
Background
In the process of playing game and entertainment by a user using a desktop computer, a simulator is generally required to set game operation functions of a mouse and a keyboard connected with the desktop computer, so that game characters can be controlled by the mouse and the keyboard in the process of playing game and entertainment.
At present, in the process of setting the game operation functions of a mouse and a keyboard connected with a desktop computer by using a simulator, a right information bar in a game interface comprises a keyboard and mouse control bar and a scheme drop-down list, wherein at least one keyboard and mouse control bar is displayed in the keyboard and mouse control bar, and an identifier of at least one keyboard and mouse scheme is hidden in the scheme drop-down list. In the prior art, when a user searches for an identifier of a desired keymouse scheme in a scheme drop-down list, the drop-down list needs to be expanded to search for the identifier of the keymouse scheme, and after the identifier of the desired keymouse scheme is found, the scheme drop-down list is folded. In the above process, the right information bar includes at least one keyboard and mouse control and at least one keyboard and mouse scheme, so that more setting information is provided in the right information bar. Furthermore, the identifier of the keyboard and mouse scheme is hidden in the scheme drop-down list, so that the identifier of the keyboard and mouse scheme cannot be visually displayed, and the operation of searching the identifier by a user is complex.
Disclosure of Invention
The embodiment of the invention provides a keyboard and mouse setting method and device, which are used for enabling a game interface to visually display at least one keyboard and mouse control, a corresponding self-defined identification of a self-defined scheme, at least one key position control and a keyboard and mouse identification corresponding to each key position control, improving the setting efficiency of a user on the keyboard and mouse and further improving the game experience of the user.
In a first aspect, an embodiment of the present invention provides a keyboard and mouse setting method, where a terminal device provides a graphical user interface, where the graphical user interface includes a game interface, and the method includes:
receiving a setting instruction corresponding to at least one key mouse control, wherein the at least one key mouse control is displayed in a first preset area in a game interface;
generating and storing a self-defining scheme according to a setting instruction corresponding to at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control;
and generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
In a possible design, the at least one keyboard and mouse control includes an identification control, the setting instruction includes a position setting instruction of the identification control, and the setting instruction of the keyboard and mouse control is received, including:
acquiring a position setting instruction;
and controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction.
In another possible design, the at least one keyboard and mouse control includes a recognition control, the setting instruction includes a key position identification instruction of the recognition control, and the receiving of the setting instruction of the keyboard and mouse control includes:
acquiring a key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
In another possible design, the at least one keyboard and mouse control includes a recognition control, the setting instruction includes a position setting instruction and a key position identification instruction, and the setting instruction of the keyboard and mouse control is received, which includes:
acquiring a position setting instruction;
controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction;
acquiring a key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
In another possible design, controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the trigger manner according to the trigger manner of the position setting instruction includes:
determining that the triggering mode of the position setting instruction is clicking operation, controlling to fixedly display a function icon corresponding to the recognition control at a position corresponding to the recognition control in the game interface, wherein the function icon comprises at least one key position control corresponding to the recognition control;
and determining that the triggering mode of the position setting instruction is a dragging operation, controlling the functional icon corresponding to the identification control to move to the game interface along with the dragging operation, and configuring the functional icon to move in the mobile interface along with the dragging operation.
In another possible design, the scheme list includes a default identifier corresponding to at least one default scheme and a custom identifier corresponding to at least one custom scheme, and after the custom scheme is generated and stored according to a setting instruction corresponding to each of at least one keyboard and mouse control, the method further includes:
and if the total identification number of the default identification corresponding to at least one default scheme and the self-defined identification corresponding to at least one self-defined scheme is determined to be more than or equal to a preset threshold value, displaying a scroll control in the scheme list.
In another possible design, for any first scenario in the scenario list, after displaying the scroll control in the scenario list, the method further includes:
and responding to the key position display operation acted on the first scheme, and displaying at least one key position control included by each key and mouse control in the first scheme and the key and mouse identification corresponding to each key position control in the game interface.
In another possible design, after displaying, in the game interface, at least one key control included in each keyboard and mouse control in the first scenario and a key and mouse identifier corresponding to each key control, for any first key control in the at least one key control, the method further includes:
and canceling the display of the first key control and the keyboard and mouse identification corresponding to the first key control in response to the deletion operation acted on the first key control.
In another possible design, for the first key position control, the method further includes:
and responding to the replacement operation acted on the first key position control, and replacing the key position identification corresponding to the first key position control.
In a second aspect, an embodiment of the present invention provides a keyboard and mouse setting device, which is disposed in a terminal device, and provides a graphical user interface through the terminal device, where the graphical user interface includes a game interface, and the keyboard and mouse setting device includes: a receiving module, a display module, a generating module and a storage module, wherein,
the receiving module is used for receiving a setting instruction corresponding to each of at least one key mouse control, wherein the at least one key mouse control is displayed in a first preset area in a game interface displayed by the display module;
the generating module is used for generating a custom scheme according to the setting instruction corresponding to each of at least one keyboard and mouse control;
the storage module is used for storing a self-defining scheme, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control;
the generating module is further used for generating a custom identifier corresponding to the custom scheme and adding the custom identifier to a scheme list, the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
In a third aspect, an embodiment of the present invention provides a keyboard and mouse setting device, including: a processor and a memory;
the memory is used for storing computer execution instructions;
the processor is configured to execute the computer-executable instructions stored in the memory, so that the processor performs the keyboard and mouse setting method according to any one of the above first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the keyboard and mouse setting method according to any one of the above first aspects is implemented.
The embodiment of the invention provides a keyboard and mouse setting method and a device, wherein the keyboard and mouse setting method comprises the following steps: receiving a setting instruction corresponding to at least one key mouse control, wherein the at least one key mouse control is displayed in a first preset area in a game interface; generating and storing a self-defining scheme according to a setting instruction corresponding to at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control; and generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped. The keyboard and mouse setting method is used for enabling the game interface to visually display the keyboard and mouse control, the self-defined scheme, the key position control and the keyboard and mouse identification corresponding to the key position control, improves the setting efficiency of the user on the keyboard and mouse, and improves the game experience of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of the keyboard and mouse setting method provided in the embodiment of the present invention;
FIG. 2 is a first schematic flow chart of a keyboard and mouse setting method according to an embodiment of the present invention;
FIG. 3 is a second schematic flow chart of a keyboard and mouse setting method according to an embodiment of the present invention;
FIG. 4 is a schematic interface diagram of a keyboard and mouse setting method according to an embodiment of the present invention;
fig. 5 is a first schematic structural diagram of a keyboard and mouse setting device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of the keyboard and mouse setting device according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic view of an application scenario of the keyboard and mouse setting method provided by the embodiment of the invention. As shown in fig. 1, includes: game server 101, terminal device 102, keyboard 103, and mouse 104.
Wherein, the game server 101 can interact with the terminal device 102 through a wired network or a wireless network. Alternatively, the wired network may be coaxial cable, twisted pair, fiber optics, and the like. Optionally, the Wireless network may be a 2G network, a 3G network, a 4G network, or a 5G network, a Wireless Fidelity (WIFI) network, or the like. The embodiment of the present invention does not limit the specific type or specific form of interaction as long as it can implement the interaction function of the game server 101 and the terminal device 102.
The keyboard 103 and the mouse 104 may be connected to the terminal device 102 in a wireless manner or a wired manner. In practical applications, a user can control a game character in a game interface displayed in the terminal device 102 by operating the keyboard 103 and the mouse 104, for example, the game character is controlled to move by the keyboard 103.
It should be noted that the game interface displays a first preset area and a second preset area, and the first preset area and the second preset area are not overlapped. At least one mouse control (for example, clicking a button, a direction key, etc.) is displayed in the first preset area, and a default identifier corresponding to the default scheme and a custom identifier corresponding to the custom scheme are displayed in the second preset area. The default scheme and the custom scheme are respectively key mouse schemes which are stored in a game server or terminal equipment after at least one key mouse control is set. In the game interface, at least one mouse control is displayed in the first preset area, and the default identification corresponding to the default scheme and the custom identification corresponding to the custom scheme are displayed in the second preset area, so that more information in the right information bar can be avoided. Furthermore, the default identification and the user-defined identification are displayed in the second preset area, so that the problems that the identification of the keyboard and mouse scheme cannot be visually displayed and the operation of searching the identification of the keyboard and mouse scheme by a user is complex due to the fact that the identification is arranged in a drop-down list can be avoided.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a first schematic flow chart of a keyboard and mouse setting method according to an embodiment of the present invention. As shown in fig. 2, the keyboard and mouse setting method includes:
s201: receiving a setting instruction corresponding to each of at least one mouse control, wherein the at least one mouse control is displayed in a first preset area in the game interface.
Optionally, the execution main body in the embodiment of the present invention may be a terminal device, or may be a keyboard and mouse setting device provided in the terminal device, where the keyboard and mouse setting device may be implemented by a combination of software and/or hardware.
Optionally, the terminal device is an electronic device capable of displaying a game interface and connected with a keyboard and a mouse. For example, the terminal device may be a desktop computer.
It should be noted that the at least one keyboard and mouse control includes: click buttons, arrow keys, attack/fire, sight keys, gravity sensing, intelligent magic, right-key walking, and view angle movement. Specifically, please refer to fig. 4.
Optionally, the setting instruction includes a position setting instruction and/or a key position identification instruction. The position setting instruction is used for displaying the function icon corresponding to the recognition control in the at least one keyboard and mouse control on the game interface, and the key position identification instruction is used for setting the key position identification of the key position control corresponding to the recognition control.
Alternatively, the first preset region may be displayed on an upper region, a lower region, a left region, or a right region of the game interface.
S202: and generating and storing a self-defining scheme according to the setting instruction corresponding to at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control.
Specifically, a storage control is further displayed in the first preset area, and the user-defined scheme can be generated and stored according to the setting instruction corresponding to each of the at least one keyboard and mouse control and the storage instruction corresponding to the storage control.
Alternatively, the customized scheme may be stored in the terminal device, or may be stored in a game server connected to the terminal device.
Further, the custom scenario includes at least one keymouse control, such as: when the keyboard and mouse controls are direction keys, the direction keys correspond to 4 key position controls, and the 4 key position controls respectively correspond to one keyboard and mouse mark.
The 4 key position controls are respectively a forward control, a backward control, a right control and a left control, the key position mark corresponding to the forward control is 'W', the key position mark corresponding to the backward control is 'S', the key position mark corresponding to the left control is 'A', and the key position mark corresponding to the right control is 'D'.
For example, during the actual game, the user can continuously click "W" on the keyboard to control the game character to move forward.
S203: and generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
Optionally, the custom identifier may be an automatically generated identifier, or an identifier generated according to a setting operation of a user. The automatically generated identifier may be "first user-defined scheme", "second user-defined scheme", and the like, and the identifier generated according to the setting operation of the user may be an identifier set by any user, such as "set in 10 months and 22 days", "favorite", and the like.
Further, when the user-defined identifier is an identifier generated according to the setting operation of the user, after the user-defined scheme is generated, the naming dialog box is popped up in the game interface, and the user can input the identifier to be set in the naming dialog box, so that the setting operation is realized.
Alternatively, the second preset area may be displayed on an upper area, a lower area, a left area, or a right area of the game interface.
It should be noted that the second preset area and the first preset area do not overlap. For example, when the first preset area is the upper area of the game interface, the second preset area is the right area of the game interface.
The key mouse setting method provided by the embodiment of the invention comprises the following steps: receiving a setting instruction corresponding to at least one key mouse control, wherein the at least one key mouse control is displayed in a first preset area in a game interface; generating and storing a self-defining scheme according to a setting instruction corresponding to at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control; and generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped. In the process, at least one keyboard and mouse control is displayed in the first preset area, and the scheme list is displayed in the second preset area, so that the problem that the right information bar comprises more information in the prior art can be solved. Furthermore, the scheme list is displayed in the second preset area, so that the identifier in the scheme list can be visually displayed, and the complexity of the operation of searching the identifier by the user is further reduced.
On the basis of the above embodiment, the method for setting a keyboard and mouse provided by the present application is further described in detail below with reference to fig. 3, and specifically, refer to the embodiment in fig. 3.
Fig. 3 is a schematic flow chart of a keyboard and mouse setting method according to an embodiment of the present invention. As shown in fig. 3, the keyboard and mouse setting method includes:
s301: and setting instructions corresponding to the at least one mouse control respectively, wherein the at least one mouse control is displayed in a first preset area in the game interface.
In a possible design, the at least one keyboard and mouse control includes a recognition control, the setting instruction includes a key position identification instruction of the recognition control, and the setting instruction of the keyboard and mouse control is received, which includes:
acquiring a key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
Optionally, the recognition control is at least one of a directional key, an attack/fire, a sight key, gravity sensing, right-key walking, and a perspective movement included with the at least one keystroke control.
In another possible design, the at least one keyboard and mouse control includes an identification control, the setting instruction includes a position setting instruction of the identification control, and the receiving of the setting instruction of the keyboard and mouse control includes:
acquiring a position setting instruction;
and controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction.
Optionally, the triggering mode of the position setting instruction may be a click operation or a drag operation.
For example, when the identification control is a direction key, the function icon corresponding to the direction key is a circular steering wheel.
Specifically, when the triggering mode of the position setting instruction is determined to be click operation, the control unit is used for fixedly displaying the functional icon corresponding to the recognition control at the position corresponding to the recognition control in the game interface, and the functional icon comprises at least one key position control corresponding to the recognition control.
The position corresponding to the recognition control is a preset position. For example, when the identification control is a direction key, the preset position corresponding to the direction key may be a lower left corner of the game interface, and when the identification control is a view angle movement, the preset position corresponding to the view angle movement may be an upper right corner of the game interface.
Further, when the triggering mode of the position setting instruction is determined to be the dragging operation, the function icon corresponding to the identification control is controlled to move to the game interface along with the dragging operation, and the function icon is configured to move in the mobile interface along with the dragging operation.
In another possible design, the at least one keyboard and mouse control includes a recognition control, the setting instruction includes a position setting instruction and a key position identification instruction, and the setting instruction of the keyboard and mouse control is received, which includes:
acquiring a position setting instruction;
controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction;
acquiring a key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
It should be noted that the function icon is displayed in a third preset area, and the third preset area is not overlapped with the first preset area and the second preset area.
Different from the prior art, in the prior art, when the triggering mode of the position setting instruction is click operation, the function icon corresponding to the recognition control is usually displayed in the center of the game interface, so that part of the game interface in the game scene is blocked, further, when the key identifier is set for at least one corresponding key control in the recognition control, the function icon may need to be moved, so that secondary operation is performed by the user, and the setting efficiency of the key identifier is reduced. In the application, the function icon corresponding to the recognition control is fixedly displayed in the game interface at the position corresponding to the recognition control, so that part of the game interface in the game scene can be prevented from being shielded, further, because the function icon is fixed, secondary operation of a user can be avoided, and the setting efficiency of the key position identification is improved.
Further, different from the prior art, in the prior art, at least one key mouse control is displayed in the right information bar of the game interface, when a user sets the key mouse control, the key mouse control in the right information bar needs to be dragged to the left area of the game interface from right to left, in the dragging process, the dragging of the key mouse control from right to left does not conform to the daily operation habit of the user, and further, because the display screen of the current terminal equipment is usually rectangular, the dragging of the key mouse control from right to left is performed, so that the dragging distance is long. And in this application, when the first preset area is set in the upper area of the game interface and the triggering mode of the position setting instruction is a dragging operation, the function icon corresponding to the identification control can be controlled from top to bottom to move to the game interface along with the dragging operation.
S302: and generating and storing a self-defining scheme according to the setting instruction corresponding to at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control.
Specifically, the execution method of S302 is the same as the execution method of S202. Here, the execution process of S302 is not described again.
S303: and generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
Specifically, the execution method of S303 is the same as the execution method of S203. Here, the execution process of S303 is not described in detail.
S304: and if the total identification number of the default identification corresponding to at least one default scheme and the self-defined identification corresponding to at least one self-defined scheme is determined to be more than or equal to a preset threshold value, displaying a scroll control in the scheme list.
Specifically, the scheme list may include a default identifier corresponding to at least one default scheme and a custom identifier corresponding to at least one customized scheme, and may also include only the custom identifier corresponding to at least one customized scheme. Wherein at least one default scheme is a cloud scheme (i.e., provided in the server).
Alternatively, the preset threshold may be 8, 9, or 10, etc.
Alternatively, the scroll control may be displayed on the side of the solution list, for example, on the right side of the solution list, or on the bottom side of the solution list.
Optionally, the scroll control may be a drag search control or a click search control.
For example, when the scroll control is a drag search control, and the user clicks a right mouse button and drags the drag search control, the identifier corresponding to the scheme required by the user may be searched for in at least one default scheme and at least one customized scheme included in the scheme list.
For example, when the scroll control is a drag search control, when a pointer of a mouse is placed on the drag search control and an intermediate key is scrolled, an identifier corresponding to a scheme required by a user may be searched for in at least one default scheme and at least one self-defined scheme included in the scheme list.
For example, when the scroll control is a click search control, and when the user continuously clicks a right mouse button, the identifier corresponding to the scheme required by the user may be searched in at least one default scheme and at least one customized scheme included in the scheme list.
It should be noted that, if the total number of identifiers is smaller than the preset threshold, another user-defined method and a user-defined identifier corresponding to the user-defined method may be generated again according to S301 to S303, and the user-defined identifier corresponding to the user-defined method is added to the scheme list.
S305: and aiming at any first scheme in the scheme list, responding to the key position display operation acted on the first scheme, and displaying at least one key position control included by each key and mouse control in the first scheme and a key and mouse identification corresponding to each key and mouse control in a game interface.
Specifically, please refer to at least one key control included in each of the keyboard and mouse controls in the first scheme displayed in the game interface shown in fig. 4, and a keyboard and mouse identifier corresponding to each of the key controls.
Different from the prior art, in the prior art, the scheme drop-down list comprises the identifier of at least one keyboard and mouse scheme, when a user needs to search the identifier of one keyboard and mouse scheme, the scheme drop-down list needs to be expanded, and after the identifier of the keyboard and mouse scheme is searched, the scheme drop-down list is folded, so that the identifier of the at least one keyboard and mouse scheme is hidden too deeply, and the identifier of the at least one keyboard and mouse scheme cannot be visually displayed. In the method, the default identification corresponding to at least one default scheme and the custom identification corresponding to at least one custom scheme are directly displayed in the scheme list, so that the default identification corresponding to at least one default scheme and the custom identification corresponding to at least one custom scheme can be visually displayed in a game interface, the operation that a user needs to expand a scheme drop-down list and a folding scheme drop-down list is avoided, and the game experience of the user is improved.
S306: and for any first key control in the at least one key control, responding to the deletion operation acted on the first key control, and canceling to display the first key control and the keyboard and mouse identification corresponding to the first key control.
Specifically, after displaying at least one key control, a display deletion control may be displayed at a third preset position, where a distance between the third preset position and the key control is equal to the first preset distance.
Alternatively, the first preset distance may be 2 pixels, 3 pixels, or the like. Specifically, the specific size of the first preset distance may be determined according to actual requirements.
In one possible design, for the first key position control, the keyboard and mouse setting method further includes:
and responding to the replacement operation acted on the first key position control, and replacing the key position identification corresponding to the first key position control.
For example, the first key control is a hui cheng control (if the original key is labeled as "B", then the key corresponding to the first key control is labeled as "B" after responding to the replacing operation for the first key control, and then replaced with "0".
It should be noted that, after the key identifier corresponding to the first key control is replaced, if the first key control is a control in the default scheme, after the key identifier corresponding to the first key control is replaced, a self-defined scheme is automatically generated and stored, and meanwhile, a self-defined identifier corresponding to the self-defined scheme is generated and added to the scheme list.
In this step, at least one key control included in each key mouse control in the first scheme and the key mouse identification corresponding to each key control are displayed in the game interface, so that the user can directly cancel displaying the first key control and the key mouse identification corresponding to the first key control, replace the key identification corresponding to the key control, and improve the setting efficiency of the user on the key identification.
Fig. 4 is a schematic interface diagram of a keyboard and mouse setting method provided in the embodiment of the present invention. As shown in FIG. 4, the interface comprises interfaces 401-404.
Please see interface 401. At least one mouse control (including click button, arrow key, attack/fire, sight key, gravity sensing, intelligent magic, right-handed walking, and view angle movement), save control, cancel control, and exit setting control are displayed in the first preset area 41. Wherein the at least one recognition control comprises: arrow keys, attack/fire, sight keys, gravity sensing, right key walking, and view angle movement. A scheme selection box and an advanced setting box are displayed in the second preset area 42, wherein the scheme selection box comprises: LOL mode (right key walk) and WASD move + K key attack two default schemes, and a custom scheme.
On the basis of the interface 401, the user clicks a direction key (recognition control), and a function icon 43 can be displayed at a position corresponding to the direction key (a preset position at the lower left corner in the interface 401), where the function icon 43 includes at least one key position control 44.
Referring to the interface 402, on the basis of the interface 401, the user performs a key identification operation on at least one key control 44, so that the terminal device generates a key identification instruction according to the key identification operation, and sets a key identification on the key control corresponding to the recognition control according to the key identification instruction.
For example, a key identification operation is performed on one key control 44, the terminal device generates a key identification instruction according to the key identification operation, and sets a key identification "W" to the key control according to the key identification instruction.
Please refer to the interface 403, after key position identification is performed on the attack/fire, the sight key, the gravity sensing, the right key walking, and the view angle movement in sequence, and the saving control is clicked, the user-defined identification "user-defined scheme two" can be displayed in the scheme selection box.
Please refer to the interface 404, on the basis of referring to the interface 403, if the user clicks the "first user-defined scheme", then sequentially clicks the keystroke prompt and the keystroke mouse switch, and simultaneously sets the transparency of the keystroke prompt to 100%, and displays at least one keystroke control included in the "second user-defined scheme", the keystroke mouse identifier corresponding to each keystroke control, and the eradicating control corresponding to each keystroke control in the area other than the first preset area 41 and the second preset area 42 in the game interface.
Fig. 5 is a first schematic structural diagram of the keyboard and mouse setting device according to the embodiment of the present invention. As shown in fig. 5, the keyboard and mouse setting device 10 includes: a receiving module 11, a display module 12, a generating module 13 and a storage module 14, wherein,
the receiving module 11 is configured to receive a setting instruction corresponding to at least one keyboard and mouse control, where the at least one keyboard and mouse control is displayed in a first preset area in a game interface displayed by the display module;
the generating module 12 is configured to generate a custom scheme according to a setting instruction corresponding to each of the at least one keyboard and mouse control;
the storage module 13 is configured to store a user-defined scheme, where the user-defined scheme includes at least one keyboard and mouse control, at least one key control corresponding to each keyboard and mouse control, and a keyboard and mouse identifier corresponding to each key control;
the generating module 14 is further configured to generate a custom identifier corresponding to the custom scheme, and add the custom identifier to a scheme list, where the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
The keyboard and mouse setting device 10 is disposed in a terminal device, and can provide a graphical user interface through the terminal device, wherein the graphical user interface includes a game interface.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
In a possible design, the at least one keyboard and mouse control includes an identification control, the setting instruction includes a position setting instruction of the identification control, and the receiving module 11 is specifically configured to:
acquiring a position setting instruction;
and controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction.
In another possible design, the at least one keyboard and mouse control includes an identification control, the setting instruction includes a key position identification instruction of the identification control, and the receiving module 11 is specifically configured to:
acquiring a key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
In another possible design, the at least one keyboard and mouse control includes a recognition control, the setting instruction includes a position setting instruction and a key position identification instruction, and the receiving module 11 is specifically configured to:
acquiring a position setting instruction;
controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction;
acquiring a key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
In another possible design, the receiving module 11 is specifically configured to:
determining that the triggering mode of the position setting instruction is clicking operation, controlling to fixedly display a function icon corresponding to the recognition control at a position corresponding to the recognition control in the game interface, wherein the function icon comprises at least one key position control corresponding to the recognition control;
and determining that the triggering mode of the position setting instruction is a dragging operation, controlling the functional icon corresponding to the identification control to move to the game interface along with the dragging operation, and configuring the functional icon to move in the mobile interface along with the dragging operation.
In another possible design, the display module 12 is further configured to, after the scenario list includes a default identifier corresponding to at least one default scenario and a custom identifier corresponding to at least one self-defined scenario, generate and store the custom scenario according to a setting instruction corresponding to each of the at least one keyboard and mouse control, and if it is determined that the total number of identifiers of the default identifier corresponding to the at least one default scenario and the custom identifier corresponding to the at least one self-defined scenario is greater than or equal to a preset threshold, display the scroll control in the scenario list.
In another possible design, for any first scheme in the scheme list, the display module 12 is further configured to, after the scroll control is displayed in the scheme list, display, in response to the key display operation applied to the first scheme, at least one key control included in each key and mouse control in the first scheme and a key and mouse identifier corresponding to each key and mouse control in the game interface.
In another possible design, for any first key control in the at least one key control, the display module 12 is further configured to, after displaying the at least one key control included in each key and mouse control in the first scheme and the key and mouse identifier corresponding to each key control in the game interface, cancel displaying the first key control and the key and mouse identifier corresponding to the first key control in response to a deletion operation applied to the first key control.
In another possible design, for the first key control, the receiving module 11 is further configured to:
and responding to the replacement operation acted on the first key position control, and replacing the key position identification corresponding to the first key position control.
The apparatus provided in this embodiment may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 6 is a schematic diagram of a hardware structure of the keyboard and mouse setting device according to the embodiment of the present invention. As shown in fig. 6, the keyboard and mouse setting device 20 includes: a processor 21 and a memory 22, wherein,
the memory 22 is used for storing computer execution instructions;
the processor 21 is configured to execute computer-executable instructions stored in the memory, so that the processor executes any of the method embodiments described above.
Alternatively, the memory 22 may be separate or integrated with the processor 21.
When the memory 22 is independently provided, the keyboard and mouse setting device further includes a bus 23 for connecting the memory 22 and the processor 21.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer in the computer-readable storage medium executes the instructions, and when a processor executes the instructions, the keyboard and mouse setting method in any method embodiment is realized.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: ROM, RAM, magnetic or optical disks, or the like, each of which can store program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A keyboard and mouse setting method is characterized in that a graphical user interface is provided through a terminal device, the graphical user interface comprises a game interface, and the method comprises the following steps:
receiving a setting instruction corresponding to at least one key mouse control, wherein the at least one key mouse control is displayed in a first preset area in the game interface;
generating and storing a self-defining scheme according to the setting instruction corresponding to the at least one keyboard and mouse control, wherein the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control;
generating a custom identifier corresponding to the custom scheme, and adding the custom identifier to a scheme list, wherein the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
2. The method of claim 1, wherein the at least one keyboard and mouse control comprises an identification control, wherein the setting instruction comprises a position setting instruction of the identification control, and wherein the receiving the setting instruction of the keyboard and mouse control comprises:
acquiring the position setting instruction;
and controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the trigger manner according to the trigger manner of the position setting instruction.
3. The method of claim 1, wherein the at least one keyboard and mouse control comprises a recognition control, wherein the setting instruction comprises a key identification instruction of the recognition control, and wherein the receiving the setting instruction of the keyboard and mouse control comprises:
acquiring the key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
4. The method of claim 1, wherein the at least one keyboard and mouse control comprises a recognition control, the setting instruction comprises a position setting instruction and a key identification instruction, and the receiving the setting instruction of the keyboard and mouse control comprises:
acquiring the position setting instruction;
controlling to display the function icon corresponding to the identification control on the game interface in a manner corresponding to the trigger manner according to the trigger manner of the position setting instruction;
acquiring the key position identification instruction;
and setting key position identification for the key position control corresponding to the recognition control according to the key position identification instruction.
5. The method according to claim 2 or 4, wherein the controlling, according to the trigger mode of the position setting instruction, to display the function icon corresponding to the identification control on the game interface in a mode corresponding to the trigger mode includes:
determining that the triggering mode of the position setting instruction is clicking operation, and controlling to fixedly display a function icon corresponding to the identification control at a position corresponding to the identification control in the game interface, wherein the function icon comprises at least one key position control corresponding to the identification control;
determining that the triggering mode of the position setting instruction is a dragging operation, controlling the functional icon corresponding to the identification control to move to the game interface along with the dragging operation, and configuring the functional icon to move in the mobile interface along with the dragging operation.
6. The method of claim 1, wherein the scenario list includes a default identifier corresponding to at least one default scenario and a custom identifier corresponding to at least one custom scenario, and after the custom scenario is generated and stored according to the setting instruction corresponding to each of the at least one keyboard and mouse control, the method further includes:
and if the total identification number of the default identification corresponding to the at least one default scheme and the custom identification corresponding to the at least one custom scheme is determined to be more than or equal to a preset threshold value, displaying a scroll control in the scheme list.
7. The method of claim 6, wherein for any first scenario in the list of scenarios, after the displaying a scroll control in the list of scenarios, the method further comprises:
and responding to the key position display operation acted on the first scheme, and displaying at least one key position control included by each key and mouse control in the first scheme and a key and mouse identification corresponding to each key position control in the game interface.
8. The method of claim 7, wherein after displaying, in the game interface, the at least one key control included in each keyboard and mouse control of the first scenario and the key and mouse identification corresponding to each key control for any first key control of the at least one key control, the method further comprises:
and canceling the display of the first key control and the keyboard and mouse identification corresponding to the first key control in response to the deletion operation acted on the first key control.
9. The method of claim 8, wherein for the first key control, the method further comprises:
and responding to the replacement operation acted on the first key position control, and replacing the key position identification corresponding to the first key position control.
10. The utility model provides a key mouse sets up device which characterized in that sets up in terminal equipment, provides graphical user interface through terminal equipment, including game interface among the graphical user interface, include: a receiving module, a display module, a generating module and a storage module, wherein,
the receiving module is used for receiving a setting instruction corresponding to each of at least one keyboard and mouse control, wherein the at least one keyboard and mouse control is displayed in a first preset area in a game interface displayed by the display module;
the generating module is used for generating a custom scheme according to the setting instruction corresponding to each of the at least one keyboard and mouse control;
the storage module is used for storing the self-defining scheme, and the self-defining scheme comprises at least one keyboard and mouse control, at least one key position control corresponding to each keyboard and mouse control and a keyboard and mouse identification corresponding to each key position control;
the generating module is further configured to generate a custom identifier corresponding to the custom scheme, and add the custom identifier to a scheme list, where the scheme list is displayed in a second preset area in the game interface, and the first preset area and the second preset area are not overlapped.
11. A keyboard and mouse setting device is characterized by comprising: a processor and a memory;
the memory is used for storing computer execution instructions;
the processor is configured to execute the computer-executable instructions stored in the memory to cause the processor to perform the keystroke setup method of any of claims 1-9.
12. A computer-readable storage medium, wherein a computer-executable instruction is stored in the computer-readable storage medium, and when the computer-executable instruction is executed by a processor, the keyboard and mouse setting method according to any one of claims 1 to 9 is implemented.
CN201911114345.9A 2019-11-14 2019-11-14 Mouse setting method and device Active CN110860085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911114345.9A CN110860085B (en) 2019-11-14 2019-11-14 Mouse setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911114345.9A CN110860085B (en) 2019-11-14 2019-11-14 Mouse setting method and device

Publications (2)

Publication Number Publication Date
CN110860085A true CN110860085A (en) 2020-03-06
CN110860085B CN110860085B (en) 2023-04-25

Family

ID=69654051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911114345.9A Active CN110860085B (en) 2019-11-14 2019-11-14 Mouse setting method and device

Country Status (1)

Country Link
CN (1) CN110860085B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111632375A (en) * 2020-05-28 2020-09-08 腾讯科技(深圳)有限公司 Interactive object display method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090027334A1 (en) * 2007-06-01 2009-01-29 Cybernet Systems Corporation Method for controlling a graphical user interface for touchscreen-enabled computer systems
CN109224436A (en) * 2018-08-28 2019-01-18 努比亚技术有限公司 Virtual key based on interface defines method, terminal and storage medium
CN109544663A (en) * 2018-11-09 2019-03-29 腾讯科技(深圳)有限公司 The virtual scene of application program identifies and interacts key mapping matching process and device
CN110354506A (en) * 2019-08-20 2019-10-22 网易(杭州)网络有限公司 Game operation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090027334A1 (en) * 2007-06-01 2009-01-29 Cybernet Systems Corporation Method for controlling a graphical user interface for touchscreen-enabled computer systems
CN109224436A (en) * 2018-08-28 2019-01-18 努比亚技术有限公司 Virtual key based on interface defines method, terminal and storage medium
CN109544663A (en) * 2018-11-09 2019-03-29 腾讯科技(深圳)有限公司 The virtual scene of application program identifies and interacts key mapping matching process and device
CN110354506A (en) * 2019-08-20 2019-10-22 网易(杭州)网络有限公司 Game operation method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111632375A (en) * 2020-05-28 2020-09-08 腾讯科技(深圳)有限公司 Interactive object display method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN110860085B (en) 2023-04-25

Similar Documents

Publication Publication Date Title
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
WO2017054623A1 (en) Method and device for starting application program, and electronic device
CN108579089B (en) Virtual item control method and device, storage medium and electronic equipment
CN107479818B (en) Information interaction method and mobile terminal
WO2008044321A1 (en) Operation support computer program, and operation support computer system
CN110215695B (en) Game object selection method and device
CN112162665A (en) Operation method and device
CN112114734A (en) Online document display method and device, terminal and storage medium
CN111841001B (en) Information processing method, device, equipment and storage medium in game
CN107491502A (en) A kind of method and terminal for selecting entry
CN113282424A (en) Information reference method and device and electronic equipment
EP4268913A1 (en) Position adjustment method and apparatus for operation controls, and terminal, and storage medium
CN113282214A (en) Stroke rendering method, device, storage medium and terminal
TWI770429B (en) Device and method of a stock quoting software with multiple guis
CN110860085A (en) Keyboard and mouse setting method and device
CN112799571B (en) Display control method, device, terminal and storage medium for secondary confirmation
CN112911052A (en) Information sharing method and device
CN111142689B (en) Mobile control method, device and equipment and computer readable storage medium
JP4971908B2 (en) Information processing program and information processing apparatus
CN113268182A (en) Application icon management method and electronic equipment
CN111617474B (en) Information processing method and device
US20240100429A1 (en) Method for display control in game, computer-readable storage medium, and electronic device
WO2022089480A1 (en) Information processing method and apparatus, and electronic device
CN113835578A (en) Display method and device and electronic equipment
CN113797527A (en) Game processing method, device, equipment, medium and program product

Legal Events

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