- import the keyboard.h file
- strip all text and keep the object
- loop over each object in big object and return the value after being formatted into an array as string
- for the format, strip all the K letters
- convert the hexadecimal second number to decimal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 1 0.000005 10.20027730826997 50 5 43 5e-11 | |
g 256 176 240 176 0 0 | |
R 128 208 64 208 0 1 40 5 0 0 0.5 | |
r 128 208 192 208 0 100000 | |
w 192 208 256 208 0 | |
w 400 192 400 272 0 | |
r 400 272 256 272 0 33000 | |
w 256 272 256 208 0 | |
w 400 192 432 192 0 | |
r 432 192 512 192 0 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Super Simple Macropad", | |
"vendorId": "0x256A", | |
"productId": "0x4245", | |
"lighting": "none", | |
"matrix": { "rows": 2, "cols": 4 }, | |
"layouts": { | |
"keymap": [ | |
["0,0", "0,1", "0,2", "0,3"], | |
["1,0", "1,1", "1,2", "1,3"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Link Color" : { | |
"Red Component" : 0, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.73423302173614502, | |
"Alpha Component" : 1, | |
"Green Component" : 0.35916060209274292 | |
}, | |
"Tags" : [ |