Add signature, prologue, epilogue, brandId properties and make hardwareId numeric.

This commit is contained in:
László Monda
2016-03-20 11:41:00 +01:00
parent 27e65b36e5
commit 20c903113d
2 changed files with 7 additions and 3 deletions

View File

@@ -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;

View File

@@ -1,5 +1,8 @@
{
"hardwareId": "UHK60",
"signature": "UHK"
"prologue": 1234678
"hardwareId": 0,
"brandId": 0,
"dataModelVersion": 0,
"moduleConfigurations": [
{
@@ -146,5 +149,6 @@
}
]
}
]
],
"epilogue": 1234678
}