Add signature, prologue, epilogue, brandId properties and make hardwareId numeric.
This commit is contained in:
@@ -9,7 +9,7 @@ var writer = BufferWriter(buffer);
|
||||
|
||||
var uhkConfig = JSON.parse(fs.readFileSync('uhk-config.json'));
|
||||
var keyActions = uhkConfig.keymaps[0].layers[0].modules[0].keyActions;
|
||||
console.log(keyActions)
|
||||
|
||||
var ARRAY_LAST_ELEMENT_ID = 0;
|
||||
|
||||
var KEY_ACTION_ID_KEYSTROKE_SCANCODE_FIRST = 1;
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"hardwareId": "UHK60",
|
||||
"signature": "UHK"
|
||||
"prologue": 1234678
|
||||
"hardwareId": 0,
|
||||
"brandId": 0,
|
||||
"dataModelVersion": 0,
|
||||
"moduleConfigurations": [
|
||||
{
|
||||
@@ -146,5 +149,6 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"epilogue": 1234678
|
||||
}
|
||||
Reference in New Issue
Block a user