Commit Graph

34 Commits

Author SHA1 Message Date
László Monda
81fe488dce Rename actionType to keyActionType and macroActionType respectively. 2016-03-28 17:10:30 +02:00
László Monda
cbf83cf778 Add KeyActionNone 2016-03-26 14:58:57 +01:00
László Monda
9d77d7212b Add UhkBuffer.backtrack() and implement the KeyAction class. 2016-03-26 02:52:50 +01:00
László Monda
32646f3616 Validate scancode via accessor. 2016-03-25 21:53:30 +01:00
László Monda
32adbf2124 Deserialize the binary representation of Keystroke. Check scancode validity. 2016-03-25 21:02:18 +01:00
László Monda
b9fe33d5d6 Make UhkBuffer allocate a Buffer. 2016-03-25 20:46:33 +01:00
László Monda
0c7ff11f33 Add tslint.json and fix coding style accordingly for the most part. 2016-03-25 18:33:51 +01:00
László Monda
82f181d184 Add tslint to devDependencies and clean up the codebase according to tslint suggestions. 2016-03-25 02:02:20 +01:00
László Monda
468606481c Implement UhkBuffer readString() and writeString() methods. 2016-03-25 01:30:07 +01:00
László Monda
993042e89c Add UhkBuffer read methods and rename Uint to UInt in its other methods. 2016-03-24 22:49:08 +01:00
László Monda
b6038d84d6 Add type definitions to the methods of UhkBuffer. 2016-03-24 22:32:48 +01:00
László Monda
581f503b13 Prefix the name of UhkBuffer write methods with "write". 2016-03-24 22:23:05 +01:00
László Monda
483053a991 Add Serializable.ts and KeystrokeAction.ts 2016-03-24 20:56:27 +01:00
László Monda
25b7cad4ab Referenec UhkBuffer.ts as an internal module. 2016-03-24 18:25:11 +01:00
László Monda
015ed35f3c Loosely port the serializer to TypeScript. 2016-03-24 02:48:22 +01:00
László Monda
a0dfffce4c Remove the priority field which won't be used anymore. 2016-03-22 02:14:32 +01:00
László Monda
1107619b1a Serialize switch layer action the final way. Add toggle flag. 2016-03-20 23:40:24 +01:00
László Monda
7a529fb4de Add layer priority field. 2016-03-20 11:55:09 +01:00
László Monda
7c9ca1f5b2 Use module ID instead of a string to identify module configurations. Add initialSpeed property. 2016-03-20 11:47:55 +01:00
László Monda
8c0694901b Fix JSON. 2016-03-20 11:42:10 +01:00
László Monda
20c903113d Add signature, prologue, epilogue, brandId properties and make hardwareId numeric. 2016-03-20 11:41:00 +01:00
László Monda
27e65b36e5 Put module bindings inside of layers, not the other way around. Use IDs instead of strings for identifying modules. Update script. 2016-03-20 11:33:17 +01:00
László Monda
4199031111 Add the rest of the layers as a placeholder. 2016-03-20 02:42:02 +01:00
László Monda
1af09f99ab Invert property because merged state can be explicitly detected. 2016-03-20 02:41:03 +01:00
László Monda
b62d694eb3 Add uhk-state.json 2016-03-20 02:39:55 +01:00
László Monda
8d4c9add51 Add Agent configuration file. 2016-03-20 02:22:05 +01:00
László Monda
d4aabc1046 Add layer switcher key type. 2016-03-20 02:15:19 +01:00
László Monda
01ca18ba34 Identify keymaps and macros by numeric IDs. Use keystroke naming instead of key. 2016-03-20 01:39:49 +01:00
László Monda
4f052b3789 Close array with a 0 byte. Remove the couple writer calls at the beginning along with console.log() 2016-03-20 01:22:07 +01:00
László Monda
9bf938a617 Fix typo. 2016-03-19 13:18:31 +01:00
László Monda
4391532e35 Loosely serialize key actions. 2016-03-19 03:05:00 +01:00
László Monda
ed92d46fd3 Add script to serialize the JSON configuration as binary. 2016-03-18 22:32:51 +01:00
László Monda
74c928622b Use arrays instead of object properties wherever possible. 2016-03-18 18:57:27 +01:00
László Monda
031718fb21 Add the JSON of the UHK configuration to be serialized to the EEPROM. 2016-03-18 18:04:02 +01:00