Commit Graph

821 Commits

Author SHA1 Message Date
József Farkas
acb2fb0af2 Use one svg and render all keys of modules on it 2016-04-16 14:26:50 +02:00
Sam Rang
43beae7043 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/agent-mockup 2016-04-15 09:17:28 -05:00
László Monda
97c025d19b Ease debugging by making the dump much easier to read for deeper object hierarchies. 2016-04-15 01:49:01 +02:00
Arpad Csanyi
96c56c8081 Unify mouse icons + fix text size on some click action buttons. #27 2016-04-15 00:21:16 +02:00
Arpad Csanyi
1f26bd3034 Try mouse icon instead of mouse cursor icon on the given layer. #27 2016-04-14 23:50:02 +02:00
Sam Rang
b805435365 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/agent-mockup 2016-04-14 16:49:02 -05:00
Arpad Csanyi
17ae4aab30 Add key title design for some media keys. #27 2016-04-14 02:20:21 +02:00
Arpad Csanyi
e51b70eb66 Add key title designs for mouse clicks. #27 2016-04-14 00:15:25 +02:00
Arpad Csanyi
620f260c5b Add scroll key layouts. #27 2016-04-14 00:06:32 +02:00
Arpad Csanyi
8d572648c6 Add mouse movement key title designs. #27 2016-04-13 23:36:37 +02:00
Arpad Csanyi
9458509a8e Add file containing helper rects for alignments. #27
The magenta colored rects are the alignment helpers.
2016-04-13 21:54:17 +02:00
Arpad Csanyi
70c85c9a75 Update basic key title layouts. #27 2016-04-13 21:53:48 +02: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
Sam Rang
8d5613d236 ignore vim swap files 2016-04-12 06:55:42 -05:00
Arpad Csanyi
9b040c6665 Modifier and layer switcher keys only have primary actions. #27
Possibly we can allow assigning multiple modifiers to a single key (e.g.
one keypress makes: ctrl+shift), so you wouldn't have to press two
modifiers. But that seems really and edge case.
2016-04-11 11:03:52 +02:00
Arpad Csanyi
6cc7fede82 Add some more layout ideas from keys: 1-3. #27. 2016-04-11 10:32:49 +02:00
Arpad Csanyi
41010cf220 Work on key layouts for the base layer. #27
The keys having a magenta background are the ones that are done. Changes
worth mentioning:
- key "4$" vs. "6^": see the difference of the two layout while having
  the same amount of information.
- key "9(" vs. "0)" (same as 7 vs. 8): the first key contains one
  text element and the spacing of between the top and bottom is based on
  line-height, while the second key is divided into 0.5-1-1-0.5
  portions, and the two text objects are aligned in the middle sections.
  This latter layout is more consistent with other parts of the keyboard
  as this same approach is used on the key "4$", and the benefit of this
  layout is that we don't have to deal with line-height, and can easier
  control the final layout.
2016-04-11 09:46:45 +02:00
László Monda
7d0137a232 Include "pointer" into pointer-specific properties for the sake of being explicit. 2016-04-10 23:11:49 +02:00
László Monda
4fb88e9e7c Only allow a single pointer role per module. Extend the data model later if needed. 2016-04-10 23:10:34 +02:00
József Farkas
714f24429c Show keyboard at keymaps-ng2 2016-04-10 18:22:50 +02:00
József Farkas
1547391fd7 Add initital Keyboard component (shows only the first module) 2016-04-10 18:22:50 +02:00
József Farkas
4ccf06efc5 Add KeyboardModule Component 2016-04-10 18:22:50 +02:00
József Farkas
f8bcf2ef94 Add KeyboardButtonGroup Component 2016-04-10 18:22:50 +02:00
József Farkas
0ec6b56d9b Add KeyboardButton Component 2016-04-10 18:22:50 +02:00
József Farkas
f924a5681f Provide DataProviderService to all descendant components 2016-04-10 18:22:50 +02:00
József Farkas
cc6b42de32 Fix ng2 keymap style 2016-04-10 18:22:50 +02:00
József Farkas
df3ae6c918 Load svg of the keyboard layout 2016-04-10 18:22:50 +02:00
József Farkas
cf1f979c8a Move src/tsconfig.json to the root 2016-04-10 18:22:50 +02:00
László Monda
09a4636ae4 Tweak the configuration a bit. 2016-04-10 12:55:35 +02:00
László Monda
f946e98498 Update README.md 2016-04-09 15:37:12 +02:00
László Monda
3a7703571b Remove redudant whitespaces. 2016-04-09 15:00:33 +02:00
László Monda
71be5653c2 Update README.md 2016-04-09 14:59:47 +02:00
László Monda
9c38cf5253 Move agent-config.json and uhk-state.json to src. 2016-04-09 14:54:49 +02:00
László Monda
4ad80aa5f1 Merge branch 'master' of github.com:UltimateHackingKeyboard/agent 2016-04-09 14:42:27 +02:00
László Monda
ffdc846405 Always display the dot at the end of the sentence. 2016-04-09 14:41:58 +02:00
László Monda
e18a12908c Update README.md 2016-04-09 14:41:28 +02:00
László Monda
dbf322d679 Update README.md 2016-04-09 14:33:17 +02:00
László Monda
e7cb1dad13 Update README.md 2016-04-09 14:29:39 +02:00
László Monda
387d529041 Update Agent demo URL. 2016-04-09 14:20:19 +02:00
László Monda
ba64cc6da6 Add Function.d.ts 2016-04-09 14:03:02 +02:00
László Monda
8a2fd58c00 Use hex contants for limits for better maintainability. 2016-04-09 13:44:54 +02: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