CN110860085B - Mouse setting method and device - Google Patents

Mouse setting method and device Download PDF

Info

Publication number
CN110860085B
CN110860085B CN201911114345.9A CN201911114345A CN110860085B CN 110860085 B CN110860085 B CN 110860085B CN 201911114345 A CN201911114345 A CN 201911114345A CN 110860085 B CN110860085 B CN 110860085B
Authority
CN
China
Prior art keywords
control
key
mouse
scheme
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.)
Active
Application number
CN201911114345.9A
Other languages
Chinese (zh)
Other versions
CN110860085A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

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

Description

Mouse setting method and device
Technical Field
The embodiment of the invention relates to the field of game operation, in particular to a method and a device for setting a key mouse.
Background
In the process of game 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 a game role can be controlled through the mouse and the keyboard in the process of game entertainment.
At present, in the process of setting 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 key mouse control bar and a scheme drop-down list, wherein at least one key mouse control is displayed in the key mouse control bar, and at least one key mouse scheme identifier is hidden in the scheme drop-down list. In the prior art, when a user searches for the identifier of the desired key mouse scheme in the scheme drop-down list, the drop-down list needs to be unfolded to search for the identifier of the key mouse scheme, and after the identifier of the desired key mouse scheme is found, the drop-down list is folded. In the above process, the right information field includes at least one mouse control and at least one mouse scheme, which results in more setting information in the right information field. Further, the identifier of the key mouse scheme is hidden in the scheme drop-down list, so that the identifier of the key mouse scheme cannot be intuitively displayed, and further, the operation of searching the identifier by a user is complicated.
Disclosure of Invention
The embodiment of the invention provides a method and a device for setting a key mouse, which are used for enabling a game interface to intuitively display at least one key mouse control, a corresponding custom identifier of a custom scheme, at least one key position control and the key mouse identifier corresponding to each key position control, so that the efficiency of setting the key mouse by a user is improved, and further the game experience of the user is improved.
In a first aspect, an embodiment of the present invention provides a method for setting a mouse, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a game interface, and the method includes:
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 a game interface;
generating and storing a self-defining scheme according to the setting instruction corresponding to each at least one key mouse control, wherein the self-defining scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier corresponding to each key position control;
generating a user-defined identifier corresponding to the user-defined scheme, adding the user-defined identifier to a scheme list, displaying the scheme list in a second preset area in the game interface, wherein the first preset area and the second preset area are not overlapped.
In one possible design, the at least one mouse control includes an identification control, the setting instruction includes a position setting instruction of the identification control, and the receiving the setting instruction of the mouse control includes:
acquiring a position setting instruction;
and controlling and displaying the function icons corresponding to the identification controls on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction.
In another possible design, the at least one mouse control includes an identification control, the setting instruction includes a key position identification instruction of the identification control, and the receiving the setting instruction of the mouse control includes:
acquiring a key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier instruction.
In another possible design, the at least one mouse control includes an identification control, the setting instruction includes a position setting instruction and a key position identification instruction, and the receiving the setting instruction of the mouse control includes:
acquiring a position setting instruction;
controlling and displaying the function icons corresponding to the identification controls on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction;
acquiring a key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier instruction.
In another possible design, the method for controlling the function icon corresponding to the identification control to be displayed on the game interface in a manner corresponding to the triggering manner according to the triggering manner of the position setting instruction includes:
determining a triggering mode of the position setting instruction as clicking operation, and controlling to fixedly display a functional icon corresponding to the identification control in a position corresponding to the identification control in the game interface, wherein the functional icon comprises at least one key control corresponding to the identification control;
and determining a triggering mode of the position setting instruction as a drag operation, controlling the function icon corresponding to the identification control to move to the game interface along with the drag operation, and configuring the function icon to move in the moving interface along with the drag operation.
In another possible design, the scheme list includes a default identifier corresponding to at least one default scheme and a corresponding custom identifier of at least one self-defined scheme, and after generating and storing the custom scheme according to a setting instruction corresponding to each of the at least one mouse control, the method further includes:
and if the total number of the default identifications corresponding to the at least one default scheme and the corresponding custom identifications of the at least one custom scheme is greater than or equal to a preset threshold, 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 comprises:
and responding to key position display operation acted on the first scheme, and displaying at least one key position control and a key mouse identifier corresponding to each key position control in the first scheme in a game interface.
In another possible design, for any first key control of the at least one key control, after displaying, in the game interface, at least one key control included in each key mouse control in the first scheme and a key mouse identifier corresponding to each key control, the method further includes:
and responding to the deleting operation acted on the first key control, and canceling to display the first key control and the key mouse identifier corresponding to the first key control.
In another possible design, for the first key control, the method further includes:
and responding to the replacement operation acted on the first key control, and replacing the key mark corresponding to the first key control.
In a second aspect, an embodiment of the present invention provides a device for setting a mouse, which is set in a terminal device, and provides a graphical user interface through the terminal device, where the graphical user interface includes a game interface, and includes: the device comprises a receiving module, a display module, a generating module and a storage module, wherein,
The receiving module is used for receiving setting instructions corresponding to at least one mouse control, wherein the at least one 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 mouse control;
the storage module is used for storing a custom scheme, and the custom scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier 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 do not overlap.
In a third aspect, an embodiment of the present invention provides a device for setting a mouse, including: a processor and a memory;
the memory is used for storing computer execution instructions;
the processor is configured to execute computer-executable instructions stored in the memory, so that the processor performs the method for setting a keyboard and mouse according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, which when executed by a processor, implement the method for setting a keyboard and mouse according to any one of the first aspect above.
The embodiment of the invention provides a method and a device for setting a mouse, wherein the method for setting the mouse comprises the following steps: 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 a game interface; generating and storing a self-defining scheme according to the setting instruction corresponding to each at least one key mouse control, wherein the self-defining scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier corresponding to each key position control; generating a user-defined identifier corresponding to the user-defined scheme, adding the user-defined identifier to a scheme list, displaying the scheme list in a second preset area in the game interface, wherein the first preset area and the second preset area are not overlapped. The method for setting the key mouse is used for enabling the game interface to visually display the key mouse control, the custom scheme, the key position control and the key mouse identification corresponding to the key position control, so that the efficiency of setting the key mouse by a user is improved, and the game experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a method for setting a mouse according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for setting a mouse according to an embodiment of the present invention;
fig. 3 is a second schematic flow chart of a method for setting a mouse according to an embodiment of the present invention;
fig. 4 is an interface schematic diagram of a method for setting a mouse according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mouse setting device according to an embodiment of the present invention;
fig. 6 is a schematic hardware structure of a mouse setting device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a schematic diagram of an application scenario of a method for setting a mouse according to an embodiment of the present invention. As shown in fig. 1, includes: a game server 101, a terminal device 102, a keyboard 103 and a mouse 104.
Wherein the game server 101 may interact with the terminal device 102 via a wired network, or a wireless network. Alternatively, the wired network may be coaxial cable, twisted pair, fiber optic, and the like. Alternatively, the wireless network may be a 2G network, a 3G network, a 4G network or a 5G network, a wireless fidelity (Wireless Fidelity, abbreviated WIFI) network, or the like. The embodiment of the present invention is not limited to a 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, respectively. In practical use, the 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, control the game character to move through 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 do not overlap. 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 a default scheme and a custom identifier corresponding to a custom scheme are displayed in the second preset area. The default scheme and the custom scheme are respectively a key mouse scheme stored in the game server or the 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 a default identifier corresponding to a default scheme and a custom identifier corresponding to a custom scheme are displayed in the second preset area, so that the right information bar can be prevented from containing more information. Further, the default identifier and the custom identifier are displayed in the second preset area, so that the problems that the identifier of the key mouse scheme cannot be displayed intuitively and the operation of searching the identifier of the key mouse scheme by a user is complex due to the fact that the identifier is arranged in the drop-down list can be avoided.
The technical scheme shown in the application is described in detail through specific embodiments. It should be noted that the following embodiments may be combined with each other, and for the same or similar matters, the description will not be repeated in different embodiments.
Fig. 2 is a flowchart of a method for setting a mouse according to an embodiment of the present invention. As shown in fig. 2, the method for setting a mouse includes:
s201: and receiving a setting instruction corresponding to each of the at least one mouse control, wherein the at least one mouse control is displayed in a first preset area in the game interface.
Alternatively, the execution body of the embodiment of the present invention may be a terminal device, or may be a mouse setting device set in the terminal device, where the 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 mouse control includes: click button, direction key, attack/fire, sight key, gravity sensing, smart magic, right key walk, and view angle movement. Specifically, please refer to fig. 4.
Optionally, the setting instruction includes a position setting instruction and/or a key identification instruction. The position setting instruction is used for displaying a functional icon corresponding to the identification control in at least one key mouse control on the game interface, and the key position identification instruction is used for setting the key position identification of the key control corresponding to the identification control.
Alternatively, the first preset area may be displayed in an upper side area, a lower side area, a left side area, or a right side area of the game interface.
S202: and generating and storing a custom scheme according to the setting instruction corresponding to each at least one key mouse control, wherein the custom scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier corresponding to each key position control.
Specifically, a storage control is further displayed in the first preset area, and a custom scheme can be generated and stored according to a setting instruction corresponding to at least one key mouse control and a storage instruction corresponding to the storage control.
Alternatively, the custom scheme may be stored in the terminal device, or may be stored in a game server to which the terminal device is connected.
Further, the customization scheme includes at least one mouse control, for example: when the mouse control is a direction key, the direction key corresponds to 4 key position controls, and the 4 key position controls respectively correspond to a 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 corresponding to the forward control is marked as W, the key position corresponding to the backward control is marked as S, the key position corresponding to the left control is marked as A, and the key position corresponding to the right control is marked as D.
For example, during an actual game, the user may not hit "W" on the keyboard at a break point, enabling control of the game character to move forward.
S203: generating a user-defined identifier corresponding to the user-defined scheme, adding the user-defined identifier to a scheme list, displaying the scheme list in a second preset area in the game interface, wherein the first preset area and the second preset area are not overlapped.
Alternatively, the custom identifier may be an automatically generated identifier, or may be an identifier generated according to a setting operation of the user. The automatically generated identifier may be "first user-defined scheme", "second user-defined scheme", etc., and the identifier generated according to the user's setting operation may be any identifier set by the user, such as "22 days of 10 months", "favorite".
Further, when the custom identifier is an identifier generated according to the setting operation of the user, after the custom scheme is generated, a 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 in an upper side area, a lower side area, a left side area, or a right side 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 an upper area of the game interface, the second preset area is a right area of the game interface.
The method for setting the keyboard and the mouse provided by the embodiment of the invention comprises the following steps: 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 a game interface; generating and storing a self-defining scheme according to the setting instruction corresponding to each at least one key mouse control, wherein the self-defining scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier corresponding to each key position control; generating a user-defined identifier corresponding to the user-defined scheme, adding the user-defined identifier to a scheme list, displaying the scheme list in a second preset area in the game interface, wherein the first preset area and the second preset area are not overlapped. In the above process, at least one 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 more information is included in the right information bar in the prior art can be avoided. Further, the scheme list is displayed in the second preset area, so that the marks in the scheme list can be intuitively displayed, and the complexity of the operation of searching the marks by a user is further reduced.
On the basis of the above embodiment, a further detailed description of the method for setting a mouse is provided with reference to fig. 3, and specifically, please refer to the embodiment of fig. 3.
Fig. 3 is a second flowchart of a method for setting a mouse according to an embodiment of the present invention. As shown in fig. 3, the method for setting a mouse 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 one possible design, the at least one mouse control includes an identification control, the setting instruction includes a key position identification instruction of the identification control, and the receiving the setting instruction of the mouse control includes:
acquiring a key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier instruction.
Optionally, the recognition control is at least one of a direction key, an attack/fire, a sight key, a gravity sensing, a right key walk, and a view angle movement included in the at least one mouse control.
In another possible design, the at least one mouse control includes an identification control, the setting instruction includes a position setting instruction of the identification control, and the receiving the setting instruction of the mouse control includes:
Acquiring a position setting instruction;
and controlling and displaying the function icons corresponding to the identification controls on the game interface in a mode corresponding to the triggering mode according to the triggering mode 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 recognition 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 the clicking operation, the function icon corresponding to the identification control is controlled to be fixedly displayed at the position corresponding to the identification control in the game interface, wherein the function icon comprises at least one key control corresponding to the identification control.
The position corresponding to the recognition control is a preset position. For example, when the recognition control is a direction key, a preset position corresponding to the direction key may be a lower left corner of the game interface, and when the recognition control is a view angle movement, a 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 the drag operation, the function icon corresponding to the identification control is controlled to move to the game interface along with the drag operation, and the function icon is configured to move in the moving interface along with the drag operation.
In another possible design, the at least one mouse control includes an identification control, the setting instruction includes a position setting instruction and a key position identification instruction, and the receiving the setting instruction of the mouse control includes:
acquiring a position setting instruction;
controlling and displaying the function icons corresponding to the identification controls on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction;
acquiring a key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier 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.
In the prior art, when the triggering mode of the position setting instruction is a click operation, the functional icon corresponding to the identification control is usually displayed in the center of the game interface, so that part of the game interface in the game scene is blocked, and further, when the key position identifier is set for at least one corresponding key position control in the identification control, the functional icon may also need to be moved, so that the secondary operation of a user is caused, and the setting efficiency of the key position identifier is reduced. In the application, the functional icons corresponding to the identification controls are fixedly displayed at the positions corresponding to the identification controls in the game interface, so that the situation that part of the game interface in a game scene is blocked can be avoided, further, the functional icons are fixed, the secondary operation of a user can be avoided, and the setting efficiency of key position identification is improved.
Further, unlike the prior art, in the prior art, at least one mouse control is displayed in a right information field of a game interface, when a user sets the mouse control, the mouse control in the right information field needs to be dragged from right to left to a left area of the game interface, and in the dragging process, the mouse control dragged from right to left does not conform to the daily operation habit of the user, and further, because a display screen of the current terminal device is generally rectangular, the mouse control dragged from right to left makes the dragging distance longer. In the 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 drag operation, the function icon corresponding to the control identification control from top to bottom can move to the game interface along with the drag operation.
S302: and generating and storing a custom scheme according to the setting instruction corresponding to each at least one key mouse control, wherein the custom scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier corresponding to each key position control.
Specifically, the execution method of S302 is the same as that of S202. Here, the execution process of S302 is not described in detail.
S303: generating a user-defined identifier corresponding to the user-defined scheme, adding the user-defined identifier to a scheme list, displaying the scheme list in a second preset area in the game interface, wherein the first preset area and the second preset area are not overlapped.
Specifically, the execution method of S303 is the same as that of S203. Here, the execution process of S303 is not described in detail.
S304: and if the total number of the default identifications corresponding to the at least one default scheme and the corresponding custom identifications of the at least one custom scheme is greater than or equal to a preset threshold, displaying a scroll control in the scheme list.
Specifically, the scheme list may include at least one default identifier corresponding to the default scheme and at least one custom identifier corresponding to the custom scheme, and may also include only at least one custom identifier corresponding to the custom scheme. Wherein at least one default solution is a cloud solution (i.e., set in a server).
Alternatively, the preset threshold may be 8, 9, 10, or the like.
Optionally, a 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.
Alternatively, the scroll control may be a drag find control or may click find control.
For example, when the scroll control is a drag search control, when the user clicks a right button of the mouse and drags the drag search control, an identifier corresponding to a solution required by the user may be searched for in at least one default solution and at least one self-defined solution included in the solution 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 the user continuously clicks the right button of the mouse, the identifier corresponding to the scheme required by the user can be searched in at least one default scheme and at least one self-defined scheme included in the scheme list.
It should be noted that, if the total number of the identifiers is smaller than the preset threshold, another self-defining method may be generated again according to S301 to S303, and the self-defining identifier corresponding to the self-defining method is added to the scheme list.
S305: and for any first scheme in the scheme list, responding to key position display operation acting on the first scheme, and displaying at least one key position control and a key mouse identifier corresponding to each key position control in the first scheme in a game interface.
Specifically, please refer to at least one key control included in each key control and a key mouse identifier corresponding to each key control in the first scheme displayed in the game interface shown in fig. 4.
Unlike the prior art, in the prior art, the scheme drop-down list includes at least one identifier of a mouse scheme, when a user needs to find an identifier of a mouse scheme, the scheme drop-down list needs to be unfolded, and after the identifier of the mouse scheme is found, the scheme drop-down list is folded, so that the identifier of the at least one mouse scheme is hidden too deeply, and the identifier of the at least one mouse scheme cannot be intuitively 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 intuitively displayed in a game interface, the operation that a user needs to unfold the scheme drop-down list and fold the scheme drop-down list is avoided, and the game experience of the user is improved.
S306: for any first key control in at least one key control, the deletion operation acting on the first key control is responded, and the first key control and the key mouse identifier corresponding to the first key control are canceled from being displayed.
Specifically, after displaying at least one key control, displaying the deletion control 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 the actual requirement.
In one possible design, for the first key control, the method for setting a key mouse further includes:
and responding to the replacement operation acted on the first key control, and replacing the key mark corresponding to the first key control.
For example, the first key control is a city returning control (original key identification is "B", and after the replacing operation for the first key control is responded, the key identification "B" corresponding to the first key control is replaced with "0".
It should be noted that, after replacing the key identifier corresponding to the first key control, if the first key control is a control in the default scheme, after replacing the key identifier corresponding to the first key control, a self-defining scheme is automatically generated and stored, and meanwhile, a self-defining identifier corresponding to the self-defining scheme is generated and added to the scheme list.
In the step, at least one key position control part included in each key mouse control part and the key mouse identifier corresponding to each key position control part in the first scheme are displayed in the game interface, so that a user can directly cancel to display the first key position control part and the key mouse identifier corresponding to the first key position control part, replace the key position identifier corresponding to the key position control part, and improve the setting efficiency of the user on the key position identifier.
Fig. 4 is an interface schematic diagram of a method for setting a mouse according to an embodiment of the present invention. As shown in fig. 4, interfaces 401-404 are included.
Please refer to the interface 401. At least one mouse control (including click button, direction key, attack/fire, sight key, gravity sensing, intelligent magic, right key walk, and view angle movement), save control, cancel control, exit setup control) is displayed in the first preset area 41. Wherein the at least one recognition control comprises: direction key, attack/fire, sight key, gravity sensing, right key walk, and view angle movement. A scheme selection frame and an advanced setting frame are displayed in the second preset area 42, wherein the scheme selection frame includes: the LOL mode (right walk) and WASD move + K key attack two default schemes, as well as custom schemes.
On the basis of the interface 401, the user performs clicking operation on a direction key (recognition control), and the function icon 43 may be displayed at a position (a preset position in the lower left corner of the interface 401) corresponding to the direction key, where the function icon 43 includes at least one key control 44.
Referring to interface 402, on the basis of interface 401, a 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 for the key control corresponding to the identification control according to the key identification instruction.
For example, a key identification operation is performed on one key control 44, and the terminal device generates a key identification instruction according to the key identification operation and sets a key identification "W" for the key control according to the key identification instruction.
Referring to interface 403, after key position identification is performed on attack/fire, sight key, gravity sensing, right key walking, and view angle movement in sequence, clicking the save control, the user-defined identification "user-defined scheme two" may be displayed in the scheme selection box.
Referring to interface 404, if the user clicks "user-defined scheme one" on the basis of interface 403, then clicks the key prompt and the mouse switch in turn, and sets the transparency of the key prompt to 100%, and displays at least one key control included in "user-defined scheme two" and a mouse identifier corresponding to each key control and a removing control corresponding to each key control in an area other than first preset area 41 and second preset area 42 in the game interface.
Fig. 5 is a schematic structural diagram of a mouse setting device according to an embodiment of the present invention. As shown in fig. 5, the 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 each of at least one mouse control, where the at least one mouse control is displayed in a first preset area in the game interface displayed by the display module;
the generating module 13 is configured to generate a custom scheme according to the setting instruction corresponding to each of the at least one mouse control;
the storage module 14 is configured to store a customization scheme, where the customization scheme includes at least one key mouse control, at least one key position control corresponding to each key mouse control, and a key mouse identifier corresponding to each key position control;
the generating module 13 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 do not overlap.
It should be noted that, the mouse setting device 10 is set in the terminal device, and a graphical user interface may be provided through the terminal device, where the graphical user interface includes a game interface.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In one possible design, the at least one 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 and displaying the function icons corresponding to the identification controls on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction.
In another possible design, the at least one mouse control includes an identification control, the setting instruction includes a key identification instruction of the identification control, and the receiving module 11 is specifically configured to:
acquiring a key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier instruction.
In another possible design, the at least one mouse control includes an identification control, the setting instruction includes a position setting instruction and a key identification instruction, and the receiving module 11 is specifically configured to:
acquiring a position setting instruction;
controlling and displaying the function icons corresponding to the identification controls on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction;
Acquiring a key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier instruction.
In another possible design, the receiving module 11 is specifically configured to:
determining a triggering mode of the position setting instruction as clicking operation, and controlling to fixedly display a functional icon corresponding to the identification control in a position corresponding to the identification control in the game interface, wherein the functional icon comprises at least one key control corresponding to the identification control;
and determining a triggering mode of the position setting instruction as a drag operation, controlling the function icon corresponding to the identification control to move to the game interface along with the drag operation, and configuring the function icon to move in the moving interface along with the drag operation.
In another possible design, the display module 12 is further configured to, in the scheme list, include a default identifier corresponding to at least one default scheme and a corresponding custom identifier of at least one custom scheme, generate and store the custom scheme according to a setting instruction corresponding to each of the at least one mouse control, and if it is determined that the total number of the default identifier corresponding to the at least one default scheme and the corresponding custom identifier of the at least one custom scheme is greater than or equal to a preset threshold, display a scroll control in the scheme list.
In another possible design, for any first scenario in the scenario list, the display module 12 is further configured to, after displaying the scroll control in the scenario list, display at least one key control included in each of the key mouse controls in the first scenario and a key mouse identifier corresponding to each of the key mouse controls in the game interface in response to a key presentation operation acting on the first scenario.
In another possible design, for any first key control of the at least one key control, the display module 12 is further configured to, after displaying, in the game interface, at least one key control included in each key mouse control in the first scheme and a key mouse identifier corresponding to each key control, cancel displaying the first key control and the key mouse identifier corresponding to the first key control in response to a deletion operation acting on 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 control, and replacing the key mark corresponding to the first key control.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 6 is a schematic hardware structure of a mouse setting device according to an embodiment of the present invention. As shown in fig. 6, the mouse setting device 20 includes: a processor 21 and a memory 22, wherein,
memory 22 is used to store computer-executable instructions;
the processor 21 is configured to execute computer-executable instructions stored in the memory, so that the processor executes the method for setting a keyboard and mouse according to any of the above-described method embodiments.
Alternatively, the memory 22 may be separate or integrated with the processor 21.
When the memory 22 is provided independently, the 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 the computer readable storage medium is used for executing instructions, and when a processor executes the computer executing instructions, the method for setting the keyboard and the mouse in any method embodiment is realized.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some steps of the methods of the various embodiments of the present application.
It should be understood that the above processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. 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 for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings 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 nonvolatile 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 disk. 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 appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: a ROM, RAM, magnetic or optical disk, or the like, which can store program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (12)

1. A method for setting a mouse, wherein a graphical user interface is provided through a terminal device, the graphical user interface including a game interface, the method comprising:
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 each at least one key mouse control, wherein the self-defining scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier corresponding to each key position control;
Generating a self-defined identifier corresponding to the self-defined scheme, and adding the self-defined 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 mouse control includes an identification control, the setting instruction includes a position setting instruction of the identification control, and the receiving the setting instruction of the mouse control includes:
acquiring the position setting instruction;
and controlling and displaying the function icon corresponding to the identification control on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction.
3. The method of claim 1, wherein the at least one mouse control includes an identification control, the setting instruction includes a key identification instruction of the identification control, and the receiving the setting instruction of the mouse control includes:
acquiring the key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier instruction.
4. The method of claim 1, wherein the at least one mouse control includes an identification control, the set-up instructions include a position set-up instruction and a key identification instruction, and the receiving the set-up instructions of the mouse control includes:
acquiring the position setting instruction;
controlling and displaying the function icon corresponding to the identification control on the game interface in a mode corresponding to the triggering mode according to the triggering mode of the position setting instruction;
acquiring the key position identification instruction;
and setting a key position identifier for the key position control corresponding to the identification control according to the key position identifier 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 manner corresponding to the trigger mode includes:
determining a triggering mode of the position setting instruction as clicking operation, and controlling to fixedly display a functional icon corresponding to the identification control at a position corresponding to the identification control in the game interface, wherein the functional icon comprises at least one key control corresponding to the identification control;
And determining a triggering mode of the position setting instruction as a drag operation, controlling the functional icon corresponding to the identification control to move to the game interface along with the drag operation, and configuring the functional icon to move in the moving interface along with the drag operation.
6. The method according to claim 1, wherein the scheme list includes a default identifier corresponding to at least one default scheme and a corresponding custom identifier of at least one custom scheme, and after generating and storing the custom scheme according to the setting instruction corresponding to each of the at least one mouse control, the method further includes:
and if the total number of the default identifications corresponding to the at least one default scheme and the corresponding custom identifications of the at least one custom scheme is greater than or equal to a preset threshold, displaying a scroll control in the scheme list.
7. The method of claim 6, wherein for any first scenario in the scenario list, the method further comprises, after displaying a scroll control in the scenario list:
and responding to key position display operation acted on the first scheme, and displaying at least one key position control and a key mouse identifier corresponding to each key position control in the first scheme in the game interface.
8. The method of claim 7, wherein, for any first key control of the at least one key control, after displaying, in the game interface, at least one key control included in each key mouse control in the first scheme and a key mouse identifier corresponding to each key control, the method further comprises:
and responding to the deleting operation acted on the first key control, and canceling to display the first key control and the key mouse identifier corresponding to the first key control.
9. The method of claim 8, wherein for the first key position control, the method further comprises:
and responding to the replacement operation acted on the first key control, and replacing the key mark corresponding to the first key control.
10. The mouse setting device is characterized by being arranged on a terminal device, and providing a graphical user interface through the terminal device, wherein the graphical user interface comprises a game interface, and the mouse setting device comprises: the device comprises a receiving module, a display module, a generating module and a storage module, wherein,
the receiving module is used for receiving setting instructions corresponding to at least one mouse control, wherein the at least one 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 mouse control;
the storage module is used for storing the self-defining scheme, and the self-defining scheme comprises at least one key mouse control, at least one key position control corresponding to each key mouse control and a key mouse identifier 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 do not overlap.
11. A key mouse setting device, comprising: a processor and a memory;
the memory is used for storing computer execution instructions;
the processor is configured to execute computer-executable instructions stored in the memory, so that the processor executes the method for setting a keyboard and mouse according to any one of claims 1 to 9.
12. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the method of setting a key mouse as claimed in any one of claims 1 to 9.
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 CN110860085A (en) 2020-03-06
CN110860085B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN110860085A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
US20220261126A1 (en) Display control method and device, electronic device and storage medium
CN109933322B (en) Page editing method and device and computer readable storage medium
JPWO2008044321A1 (en) Operation support computer program, operation support computer system
CN112162665B (en) Operation method and device
CN107479818B (en) Information interaction method and mobile terminal
CN109032450B (en) Mobile terminal and floating mark display method thereof
CN110215695B (en) Game object selection method and device
CN105144058A (en) Deferred placement prompt
CN111459376A (en) Product guiding method, device and equipment
CN107391165A (en) Control display methods, client and storage medium
CN114036443A (en) Page generation method and device
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN112130951A (en) AI-based RPA flow generation end flow generation method, equipment and storage medium
CN110860085B (en) Mouse setting method and device
CN113721819B (en) Man-machine interaction method and device and electronic equipment
CN111603757B (en) Processing method, device and equipment for equipment in game
CN113656533A (en) Tree control processing method and device and electronic equipment
US10254959B2 (en) Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor
CN112698762A (en) Icon display method and device and electronic equipment
CN112286554A (en) Application program updating method and device, electronic equipment and readable storage medium
CN112070587A (en) Information sharing method and device for virtual article, electronic equipment and storage medium
US20240100429A1 (en) Method for display control in game, computer-readable storage medium, and electronic device
JP2017531868A (en) Website information providing method and apparatus based on input method
WO2022089480A1 (en) Information processing method and apparatus, and electronic device
CN113648661A (en) Method and device for processing information in game, electronic equipment and storage medium

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