Commit Graph

13 Commits

Author SHA1 Message Date
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
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
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
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
17e56fdf7c Add KeyActionId enum. 2016-03-30 02:19:10 +02:00
László Monda
0edde3236a Add TypeChecker and use its methods wherever possible. 2016-03-30 01:59:05 +02:00
László Monda
5f6727b53a Rename KeyActionNone to NoneAction. 2016-03-29 13:07:33 +02:00
László Monda
00827b1b94 Add MouseAction. 2016-03-29 13:05:48 +02:00
László Monda
03dbf3a142 Move the classes of the config items into the newly created config-items directory. 2016-03-29 02:05:59 +02:00