CN110850999A - Keyboard key value setting method, computer device and computer readable storage medium - Google Patents

Keyboard key value setting method, computer device and computer readable storage medium Download PDF

Info

Publication number
CN110850999A
CN110850999A CN201911102976.9A CN201911102976A CN110850999A CN 110850999 A CN110850999 A CN 110850999A CN 201911102976 A CN201911102976 A CN 201911102976A CN 110850999 A CN110850999 A CN 110850999A
Authority
CN
China
Prior art keywords
key value
keyboard
key
plane model
model
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
CN201911102976.9A
Other languages
Chinese (zh)
Other versions
CN110850999B (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.)
Zhuhai Learning Electronic Technology Co Ltd
Original Assignee
Zhuhai Learning Electronic Technology 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 Zhuhai Learning Electronic Technology Co Ltd filed Critical Zhuhai Learning Electronic Technology Co Ltd
Priority to CN201911102976.9A priority Critical patent/CN110850999B/en
Publication of CN110850999A publication Critical patent/CN110850999A/en
Application granted granted Critical
Publication of CN110850999B publication Critical patent/CN110850999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0238Programmable keyboards

Abstract

The invention provides a method for setting key values of keyboard keys, a computer device and a computer readable storage medium, wherein the method for setting the key values of the keyboard keys comprises the steps of displaying a first keyboard plane model; judging whether a first selection operation instruction of any key model in the first keyboard plane model is acquired, if so, displaying a key value selection list; and judging whether a second selection operation instruction for any key value option in the key value selection list is obtained or not, and determining the key value of the key model according to the second selection operation instruction. The computer device executes the computer program to realize the setting method of the key values of the keyboard keys, and the program of the computer readable storage medium can realize the setting method of the key values of the keyboard keys when being read. The method for setting the key values of the keys of the keyboard improves the applicability of the keyboard and meets the use requirements of more users.

Description

Keyboard key value setting method, computer device and computer readable storage medium
Technical Field
The invention relates to the technical field of keyboards, in particular to a keyboard key value setting method, a computer device and a computer readable storage medium.
Background
In the existing keyboard, each key has a preset key value so as to realize the quick plug-in use of the keyboard. The keyboard with the preset key values can meet the use requirements of most users with low requirements on the key values of the keyboard.
However, some users have their own habits, and a keyboard with only preset key values cannot meet the use requirements of the user group, which affects the use experience.
Disclosure of Invention
The first purpose of the present invention is to provide a method for setting key values of keyboard keys, which improves the applicability of the keyboard.
The second objective of the present invention is to provide a computer device capable of implementing the method for setting key values of keys of a keyboard.
A third objective of the present invention is to provide a computer-readable storage medium capable of implementing the method for setting key values of keyboard keys.
The method for setting key values of the keys of the keyboard comprises the steps of displaying a first keyboard plane model; judging whether a first selection operation instruction of any key model in the first keyboard plane model is acquired, if so, displaying a key value selection list; and judging whether a second selection operation instruction for any key value option in the key value selection list is obtained or not, and determining the key value of the key model according to the second selection operation instruction.
According to the scheme, a user can click the key model in the keyboard plane model on the setting interface of the setting software and select the key value option of the key which is considered to be suitable by the user as the key value of the key, so that the user-defined setting of the key value of each key on the keyboard is realized, the applicability of the keyboard is improved, and the use requirements of more users are met.
The method further comprises the steps of judging whether a second selection operation instruction for any key value option in the key value selection list is obtained or not, determining the key value of the key model according to the second selection operation instruction, judging whether the key value of the key model is the first function key value or not, and if so, generating a second keyboard plane model associated with the first function key value.
Therefore, after the key value of any key model on the keyboard is set as the key value of the first function key, a new keyboard plane model is needed to enable a user to define the second key value of each key model. The arrangement makes the use function of the key stronger, and the key value setting operation is humanized.
The method further includes judging whether a key value of the key model is a first function key value, if so, generating a second keyboard plane model associated with the first function key value, then judging whether the first keyboard plane model has a key model with the key value determined as the second function key value, if so, generating a third keyboard plane model associated with the second function key value, and generating a fourth keyboard plane model associated with the first function key value and the second function key value.
As can be seen from the above, after the key values of any one of the key models on the first keyboard plane model are set as the first function key values, if the user sets another key value as the second function key value, that is, there are Fn1 keys and Fn2 keys on the keyboard, in this case, similarly, the software needs to generate a third keyboard plane model associated with Fn2 to set the key values of other keys after pressing the Fn2 key, and at the same time, the software needs to generate and display a fourth keyboard plane model associated with Fn1 and associated with Fn2 to set the key values of other keys after the user simultaneously presses Fn1 and Fn2 keys. Therefore, under the setting, each key on the keyboard has four key values, and if a user sets more function key values, each key has more key values, so that the function of the keyboard is further enhanced.
Generating a third keyboard plane model associated with the second function key value, generating a fourth keyboard plane model associated with the first function key value and the second function key value, generating a key value setting item file according to the key values of the key models in the first keyboard plane model, the second keyboard plane model, the third keyboard plane model and the fourth keyboard plane model, and executing the key value setting item file; and generating and executing a target instruction according to the acquired typing instruction and a preset key value combination rule.
As can be seen from the above, after the key value setting of the keyboard is completed and saved as the key value setting item file, each key on the keyboard has four key values, and if the user sets more function key values, each key has more key values, thereby further making the function of the keyboard stronger.
Further, displaying the first keyboard plane model includes displaying the first keyboard plane model in a first display option bar; generating a second keyboard plane model associated with the first function key value, and then displaying the second keyboard plane model in a second display option bar; and after generating a third keyboard plane model associated with the second function key value and generating a fourth keyboard plane model associated with the first function key value and the second function key value, displaying the third keyboard plane model in a third display option bar and displaying the fourth keyboard plane model in a fourth display option bar.
Therefore, the keyboard plane models are selectively displayed by clicking the option bar, the keyboard plane models can be displayed in a limited interface to the maximum extent, and users can select and click the keyboard plane models more conveniently.
A third keyboard plane model associated with the second function key value is generated, and after a fourth keyboard plane model associated with the first function key value and the second function key value is generated, at least two of the first keyboard plane model, the second keyboard plane model, the third keyboard plane model and the fourth keyboard plane model are simultaneously displayed on the interface.
Therefore, at least two keyboard plane models are displayed in the interface simultaneously to achieve the comparison effect, so that a user can compare the key positions with different key values of the same key more clearly, and the operation interface is more humanized.
Judging whether a second selection operation instruction for any key value option in the key value selection list is acquired or not, determining the key value of the key model according to the second selection operation instruction, and generating a key value setting item file according to the key value of each key model; and downloading at least two key value setting project files according to the downloading operation instruction.
Therefore, a user can select at least two key value setting item files in the software interface and download the key value setting item files into the keyboard for switching use.
The method further comprises the steps of judging whether a switching operation instruction is acquired or not after downloading at least two key value setting item files according to the downloading operation instruction, and if so, switching the currently executed key value setting item files according to a preset rule.
Therefore, a user can set and store a plurality of key value setting project files according to own use habits, one key is set as a project switching function key, and the key value setting project files can be replaced after the project switching function key is pressed. The key value of each key in each key value setting project file can reach more than 4, if two groups of key value setting project files are stored, the key value of each key can reach more than 8, and the function of the keyboard is stronger.
A second object of the present invention is to provide a computer device including a processor, wherein the processor is configured to implement the method for setting key values of keyboard keys when executing a computer program stored in a memory.
A third object of the present invention is to provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method for setting key values of keyboard keys as described above.
Drawings
Fig. 1 is a schematic diagram illustrating key arrangement of a target product keyboard in an embodiment of a keyboard key firmware generation method according to the present invention.
FIG. 2 is a diagram illustrating a first state of a rectangular array of analog units according to an embodiment of a keyboard key firmware generation method of the present invention.
FIG. 3 is a diagram illustrating a second state of a rectangular array of analog units according to an embodiment of the keyboard key firmware generation method of the present invention.
FIG. 4 is a diagram illustrating a third state of the rectangular array of analog units in the keyboard key firmware generation method according to the present invention.
FIG. 5 is a diagram illustrating a fourth state of the rectangular array of analog units in the method for generating firmware of keyboard keys according to the present invention.
Fig. 6 is a schematic diagram of a first state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention.
Fig. 7 is a schematic diagram of a second state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention.
Fig. 8 is a schematic diagram of a third state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention.
Fig. 9 is a schematic diagram of a fourth state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention.
Fig. 10 is a schematic diagram of a fifth state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention.
Fig. 11 is a schematic diagram of a first state of an operation interface in an embodiment of a keyboard light effect setting method of the invention.
Fig. 12 is a schematic diagram of a second state of the operation interface in the embodiment of the keyboard light effect setting method of the invention.
Detailed Description
Embodiment of keyboard key firmware generation method
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a key layout of a target product keyboard in an embodiment of a keyboard key firmware generation method of the present invention. In the present embodiment, a keyboard with 87 keys is used as the target product keyboard 9, the target product keyboard 9 has six rows of key groups, and the six rows of key groups arranged from top to bottom respectively have 16 keys, 17 keys, 13 keys and 11 keys.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a first state of a rectangular array of analog units in an embodiment of a keyboard key firmware generation method according to the present invention. Firstly, a user opens an application program for generating keyboard key firmware, at this time, a simulation unit rectangular array 1 and some columns for filling setting parameters are displayed on a display interface, the simulation unit rectangular array 1 is provided with 8 rows × 24 columns of simulation units 10, each simulation unit 10 is an independent interactive object, the user can change the unit attribute of the simulation unit 10 by clicking or touching with a mouse, the unit attribute of the simulation unit 10 is one of an inactive unit, a used key unit, an unused key unit, a function key unit and a lamp strip unit, and different unit attributes are distinguished by different patterns and colors. After the software is turned on, the cell attributes of the simulation cell 10 in the rectangular array of simulation cells default to an inactive cell.
Referring to fig. 1 to 3, fig. 3 is a schematic diagram illustrating a second state of the rectangular array of analog units in the embodiment of the keyboard key firmware generation method of the present invention. The columns for filling the setting parameters include a column for filling the number of rows of the simulation units and a column for filling the number of columns of the simulation units, and since the target product keyboard has six rows of key groups, and the number of keys of the key group with the maximum number of keys is 17, a simulation unit rectangular array of the simulation units 10 with 6 rows × 17 columns can be selected as the setting basis. After the user fills the column of the analog cell row with the number "6" and fills the column of the analog cell column with the number "17" and confirms, the system obtains the number "6" as the cell row selection instruction and the number "17" as the cell column selection instruction, and creates an analog cell rectangular array 11 having analog cells 10 of 6 rows × 17 columns in the analog cell rectangular array 1 from the upper left corner as the starting point, the cell attribute of each analog cell 10 in the analog cell rectangular array 11 is changed to use the key cell 101, the color of the key cell 101 is darker than that of the analog cell 10, and the "√" pattern is displayed in the key cell 101.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a third state of the rectangular array of analog units in the embodiment of the keyboard key firmware generation method of the present invention. And then, confirming whether the target product keyboard is provided with the lamp strip at the periphery of the key or not, wherein the lamp strip is arranged at the periphery of the key or only the edge in one or two directions is provided with the lamp strip. All be provided with the lamp area around the target product keyboard in this embodiment.
The fields for populating the setup parameters include four check options: "go up the lamp area", "lower lamp area", "left lamp area" and "right lamp area", after checking these four options of checking up, the system acquires the lamp area and sets up the instruction, simulation unit rectangular array 11 moves out suitable position, the system sets up the unit attribute that the unit 10 of a plurality of simulation units of 11 peripheries of simulation unit rectangular array becomes lamp area unit 104 more according to the lamp area, show "O" pattern in the lamp area unit 104, preferably, the colour of lamp area unit 104 is darker than the colour that uses key unit 101.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a fourth state of the rectangular array of analog units in the embodiment of the keyboard key firmware generation method of the present invention. Since the target product keyboard 9 does not have 17 keys per key row, some of the elements in the rectangular array of analog elements 11 using the key elements 101 need to be changed to unused key elements 102. When the user clicks the use button unit 101 with the left mouse button and the system acquires the first click command, the cell attribute of the clicked simulation cell 10 is changed from the use button unit 101 to the unused button unit 102, and an "x" pattern is displayed in the unused button unit 102. The first click command can be a click touch command for the touch screen besides a left mouse button click command. When the user clicks the simulation unit 10 having the unit state of not using the key unit 102 with the left mouse button, the unit attribute of the simulation unit 10 is changed to using the key unit 101.
After the number of the key units 101 used in the analog unit rectangular array 11 is set according to the target product keyboard 9, a maximum of three BOOT function keys can be set. The user right clicks on the simulation unit 10 having the unit attribute of using the key unit 101 with the mouse, and the system acquires the second click command, and then changes the unit attribute of the simulation unit 10 to the function key unit 103, and displays the "B" pattern in the function key unit 103. The second click command can be a long touch on the touch screen besides a right click command of the mouse.
In addition, the columns for filling the setting parameters also include columns for filling the number of the indicator lights, the keyboard of the target product is provided with 3 indicator lights, and the user fills the number "3" in the columns for filling the number of the indicator lights. The number "3" is used as the indicator setting command.
After the setting steps are completed and after the interface clicks 'write firmware', the system generates keyboard key firmware according to the unit attributes of each simulation unit 10 in the simulation unit rectangular array 1 and the indicator lamp setting instruction, and writes the keyboard key firmware into the target product keyboard connected to the computer.
Method for setting key value of keyboard key
Referring to fig. 6, fig. 6 is a schematic diagram of a first state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention. At this time, the target product keyboard is connected to the computer, and after the user opens the keyboard key value setting software, the user opens the keyboard key firmware generated by the keyboard key firmware software, and then the operation interface shown in fig. 6 is entered. The operation interface includes an item file list area 2, an item file download area 3, a model display area 4, a parameter setting area 5, and an indicator light setting area 6.
All the key-value setting item files already existing in the keyboard key firmware, such as the key-value setting item file 21 named "profile 1" and the other three key-value setting item files named "profile 2", "profile 3", and "profile 4", respectively, are displayed in the item file list area 2. Taking the key value setting item file 21 as an example, the key value setting item file 21 includes not only the key value self-defining item 211 but also the light effect self-defining item 212.
Three option columns 31 for downloading the project files which can be selected are arranged in the project file downloading area 3, each option column 31 for downloading the project files comprises all existing key value setting project files, the selected and selected key value setting project files are downloaded into a keyboard, and when the keyboard is used, a plurality of key value setting project files become objects for switching use.
At this time, only the first display option 41 is displayed in the model display area 4, the first display option 41 is a "default" display column, and the first keyboard plane model 410 is displayed in the first display option 41. The number and arrangement of key models within the first keyboard plane model 410 match the target product keyboard and the previously written keyboard key firmware.
However, since no interactive operation is performed, the currently performed item falls on the key value customization item 211, and at this time, only the title "key value customization" and the prompt "please select the key" are displayed on the parameter setting area 5. The indicator setting area 6 is used for setting the indication attribute of each indicator, wherein there is an option bar 61 of each indicator, and each option bar of each indicator has a plurality of indication attribute options 611.
Referring to fig. 7, fig. 7 is a schematic diagram of a second state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention. The user may select any of the key models from the first keyboard plane model 410 by clicking to set its key values. Firstly, the system judges whether a first selection operation instruction of any key model in a first keyboard plane model 410 is acquired, a user clicks the key model 411, the system acquires the first selection operation instruction of the key model 411, if so, a key value selection list is immediately generated in a parameter setting area 5, the key value selection list comprises a first-layer key value classification selection list 51, and the first-layer key value classification selection list 51 comprises options such as 'keyboard key', 'mouse', 'multimedia' and 'Fn key'; after clicking and selecting the ' keyboard key ', the parameter setting area 5 generates a second-layer key value classification selection list 52, wherein the second-layer key value classification selection list 52 has options of ' A-Z ', ' 1-9 ', ' F1-F12 ', function keys ' and the like; after clicking and selecting the option "a-Z", the parameter setting area 5 generates a third-level key value classification selection list 53, where the third-level key value classification selection list 53 includes 26 selectable selection objects that can be checked, such as "a" to "Z". After the user clicks the selection object "S" 531, the system recognizes the second selection operation command, and then confirms the key value of the key model 411 as the english letter "S" according to the selection object "S".
Referring to fig. 8, fig. 8 is a schematic diagram of a third state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention. The user continues to click the key model 412 in the first keyboard plane model 410, and the user selects the "Fn key" option in the first-layer key value classification selection list 51 generated in the parameter setting area 5, and then the parameter setting area 5 generates and displays a second-layer key value classification selection category 54, which includes two key value options, "Fn 1" and "Fn 2," the key value corresponding to Fn1 "is the first function key value, and the key value corresponding to Fn 2" is the second function key value. The user then clicks the "Fn 1" key value option, and the system identifies the key value of the key model 412 as the first function key value.
Because the Fn key is a functional key, under the normal use of the keyboard, after the Fn key is pressed, the key values of some keys are changed, and then the multi-way use of the same key is realized. Therefore, after the system confirms the key value of each key model, the system executes a judging step to judge whether the key value of the key model is the first function key value, and if so, generates a second keyboard plane model associated with the first function key value. Since the key values of the key model 412 are determined as the first function key values, and the determination result of the above determination step is yes, the system generates and displays the second display option column 42 with the title "Fn 1" in the model display area 4, the second display option column 42 has the second keyboard plane model, and the user can switch the currently displayed first keyboard plane model to the second keyboard plane model located in the second display option column 42 by clicking the title "Fn 1", and can perform the custom setting on each key value in the second keyboard plane model in the same setting manner.
With reference to fig. 9, fig. 9 is a schematic diagram of a fourth state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention. Subsequently, the user selects the key value option of the key model 413 as the second function key "Fn 2", and the system determines the key value of the key model 413 as the second function key value according to the second selection operation instruction.
The system determines whether the key value of the key model is present on the first keyboard plane model 410 and determines the key value as the first function key value, and if so, the system continues the determining step to determine whether the key value of the key model is present on the first keyboard plane model 410 and determines the key model as the second function key value.
And the key value of the current key model 413 is determined to be the second function key value, so the system generates the third display option column 43 and the fourth display option column 44 as a result of the determination result in the above step, the third display option column 43 has the third keyboard plane model, the fourth display option column 44 has the fourth keyboard plane model, the user can switch the currently displayed first keyboard plane model to the third keyboard plane model located in the third display option column 43 by clicking the title "Fn 2", and can switch the currently displayed first keyboard plane model to the fourth keyboard plane model located in the fourth display option column 44 by clicking the title "Fn 1+ Fn 2", thereby performing the self-defined setting on each key value in the third keyboard plane model or the fourth keyboard plane model.
With reference to fig. 10, fig. 10 is a schematic diagram of a fifth state of an operation interface in an embodiment of a method for setting key values of keys of a keyboard according to the present invention. In a normal use state of the keyboard, a user firstly presses the second function key 'Fn 2' and then presses certain keys, the key values of the keys are changed, and the key values of the keys are also changed when the user presses the first function key 'Fn 1' and the second function key 'Fn 2' and then presses the certain keys. For example, the user selects the hook object "B" 532 from the key value options of the key model 441 in the fourth keyboard plane model 440, and the key model 441 corresponds to the key model 411 in the first keyboard plane model 410, so that the user will generate the typing instruction "S" when only pressing the key in the normal use state of the keyboard, and will generate the typing instruction "B" when pressing the key after pressing the first function key "Fn 1" and the second function key "Fn 2".
Therefore, after the first function key "Fn 1" and the second function key "Fn 2" are added, a maximum of four different key values can be preset per key value. In addition, as the user can download the item file with at most three different key value settings into the keyboard in the item file downloading area 3, after the keyboard key setting is completed and the keyboard enters a normal use state, the user presses the preset switching key, the system judges that the switching operation instruction is obtained, and the currently executed key value setting item file can be switched according to the preset sequence. Therefore, the key values of each key can reach 12 at most, so that the requirement of a user on the use habit can be met, the requirement of the user on the setting of the degree of freedom of the key values of the keys can be met, and the keyboard is further suitable for more special occasions such as electronic competitions, programming, drawing and the like.
In other embodiments, after the system determines that the first function key value and the second function key value exist, the first keyboard plane model, the second keyboard plane model, the third keyboard plane model and the fourth keyboard plane model can be displayed in the interface at the same time, so that a user can compare the key positions with different key values of the same key more clearly.
Method for setting keyboard light effect
Referring to fig. 11, fig. 11 is a schematic diagram of a first state of an operation interface in an embodiment of a keyboard light effect setting method of the present invention. After the keyboard key value customization is completed, the light effect customization item 212 belonging to the key value setting item file 21 in the item file list area 2 can be clicked to set the keyboard light effect in the key value setting item file 21.
Since the keyboard key firmware has been read, a first keyboard plane model has now been generated and displayed in the model display area 4. Subsequently, after the user clicks the "light effect customization" option, a light effect setting option bar 60 and a "preview" option 63 are displayed in the parameter setting area 5, and the light effect setting option bar 60 has a plurality of preset light effect model options and a "customization mode" option for individually setting the color value of each key model.
After the user clicks the "radar mode" option 61 among the multiple preset lamp effect model options, a "rotation direction" option 611, a "set center" option 612, a "custom color value expanded view" option 613, and three "preset color value expanded view" options 614 are generated and displayed in the parameter setting area 5.
After the user clicks the "preview" option in the parameter setting area 5, the system forms a light effect display area 419 for presenting a color value change simulation effect according to the overall size and the peripheral contour of the first keyboard plane model 410, in this embodiment, the light effect display area 419 is formed by adding a certain preset margin on the basis of the size of the first keyboard plane model 410, and the system generates a color value change rule according to the currently selected option in the light effect setting option column 60, the "rotation direction" option 611, the "set center" option 612, the "custom color value expansion diagram" option 613, and the three "preset color value expansion diagram" options 614, and updates the color value of the light effect display area 419 at a certain time frequency according to the color value change rule.
The "rotation direction" option 611 has two options of "clockwise" and "counterclockwise", and the system generates rotation direction data according to the selection of the user in the "rotation direction" option 611, and updates the color value change rule according to the rotation direction data.
After clicking the "set center" option 612, the user may click an arbitrary position in the first keyboard plane model 410 or in the light effect display area 419 as the center position of the "radar mode" preset model, and the system acquires center position data according to the selection of the center position and updates the color value change rule according to the center position data.
The option 613 of "custom color value expansion diagram" and the option 614 of "preset color value expansion diagram" are color change diagrams after expanding the rotation direction along a straight line, and the color change diagrams show a color gradient effect, while the option 613 of "custom color value expansion diagram" has a plurality of buoys with fixed color values, and a user can change the position of the fixed color value on the expansion diagram by pulling the buoys, so as to customize the color change trend in the rotation direction. The user can select to perform color value customization from the option 613 of "customized color value expansion diagram" or click and select any one of the three options 614 of "preset color value expansion diagram", and the system generates color value change range data according to the acquired key-in signal and updates the color value change rule according to the color value change range data.
In addition, the light effect setting data may further include color value change rate data, and the user may drag the float in the slider in the parameter setting area 5 to adjust the color value change rate, thereby controlling the speed of color value rotation change in the "radar mode" preset model.
Referring to fig. 12, fig. 12 is a schematic diagram of a second state of the operation interface in the embodiment of the keyboard light effect setting method of the present invention. If the "custom mode" option 62 is selected in the light effect setting option field 60, the system enters a custom mode in which the color value of each key model is individually set, and the currently selected color value display unit 621 and a plurality of color value setting modules are displayed in the parameter setting area 5, where the plurality of color value setting modules include an RGB color value filling field 622, a circular color value map 623, and a preset color value option 624. The user selects a key model with a color value to be changed from the first keyboard plane model 410, and then sets the key model in a plurality of color value setting modules to change the color value of the key model. If the user clicks the key model 412 and fills in the RGB color value filling field 622 with values such that the RGB values become 255,0,0, in the first keyboard plane model 410, the system determines that the light effect display area is within the outline of the selected key model 412, and the key model 412 is displayed in red.
Therefore, the method for setting the keyboard lamp effect has high setting freedom degree and meets the visual requirements of users as much as possible.
Embodiments of a computer device
The computer device of the present invention may be a device including a processor, a memory, and the like, for example, a single chip microcomputer including a central processing unit and the like. And the processor is used for realizing the steps of the keyboard key value setting method when executing the computer program stored in the memory.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Computer-readable storage medium embodiments
The computer readable storage medium of the present invention may be any form of storage medium that can be read by a processor of a computer device, including but not limited to a non-volatile memory, a ferroelectric memory, etc., and the computer readable storage medium has a computer program stored thereon, and when the processor of the computer device reads and executes the computer program stored in the memory, the steps of the keyboard key value setting method described above can be implemented.
The computer program comprises computer program code which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
Finally, it should be emphasized that the above-described preferred embodiments of the present invention are merely examples of implementations, rather than limitations, and that many variations and modifications of the invention are possible to those skilled in the art, without departing from the spirit and scope of the invention.

Claims (10)

1. The method for setting key values of the keys of the keyboard is characterized by comprising the following steps:
displaying a first keyboard plane model;
judging whether a first selection operation instruction of any one key model in the first keyboard plane model is acquired or not, and if so, displaying a key value selection list;
and judging whether a second selection operation instruction for any key value option in the key value selection list is acquired or not, and determining the key value of the key model according to the second selection operation instruction.
2. The method for setting key values of keys of a keyboard of claim 1, wherein:
the judging whether to acquire a second selection operation instruction for any key value option in the key value selection list, and after determining the key value of the key model according to the second selection operation instruction, further includes:
and judging whether the key value of the key model is a first function key value, if so, generating a second keyboard plane model associated with the first function key value.
3. The method for setting key values of keys of a keyboard of claim 2, wherein:
the method comprises the following steps of judging whether a key value of the key model is a first function key value, if so, generating a second keyboard plane model associated with the first function key value, and then:
and judging whether the first keyboard plane model has a key value determined as the key model of the second function key value, if so, generating a third keyboard plane model associated with the second function key value, and generating a fourth keyboard plane model associated with the first function key value and the second function key value.
4. The method for setting key values of keys of a keyboard of claim 3, wherein:
after generating a third keyboard plane model associated with the second function key value and generating a fourth keyboard plane model associated with the first function key value and the second function key value, the method further includes:
generating a key value setting item file according to the key value of each key model in the first keyboard plane model, the second keyboard plane model, the third keyboard plane model and the fourth keyboard plane model;
executing the key value setting project file;
and generating and executing a target instruction according to the acquired typing instruction and a preset key value combination rule.
5. The keyboard key value setting method according to any one of claims 1 to 4, wherein:
the displaying the first keyboard plane model comprises:
displaying the first keyboard plane model in a first display option bar;
after the generating of the second keyboard plane model associated with the first function key value, the method further includes:
displaying the second keyboard plane model in a second display option bar;
after generating a third keyboard plane model associated with the second function key value and generating a fourth keyboard plane model associated with the first function key value and the second function key value, the method further includes:
and displaying the third keyboard plane model in a third display option column, and displaying the fourth keyboard plane model in a fourth display option column.
6. The keyboard key value setting method according to any one of claims 1 to 4, wherein:
after generating a third keyboard plane model associated with the second function key value and generating a fourth keyboard plane model associated with the first function key value and the second function key value, the method further includes:
at least two of the first keyboard plane model, the second keyboard plane model, the third keyboard plane model, and the fourth keyboard plane model are simultaneously displayed in an interface.
7. The keyboard key value setting method according to any one of claims 1 to 4, wherein:
the judging whether to acquire a second selection operation instruction for any key value option in the key value selection list, and after determining the key value of the key model according to the second selection operation instruction, further includes:
generating a key value setting project file according to the key value of each key model;
and downloading at least two key value setting project files according to a downloading operation instruction.
8. The method for setting key values of keys of a keyboard of claim 7, wherein:
after downloading at least two key value setting item files according to the downloading operation instruction, the method further comprises the following steps:
and judging whether a switching operation instruction is acquired, if so, switching the currently executed key value setting project file according to a preset rule.
9. A computer device, characterized by: the computer device comprises a processor for implementing the keyboard key value setting method according to any one of claims 1 to 8 when executing a computer program stored in a memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a processor, implements the keyboard key value setting method of any one of claims 1 to 8.
CN201911102976.9A 2019-11-12 2019-11-12 Keyboard key value setting method, computer device and computer readable storage medium Active CN110850999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911102976.9A CN110850999B (en) 2019-11-12 2019-11-12 Keyboard key value setting method, computer device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911102976.9A CN110850999B (en) 2019-11-12 2019-11-12 Keyboard key value setting method, computer device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110850999A true CN110850999A (en) 2020-02-28
CN110850999B CN110850999B (en) 2024-01-05

Family

ID=69601386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911102976.9A Active CN110850999B (en) 2019-11-12 2019-11-12 Keyboard key value setting method, computer device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110850999B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042612A (en) * 2006-03-21 2007-09-26 鸿富锦精密工业(深圳)有限公司 Self-defined keyboard, self-defined keyboard converting device and self-defined method of the keyboard
CN102567457A (en) * 2010-11-02 2012-07-11 微软公司 Object model to key-value data model mapping
CN103345309A (en) * 2013-07-16 2013-10-09 杜海洋 Method and system for extending keys
WO2017128849A1 (en) * 2016-01-28 2017-08-03 中兴通讯股份有限公司 Method and device for customizing keyboard layout
CN207232897U (en) * 2017-09-01 2018-04-13 深圳市多彩实业有限公司 One-handed keyboard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042612A (en) * 2006-03-21 2007-09-26 鸿富锦精密工业(深圳)有限公司 Self-defined keyboard, self-defined keyboard converting device and self-defined method of the keyboard
CN102567457A (en) * 2010-11-02 2012-07-11 微软公司 Object model to key-value data model mapping
CN103345309A (en) * 2013-07-16 2013-10-09 杜海洋 Method and system for extending keys
WO2017128849A1 (en) * 2016-01-28 2017-08-03 中兴通讯股份有限公司 Method and device for customizing keyboard layout
CN107015748A (en) * 2016-01-28 2017-08-04 中兴通讯股份有限公司 The layout method and device of a kind of customizing keyboard
CN207232897U (en) * 2017-09-01 2018-04-13 深圳市多彩实业有限公司 One-handed keyboard

Also Published As

Publication number Publication date
CN110850999B (en) 2024-01-05

Similar Documents

Publication Publication Date Title
US10898801B2 (en) Selecting properties using handheld controllers
CN107464206A (en) A kind of watermark adding method and mobile terminal
JP2015521775A (en) Intelligent terminal text input display method and apparatus
CN112114734B (en) Online document display method, device, terminal and storage medium
CN106201212A (en) Generation method, device and the mobile terminal of a kind of application icon
WO2017128849A1 (en) Method and device for customizing keyboard layout
US20140266569A1 (en) Controlling music variables
JP2022529841A (en) Game object control method and device
CN111290678B (en) Picture preview method, device and equipment
CN105549829B (en) A kind of setting project processing method and its device
EP4268913A1 (en) Position adjustment method and apparatus for operation controls, and terminal, and storage medium
CN110850993B (en) Keyboard light effect setting method, computer device and computer readable storage medium
CN113786607A (en) Interface display method, device, terminal and storage medium
CN110850999B (en) Keyboard key value setting method, computer device and computer readable storage medium
CN110968201B (en) Keyboard key firmware generation method, computer device and computer readable storage medium
US20140270256A1 (en) Modifying Control Resolution
CN115270737B (en) Method and device for modifying format of target object
CN108399045B (en) Information display method and information display system
CN115373564A (en) Function shortcut key self-defining method and device, software function control method and terminal
CN113986175A (en) Color selection method and device, electronic equipment and readable medium
KR20220062300A (en) Attribute selection using a handheld controller
JP7428303B1 (en) Characteristic prediction device, characteristic prediction method and program
CN116301396A (en) Keyboard control method and device, electronic equipment and storage medium
CN110193201B (en) Game object selection method and device
KR101180071B1 (en) Attribute control method using slider and button

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