Commit Graph

64 Commits

Author SHA1 Message Date
József Farkas
07cc4cef2f Use import/export instead of references. Use webpack instead of tsc. 2016-04-19 22:35:16 +02:00
Sam Rang
4a950283b3 implementation of UhkConfiguration 2016-04-18 22:01:41 -05:00
Sam Rang
41f2e31ea2 module configurations 2016-04-18 21:40:30 -05:00
Sam Rang
634aa6c532 move bin<->bool conversion to UhkBuffer 2016-04-18 20:00:27 -05:00
Sam Rang
0c53b49c6a use full byte for each bool 2016-04-18 19:11:07 -05:00
Sam Rang
e2b0492736 macro macros 2016-04-17 23:48:17 -05:00
Sam Rang
176f94e919 delay and text macros 2016-04-17 23:34:21 -05:00
Sam Rang
4dc3c4f6c3 updating references 2016-04-17 23:27:24 -05:00
Sam Rang
408ddad10d testing int limits and renaming based on specs 2016-04-17 23:22:01 -05:00
Sam Rang
fcf9d08f06 move and scroll mouse actions 2016-04-17 23:03:12 -05:00
Sam Rang
6dd479e04b more macro action types 2016-04-17 22:55:20 -05:00
Sam Rang
2688a51b1b simple keypress action macro working w/ macro type determination 2016-04-17 21:52:22 -05:00
Sam Rang
d2e3bfdb36 keymaps 2016-04-17 21:01:56 -05:00
Sam Rang
3c18e7cf86 Merge remote-tracking branch 'upstream/master' into feature/keymap_keymaps 2016-04-17 21:01:08 -05:00
Sam Rang
ec0dcdae2d add tostring 2016-04-17 20:52:04 -05:00
József Farkas
79b93bdf0a Remove export and import. Fixes cannot find name compile errors. 2016-04-17 21:44:00 +02:00
József Farkas
25fa5535da Add isModifierActive helper function to actions with modifier mask. 2016-04-17 20:40:54 +02:00
Sam Rang
38238f4d5a s/KeyLayer/LayerName/g 2016-04-16 21:12:05 -05:00
Sam Rang
e7a6bebe71 layer and layers 2016-04-16 20:54:46 -05:00
Sam Rang
cd1a49768d commenting asserts out to work around issue with object overwrites 2016-04-16 11:43:55 -05:00
Sam Rang
b805435365 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/agent-mockup 2016-04-14 16:49:02 -05:00
József Farkas
5542b66871 Fix tslint and related errors. 2016-04-13 21:30:55 +02:00
Sam Rang
6f0dc6d70f example of array problem 2016-04-13 13:28:56 -05:00
Sam Rang
243b8ed24c successfully serializing 1 module, still problem with serializing multiple 2016-04-12 06:56:34 -05:00
László Monda
9dde4e6bd7 Add KeyModifiers enum. 2016-04-09 13:35:19 +02:00
László Monda
1c30b4231c Make SwitchLayerAction.getToggleFlag() private. Simplify SwitchLayerAction._fromJsObject() 2016-04-09 13:17:40 +02:00
László Monda
ec65369f3c Remove comment because it doesn't help much and contains unrelated information. 2016-04-09 13:12:52 +02:00
László Monda
34ff0d657d Make KeyAction.assertKeyActiontype() and KeyAction.readAndAssertKeyActionId() only expect a single argument. 2016-04-09 00:39:17 +02:00
László Monda
a3b83dfb36 Forgot to rename KeyActionType to keyActionType which I done now. 2016-04-08 23:41:47 +02:00
László Monda
7d17cba390 Resolve tslint warnings. 2016-04-08 23:25:26 +02:00
László Monda
16e099d49f Resolve a couple tslint warnings. 2016-04-08 23:07:08 +02:00
László Monda
f6eb819cfe Add assertion decorations for various numeric types. 2016-04-08 22:26:00 +02:00
László Monda
49d0ad270b Remove TypeChecker. 2016-04-08 01:42:33 +02:00
László Monda
d0a4e27765 Remove the now redundant KeyActionfactory. 2016-04-04 02:52:32 +02:00
László Monda
3ae8c3eb4b Add KeystrokeModifiersAction. 2016-04-04 02:51:09 +02:00
László Monda
15b27271a0 Move the gist of KeyActions to UhkArray and rename it as ClassArray. Make KeyActions descend from ClassArray. Improve array buffer dumping. 2016-04-04 00:06:18 +02:00
László Monda
2b91aa3152 Add UhkArray. Don't dump arrays. 2016-04-03 01:25:07 +02:00
László Monda
7841779b46 Make Serializable dump fromJsObject() calls. 2016-04-02 00:58:06 +02:00
László Monda
c8498eab5e Fix the rest of serialization problems and make test-serialize.ts compare the original and resulting JSON. 2016-04-01 23:08:37 +02:00
László Monda
4d5f8161e1 Fix the serialization of MouseAction.mouseAction 2016-04-01 22:48:40 +02:00
László Monda
fb5ac38188 Make SwitchLayerAction serialize the correct layer. 2016-04-01 22:33:55 +02:00
László Monda
d775a3db3c Make test-serializer.ts serialize and deserialize the configuration. 2016-04-01 18:15:04 +02:00
László Monda
1697d673f2 Use the members of the newly added KeyActionType object because static members were uninitialized. Handle PlayMacroAction in the KeyActionFactory. 2016-04-01 03:43:34 +02:00
László Monda
fcd0d5b5b3 Move assert functions to assert.ts 2016-04-01 02:42:40 +02:00
László Monda
aa812a477b Initialize array. 2016-04-01 02:29:25 +02:00
László Monda
adca007cac Add KeyActionFactory. Add compact length related methods to UhkBuffer. Add KeyActions. 2016-04-01 01:55:34 +02:00
László Monda
ae6342911c Make KeyAction able to instantiate every KeyAction subclass. 2016-03-31 16:36:40 +02:00
László Monda
386882e1c6 Rename SwitchLayerAction.ts to SwitchKeymapAction.ts and vice versa, so that these files contain their relevant classes. 2016-03-31 11:30:50 +02:00
László Monda
3cb91ad478 Add assert decorator functions. 2016-03-31 10:12:41 +02:00
László Monda
d2f3ec62f0 Use template strings where needed. 2016-03-30 22:17:07 +02:00