Commit Graph

290 Commits

Author SHA1 Message Date
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
785cf4b7f3 Modify the ids of keys to start from 0 in both module. 2016-04-17 21:02:17 +02:00
József Farkas
25fa5535da Add isModifierActive helper function to actions with modifier mask. 2016-04-17 20:40:54 +02:00
László Monda
d1f5e21e24 Merge pull request #32 from srang/feature/layer_layers
Feature/layer layers
2016-04-17 12:03:49 +02:00
Sam Rang
38238f4d5a s/KeyLayer/LayerName/g 2016-04-16 21:12:05 -05:00
Sam Rang
2dc51f3d72 make things interesting/complicated 2016-04-16 20:55:44 -05:00
Sam Rang
e7a6bebe71 layer and layers 2016-04-16 20:54:46 -05:00
József Farkas
b6174c8333 Rename bundle folder to build. 2016-04-16 21:38:34 +02:00
József Farkas
86785182a6 Add svg sprite generator for icons. 2016-04-16 21:36:27 +02:00
Arpad Csanyi
a2be0d4e25 Add first batch of icons for being able to work on the sprite. #27 2016-04-16 21:10:18 +02:00
László Monda
f9377cf294 Merge pull request #31 from srang/master
Module and Modules
2016-04-16 19:29:58 +02:00
Sam Rang
68798bfa64 mirror master more closely 2016-04-16 12:12:59 -05:00
Sam Rang
fb29ca9726 cleanup for pr 2016-04-16 11:48:13 -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
5f3e80cec5 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/agent-mockup 2016-04-16 09:34:25 -05:00
Arpad Csanyi
387a4e12e8 Add mod layer designs with the menu key. #27 2016-04-16 15:41:21 +02:00
József Farkas
d9360b2fb7 Move the fill of keys to the root 2016-04-16 14:57:06 +02:00
József Farkas
c47188b2b2 Add coverages of modules 2016-04-16 14:50:13 +02:00
József Farkas
d5dc8d8d0e Update angular2 (to 2.0.0-beta.15), webpack and their dependencies 2016-04-16 14:39:20 +02:00
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