CN110850999B - 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
CN110850999B
CN110850999B CN201911102976.9A CN201911102976A CN110850999B CN 110850999 B CN110850999 B CN 110850999B CN 201911102976 A CN201911102976 A CN 201911102976A CN 110850999 B CN110850999 B CN 110850999B
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.)
Active
Application number
CN201911102976.9A
Other languages
Chinese (zh)
Other versions
CN110850999A (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 Hoksi Technology Co Ltd
Original Assignee
Zhuhai Hoksi 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 Hoksi Technology Co Ltd filed Critical Zhuhai Hoksi 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

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 keyboard key value setting method, a computer device and a computer readable storage medium, wherein the keyboard key value setting method 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 or not, if so, displaying a key value selection list; judging whether a second selection operation instruction for any key value option in the key value selection list is acquired, 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 keyboard key value setting method, and the computer readable storage medium can realize the keyboard key value setting method when the program is 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 present invention relates to the field of keyboard technologies, and in particular, to a keyboard key value setting method, a computer device, and a computer readable storage medium.
Background
On 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 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 own use habits, and the keyboard with only preset key values cannot meet the use requirements of the user group, so that the use experience is affected.
Disclosure of Invention
A first object of the present invention is to provide a keyboard key value setting method for improving the applicability of a keyboard.
A second object of the present invention is to provide a computer device capable of implementing the above-mentioned method for setting key values of a keyboard.
A third object of the present invention is to provide a computer readable storage medium capable of implementing the above-mentioned method for setting key values of a keyboard.
The first object of the present invention provides a method for setting key values of a keyboard, comprising 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 or not, if so, displaying a key value selection list; judging whether a second selection operation instruction for any key value option in the key value selection list is acquired, and determining the key value of the key model according to the second selection operation instruction.
According to the scheme, a user can click a key model in the keyboard plane model on a setting interface of setting software and select a key value option which is considered suitable by the user as a 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.
Further, judging whether a second selection operation instruction for any key value option in the key value selection list is acquired, determining the key value of the key model according to the second selection operation instruction, and then judging whether the key value of the key model is a first function key value, if so, generating a second keyboard plane model related to the first function key value.
As can be seen from the above, the first function key value is like the Fn key on the existing keyboard, the specific key is pressed after the Fn key is pressed, and the key value of the key is changed, so after the key value of any key model on the keyboard is set as the first function key value, a new keyboard plane model is needed to enable the user to define the second key value of each key model. The key setting device enables the use function of keys to be more powerful, and key value setting operation is humanized.
Further, judging whether the key value of the key model is a first function key value, if so, generating a second keyboard plane model related to the first function key value, and further judging whether the first keyboard plane model has a key model with the key value determined to be the second function key value, if so, generating a third keyboard plane model related to the second function key value, and generating a fourth keyboard plane model related to the first function key value and the second function key value.
From the above, when the key value of any key model on the first keyboard plane model is set to the first function key value, if the user sets the other key value to the second function key value, that is, the Fn1 key and the Fn2 key exist on the keyboard, a third keyboard plane model associated with Fn2 needs to be generated on the software to set the key value of the other key after the Fn2 key is pressed, and at the same time, a fourth keyboard plane model associated with Fn1 and associated with Fn2 needs to be generated and displayed on the software to set the key value of the other key after the user presses Fn1 and Fn2 simultaneously. Therefore, under the setting, each key on the keyboard has four key values, and if the user sets more function key values, each key has more key values, so that the keyboard has stronger function.
Generating a third keyboard plane model related to the second function key value, generating a fourth keyboard plane model related to the first function key value and the second function key value, generating a key value setting project file according to the key values of all 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 project file; and generating and executing the target instruction according to the acquired typing instruction and a preset key value combination rule.
From the above, after the setting of the key value of the keyboard is completed and stored as the key value setting project 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, so that the function of the keyboard is further enhanced.
Further, the method includes displaying the first keyboard plane model in a first display option bar; after generating the second keyboard plane model associated with the first function key value, displaying the second keyboard plane model in a second display option bar; 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, and 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.
From the above, the selection display is realized among the plurality of keyboard plane models in a mode of clicking the option bar, so that the keyboard plane models can be maximally displayed in a limited interface, and the selection and clicking operation of a user on the keyboard plane models are more convenient.
Further, after generating the third keyboard plane model associated with the second function key value and generating the fourth keyboard plane model associated with the first function key value and the second function key value, 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 the interface.
From the above, at least two keyboard plane models are simultaneously displayed in the interface to achieve the comparison effect, so that a user can more clearly compare the positions of the keys with different key values of the same key, and the operation interface is more humanized.
Further, judging whether to acquire a second selection operation instruction for any key value option in the key value selection list, and generating a key value setting item file according to the key values of each key model after determining the key values of the key models according to the second selection operation instruction; and downloading at least two key value setting project files according to the downloading operation instruction.
From the above, the user can select at least two key value setting project files in the software interface and download them into the keyboard for switching use.
The method further comprises the steps of judging whether to acquire a switching operation instruction after downloading at least two key value setting item files according to the downloading operation instruction, and if yes, switching the currently executed key value setting item files according to a preset rule.
From the above, the user can set and store a plurality of key value setting project files according to the use habit, then set one key as a project switching function key, and can change the key value setting project files after pressing the project switching function key. The key value of each key in each key value setting project file can be more than 4, if two groups of key value setting project files are stored, the key value of each key can be more than 8, and the keyboard has stronger function.
A second object of the present invention provides a computer device including a processor, where the processor is configured to implement the above-mentioned method for setting key values of a keyboard when executing a computer program stored in a memory.
A third object of the present invention is to provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a keyboard key value setting method as described above.
Drawings
Fig. 1 is a schematic diagram of key arrangement of a target product keyboard in an embodiment of a method for generating a key firmware of a keyboard according to the present invention.
FIG. 2 is a schematic diagram of a first state of a rectangular array of analog cells according to an embodiment of the keyboard key firmware generation method of the present invention.
FIG. 3 is a schematic diagram of a second state of a rectangular array of analog cells according to an embodiment of the keyboard key firmware generation method of the present invention.
FIG. 4 is a schematic diagram of a third state of the simulation unit rectangular array according to an embodiment of the keyboard key firmware generation method of the present invention.
FIG. 5 is a diagram illustrating a fourth state of a rectangular array of analog cells according to an embodiment of the keyboard key firmware generation method of 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 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 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 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 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 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 present invention.
Fig. 12 is a schematic diagram of a second state of an operation interface in an embodiment of a keyboard light effect setting method of the present invention.
Detailed Description
Keyboard key firmware generation method embodiment
Referring to fig. 1, fig. 1 is a schematic diagram of key arrangement of a target product keyboard in an embodiment of a method for generating key firmware of a keyboard according to the present invention. In this embodiment, a 87-key keyboard is used as the target product keyboard 9, and the target product keyboard 9 has six rows of key groups, and each of the six rows of key groups arranged from top to bottom has 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 according to an embodiment of a keyboard key firmware generating method of the present invention. Firstly, a user opens an application program for generating keyboard key firmware, at this time, a rectangular array 1 of simulation units and some columns for filling setting parameters are displayed on a display interface, the rectangular array 1 of simulation units is provided with 8 rows by 24 columns of simulation units 10, each simulation unit 10 is an independent interaction object, a user can change the unit attribute of the simulation unit 10 through clicking or touching a mouse, the unit attribute of the simulation unit 10 is one of an inactive unit, a key unit used, a key unit unused, 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 properties of the simulation cells 10 in the rectangular array of simulation cells default to inactive cells.
Referring to fig. 1 to 3, fig. 3 is a schematic diagram illustrating a second state of the rectangular array of analog units according to an embodiment of the keyboard key firmware generating method of the present invention. The columns for filling the setting parameters include columns for filling the number of analog unit rows and columns for filling the number of analog unit columns, and since the target product keyboard has six rows of key groups, the number of keys of the key group of the maximum keys is 17, a rectangular array of analog units with 6 rows by 17 columns of analog units 10 can be selected as the setting basis. The user fills the number "6" in the column of the analog unit line number, and fills the number "17" in the column of the analog unit column number and confirms, then the system obtains the number "6" as the unit line number selection instruction and the number "17" as the unit column number selection instruction, and creates an analog unit rectangular array 11 with 6 lines×17 columns of analog units 10 from the upper left corner as the starting point in the analog unit rectangular array 1, the unit attribute of each analog unit 10 in the analog unit rectangular array 11 is changed to use the key unit 101, the color of the key unit 101 is darker than the color of the analog unit 10, and the "<" pattern is displayed in the key unit 101.
Referring to fig. 4 again, fig. 4 is a schematic diagram illustrating a third state of the simulation unit rectangular array according to the embodiment of the keyboard key firmware generating method of the present invention. Then, whether the target product keyboard is provided with a lamp strip at the periphery of the key or not is confirmed, and the lamp strips are arranged at the periphery or are arranged at the edges of one direction or two directions. In this embodiment, the light bands are all arranged around the keyboard of the target product.
The column for filling in the setting parameters includes four selection options: after the four hooking options are hooked, the system acquires a light band setting instruction, the simulation unit rectangular array 11 is moved out of the proper position, the system changes the unit attributes of a plurality of simulation units 10 on the periphery of the simulation unit rectangular array 11 into a light band unit 104 according to the light band setting instruction, an 'O' pattern is displayed in the light band unit 104, and preferably, the color of the light band unit 104 is darker than that of the key unit 101.
Referring to fig. 5 again, fig. 5 is a schematic diagram illustrating a fourth state of the rectangular array of analog units according to an embodiment of the keyboard key firmware generating method of the present invention. Since there are not 17 keys per key row on the target product keyboard 9, it is necessary to change the cell attributes of some of the used key cells 101 in the rectangular array of analog cells 11 to unused key cells 102. When the user clicks the using button unit 101 with the left button of the mouse and the system acquires the first click command, the unit attribute of the clicked simulation unit 10 is changed from the using 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 may be a click touch control of the touch screen, in addition to a left click command of the mouse. In addition, after the user clicks the analog unit 10 whose unit state is the unused key unit 102 with the left mouse button, the unit attribute of the analog unit 10 is changed to the used key unit 101.
After the number of the key units 101 used in the rectangular array of analog units 11 is set according to the target product keyboard 9, up to three BOOT function keys may also be set. The user clicks the analog unit 10 with the unit attribute of using the key unit 101 with the right mouse click, and the system acquires the second click command, and then changes the unit attribute of the analog unit 10 to the function key unit 103, and the "B" pattern is displayed in the function key unit 103. The second click command is a right click command of the mouse, and can be a long touch control of the touch screen.
In addition, the columns used for filling the setting parameters also comprise columns used for filling the number of the indicating lamps, the keyboard of the target product is provided with 3 indicating lamps, and the user fills the number '3' in the columns used for filling the number of the indicating lamps. The number "3" is used as an indicator lamp setting instruction.
After the above setting steps are completed, after the "write firmware" is clicked on the interface, the system generates the keyboard key firmware according to the unit attribute of each simulation unit 10 in the rectangular array of simulation units 1 and the instruction for setting the indicator lamp, and writes the keyboard key firmware into the keyboard of the target product connected to the computer.
Method embodiment of setting key values of keyboard keys
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a first state of an operation interface in an embodiment of a method for setting key values of a keyboard according to the present invention. At this time, the keyboard of the target product 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 enters the operation interface shown in fig. 6. 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 existing in the keyboard key firmware, such as a key value setting item file 21 named "profile1" and three other key value setting item files named "profile2", "profile3" and "profile4", 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 customization item 211 but also the light effect customization item 212.
The item file downloading area 3 is provided with three selectable downloading item file option fields 31, each downloading item file option field 31 comprises all existing key value setting item files, the selected and hooked key value setting item files are downloaded into a keyboard, and when the keyboard is used, a plurality of key value setting item files become switching use objects.
At this time, only the first display option bar 41 is displayed in the model display area 4, the first display option bar 41 is a "default" display bar, and the first keyboard plane model 410 is displayed in the first display option bar 41. The number and arrangement of key models within the first keyboard plane model 410 matches the target product keyboard and previously written keyboard key firmware.
Since no interactive operation is performed, the currently performed item falls on the key value customization item 211, and only the title "key value customization" and the prompt "please select key" are displayed on the parameter setting area 5. The indicator light setting area 6 is used for setting the indication attribute of each indicator light, wherein the indicator light has an option bar 61 of each indicator light, and a plurality of indication attribute options 611 are arranged in the option bar of each indicator light.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating a second state of an operation interface in an embodiment of a method for setting key values of a keyboard according to the present invention. The user may click on any key model from the first keyboard plane model 410 to set its key values. Firstly, the system judges whether a first selection operation instruction of any key model in the first keyboard plane model 410 is acquired, and 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 generated in the parameter setting area 5, the key value selection list comprises a first layer of key value classification selection list 51, and the first layer of key value classification selection list 51 is provided with options such as a keyboard key, a mouse, a multimedia key, an Fn key and the like; after clicking the "keyboard key", the parameter setting area 5 generates a second-layer key value classification selection list 52, where the second-layer key value classification selection list 52 has options such as "a-Z", "1-9", "F1-F12", and "function key"; upon clicking the selection "a-Z" option, the parameter setting area 5 generates a third-layer key value classification selection list 53, and the third-layer key value classification selection list 53 includes 26 selection objects that can be checked, such as "a" to "Z". After the user selects 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 illustrating a third state of an operation interface in an embodiment of a method for setting key values of a keyboard according to the present invention. The user continues to click on the key model 412 in the first keyboard plane model 410, and the user selects the "Fn key" option in the one-layer key value classification selection list 51 generated in the parameter setting area 5, after which the parameter setting area 5 generates and displays a second-layer key value classification selection category 54, which includes two key value options of "Fn1" and "Fn2", wherein the key value corresponding to "Fn1" is the first function key value, and the key value corresponding to "Fn2" is the second function key value. The user then clicks the "Fn1" key value option and the system validates the key value of key model 412 as the first function key value.
Because the Fn key is a functional key, after the Fn key is pressed under normal use of the keyboard, the key values of some keys are changed, so that the multi-way use of the same key is realized. Therefore, after the system confirms the key value of one key model, a judging step is executed to judge whether the key value of the key model is the first function key value, if so, a second keyboard plane model related to the first function key value is generated. Since the key value of the key model 412 is confirmed to be the first function key value, the result of the above determination step is yes, so the system generates and displays the second display option bar 42 with the title "Fn1" in the model display area 4, the second display option bar 42 has the second keyboard plane model, the user can switch the first keyboard plane model currently displayed to the second keyboard plane model located in the second display option bar 42 by clicking the title "Fn1", and the user can perform the custom setting on each key value in the second keyboard plane model in the same setting manner.
Referring to fig. 9, fig. 9 is a schematic diagram illustrating a fourth state of an operation interface in an embodiment of a method for setting key values of a keyboard according to the present invention. Then, the user selects the key value option of the key model 413 as the second function key "Fn2", 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 the first function key value on the first keyboard plane model 410, and if so, then the system proceeds to the determination step to determine whether the key value of the key model is the second function key value on the first keyboard plane model 410.
The key value of the current key model 413 is determined to be the second function key value, so the above determination result of the determination step is yes, and therefore the system generates the third display option bar 43 and the fourth display option bar 44, the third display option bar 43 has the third keyboard plane model, the fourth display option bar 44 has the fourth keyboard plane model, the user clicks the title "Fn2" to switch the currently displayed first keyboard plane model to the third keyboard plane model located in the third display option bar 43, and clicks the title "Fn1+fn2" to switch the currently displayed first keyboard plane model to the fourth keyboard plane model located in the fourth display option bar 44, thereby performing the custom setting on each key value in the third keyboard plane model or the fourth keyboard plane model.
Referring to fig. 10 again, fig. 10 is a schematic diagram illustrating a fifth state of an operation interface in an embodiment of a method for setting key values of a keyboard according to the present invention. In a normal use state of the keyboard, a user presses the second functional key 'Fn 2' first and then presses some specific keys, the key values of the keys change, and the user presses the specific keys after pressing the first functional key 'Fn 1' and the second functional key 'Fn 2', so that the key values of the keys also change. For example, the user selects the key value option of the key model 441 to be the object "B"532 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 keyboard will generate the key input command "S" when the user only presses the key in the normal use state, and will generate the key input command "B" when the key is pressed after the first function key "Fn1" and the second function key "Fn2" are pressed.
Thus, after adding the first function key "Fn1" and the second function key "Fn2", at most four different key values can be preset per key value. In addition, since the user can download at most three different key value setting item files into the keyboard in the item file downloading area 3, after the keyboard key setting is completed, the user presses a preset switching key after the keyboard enters a normal use state, and the system judges that a switching operation instruction is acquired, so that the currently executed key value setting item files can be switched according to a preset sequence. Therefore, the number of key values of each key can be up to 12, the requirement of the use habit of a user can be met, the setting requirement of the user on the degree of freedom of the key values can be met, and the keyboard is further suitable for more special occasions such as electronic contests, programming, drawing and the like.
In other embodiments, after the system determines the presence of the first function key value and the second function key value, the first keyboard plane model, the second keyboard plane model, the third keyboard plane model, and the fourth keyboard plane model may be displayed in the interface at the same time, so that the user may more clearly compare the key positions with the different key values of the same key.
Keyboard light effect setting method embodiment
Referring to fig. 11, fig. 11 is a schematic diagram illustrating a first state of an operation interface in an embodiment of a keyboard light effect setting method according to 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, the first keyboard plane model has been generated and displayed in the model display area 4 at this time. Then, after the user clicks the "light effect custom" option, the light effect setting option field 60 and the "preview" option 63 are displayed in the parameter setting area 5, and the light effect setting option field 60 has a plurality of preset light effect model options and "custom mode" options for individually setting the color value of each key model.
After the user clicks the "radar mode" option 61 in the multiple preset light effect model options, a "rotation direction" option 611, a "set center" option 612, a "custom color value expansion map" option 613 and three "preset color value expansion map" options 614 are generated and displayed in the parameter setting area 5.
After the user clicks the "preview" option of the parameter setting area 5, the system forms a light effect display area 419 for displaying the color value change simulation effect according to the overall size and the peripheral outline of the first keyboard plane model 410, where the light effect display area 419 is formed by adding a certain preset margin to the size of the first keyboard plane model 410, and regarding the circumscribed square area of the first keyboard plane model 410, the system generates a color value change rule according to the light effect setting option column 60, the "rotation direction" option 611, the "set center" option 612, the "custom color value expansion map" option 613 and the currently selected option of the three "preset color value expansion map" options 614, and updates the color value of the light effect display area 419 with a certain time frequency according to the color value change rule.
Wherein, the "rotation direction" option 611 has two options of "clockwise" and "anticlockwise", the system will generate rotation direction data according to the selection of the user in the "rotation direction" option 611, and update the color value change rule according to the rotation direction data.
After clicking the "set center" option 612, the user may click any position in the first keyboard plane model 410 or the light effect display area 419 as the center position of the "radar mode" preset model, and the system acquires the 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 "custom color value expansion chart" option 613 and the "preset color value expansion chart" option 614 are color change charts after expanding the rotation direction along a straight line, the change charts show gradual change effect of colors, the custom color value expansion chart "option 613 has buoys with several fixed color values, and the user can customize the change trend of colors in the rotation direction by pulling the buoys to change the positions of the fixed color values on the expansion charts. The user can select any one of the option 613 of "custom color value expansion map" to perform color value custom or the option 614 of "preset color value expansion map" to click and select, and the system generates the color value variation range data according to the obtained typing signal and updates the color value variation rule according to the color value variation range data.
In addition, the light effect setting data can also comprise color value change rate data, and a user can drag a buoy in the slide bar in the parameter setting area 5 to adjust the color value change rate, so as to control the speed of color value rotation change in the 'radar mode' preset model.
Referring to fig. 12, fig. 12 is a schematic diagram illustrating a second state of an operation interface in an embodiment of a keyboard light effect setting method according to 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 for individually setting the color value of each key model, and the currently selected color value display unit 621 and the multiple color value setting modules including the RGB color value filling field 622, the circular color value map 623 and the preset color value option 624 are displayed in the parameter setting area 5. The user selects a key model with a color value to be changed from the first keyboard plane model 410, and then sets the color value of the key model in a plurality of color value setting modules. If the user clicks the key model 412 and fills the RGB values in the RGB color value filling column 622 to make the RGB values 255,0, the system determines that the light effect display area is within the outline of the selected key model 412 in the first keyboard plane model 410, and the key model 412 is displayed as red.
Therefore, the keyboard light effect setting method provided by the invention has high setting freedom degree and meets the visual requirement of a user as much as possible.
Computer device embodiment
The computer device of the present invention may be a device including a processor and a memory, such as a single chip microcomputer including a central processing unit. 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 (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. 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 (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, 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 is readable by a processor of a computer device, including but not limited to, nonvolatile memory, volatile memory, ferroelectric memory, etc., on which a computer program is stored, and when the processor of the computer device reads and executes the computer program stored in the memory, the steps of the above-described keyboard key value setting method may be implemented.
The computer program comprises computer program code which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
Finally, it should be emphasized that the foregoing description is merely illustrative of the preferred embodiments of the invention, and that various changes and modifications can be made by those skilled in the art without departing from the spirit and principles of the invention, and any such modifications, equivalents, improvements, etc. are intended to be included within the scope of the invention.

Claims (8)

1. The method for setting the key values of the keyboard is characterized by comprising the following steps:
displaying an operation interface, wherein the operation interface comprises a project file list area, a project file downloading area, a model display area and a parameter setting area; displaying all key value setting project files existing in the keyboard key firmware in the project file list area; the item file downloading area is internally provided with a plurality of selectable downloading item file option fields, and each downloading item file option field comprises all existing key value setting item files; only a first display option bar is displayed in the model display area, and a first keyboard plane model is displayed in the first display option bar;
if the key value setting item files in the item file list area are selected and checked, the key value setting item files are downloaded into a keyboard, and when the keyboard is used, a plurality of key value setting item files become switching use objects;
judging whether a first selection operation instruction of any key model in the first keyboard plane model is acquired, if yes, displaying a key value selection list in the parameter setting area, wherein the key value selection list comprises a first-layer key value classification selection list which is provided with a plurality of options;
if any option of the first-layer key value classification selection list is confirmed to be clicked and selected, the parameter setting area generates a second-layer key value classification selection list, and the second-layer key value classification selection list is provided with a plurality of options;
if any option of the second-layer key value classification selection list is confirmed to be clicked and selected, the parameter setting area generates a third-layer key value classification selection list, and the third-layer key value classification selection list is provided with a plurality of selectable objects;
if the second selection operation instruction of any selected object in the third-layer key value classification selection list is confirmed to be acquired, determining a key value of the key model according to the second selection operation instruction;
judging whether the key value of the key model is a first function key value or not, if so, generating a second keyboard plane model associated with the first function key value;
and judging whether the first keyboard plane model has the key model with the key value determined to be the second function key value, if so, generating a third keyboard plane model related to the second function key value, and generating a fourth keyboard plane model related to the first function key value and the second function key value.
2. The keyboard key value setting method according to claim 1, wherein:
after the generating the third keyboard plane model associated with the second function key value and the generating the fourth keyboard plane model associated with the first function key value and the second function key value, the method further comprises:
generating a key value setting project file according to 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;
executing the key value setting project file;
and generating and executing the target instruction according to the acquired typing instruction and a preset key value combination rule.
3. The keyboard key value setting method according to claim 1 or 2, wherein:
the first keyboard plane model displaying method comprises the following steps:
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 comprises:
displaying the second keyboard plane model in a second display option bar;
after the generating the third keyboard plane model associated with the second function key value and the generating the fourth keyboard plane model associated with the first function key value and the second function key value, the method further comprises:
and 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.
4. The keyboard key value setting method according to claim 1 or 2, wherein:
after the generating the third keyboard plane model associated with the second function key value and the generating the fourth keyboard plane model associated with the first function key value and the second function key value, the method further comprises:
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.
5. The keyboard key value setting method according to claim 1 or 2, wherein:
the step of 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 comprises:
generating a key value setting project file according to the key values of the key models;
and downloading at least two key value setting project files according to the downloading operation instruction.
6. The keyboard key value setting method according to claim 5, wherein:
after downloading at least two key value setting project files according to the downloading operation instruction, the method further comprises the following steps:
judging whether a switching operation instruction is acquired, if so, switching the currently executed key value setting item file according to a preset rule.
7. A computer apparatus, characterized in that: the computer apparatus includes a processor for implementing the keyboard key value setting method according to any one of claims 1 to 6 when executing a computer program stored in a memory.
8. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program, when executed by a processor, implements the keyboard key value setting method according to any one of claims 1 to 6.
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 CN110850999A (en) 2020-02-28
CN110850999B true 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
CN110850999A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN107464206A (en) A kind of watermark adding method and mobile terminal
CN112114734B (en) Online document display method, device, terminal and storage medium
US5812805A (en) Method and editing system for setting tool button
CN107454255B (en) Lyric display method, mobile terminal and computer readable 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
JP2022529841A (en) Game object control method and device
CN109410295B (en) Color setting method, device, equipment and computer readable storage medium
CN108920070A (en) Split screen method, apparatus, storage medium and mobile terminal based on special-shaped display screen
US20230241499A1 (en) Position adjustment method and apparatus for operation control, terminal, and storage medium
CN111290678B (en) Picture preview method, device and equipment
WO2020199970A1 (en) Method for simulating light effect of access device in interface, computer apparatus, and computer-readable storage medium
CN110850993B (en) Keyboard light effect setting method, computer device and computer readable 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
CN113786607A (en) Interface display method, device, terminal and storage medium
WO2024067329A1 (en) Display method and apparatus, electronic device and storage medium
CN115270737B (en) Method and device for modifying format of target object
CN111831250A (en) Audio processing method and device, storage medium and electronic equipment
CN115373564A (en) Function shortcut key self-defining method and device, software function control method and terminal
US11878243B2 (en) Game unit control method and apparatus
CN113986175A (en) Color selection method and device, electronic equipment and readable medium
US10866721B1 (en) Selecting properties using handheld controllers
JP7428303B1 (en) Characteristic prediction device, characteristic prediction method and program
CN116301396A (en) Keyboard control method and device, 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