Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
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
d2f3ec62f0 Use template strings where needed. 2016-03-30 22:17:07 +02:00
László Monda
5b6f62c113 Make the first byte of KeyAction items purely denote their type. Make the binary representation of KeyAction items variable-length. 2016-03-30 17:19:09 +02:00
László Monda
4bd1c8b3e9 Let's not duplicate part of the KeyActionId enum as LongPressActionId because duplication should only cause troubles down the road. 2016-03-30 12:59:03 +02:00
László Monda
5bd6c0a8a0 Use KeyActionId values wherever possible. Add some further value checks. Assign this.mouseAction properly. 2016-03-30 12:31:53 +02:00
László Monda
94e5d55d8f Add DualRoleKeystrokeAction. 2016-03-30 01:48:08 +02:00