Commit Graph

145 Commits

Author SHA1 Message Date
László Monda
b2f5bf1d66 Throw consistent error messages. 2016-03-29 00:34:49 +02:00
László Monda
0aeec88cb5 Make Serializable a generic. Make fromJson() and fromBinary() return the generic type. 2016-03-29 00:17:11 +02:00
László Monda
924234cea8 Extract key action types to their respective classes. 2016-03-28 23:59:09 +02:00
László Monda
81fe488dce Rename actionType to keyActionType and macroActionType respectively. 2016-03-28 17:10:30 +02:00
László Monda
cbf83cf778 Add KeyActionNone 2016-03-26 14:58:57 +01:00
László Monda
252b0969d6 Merge branch 'master' of github.com:UltimateHackingKeyboard/agent-mockup 2016-03-26 02:53:42 +01:00
László Monda
9d77d7212b Add UhkBuffer.backtrack() and implement the KeyAction class. 2016-03-26 02:52:50 +01:00
Arpad Csanyi
32b219a483 Remove red lines from keyboard designs. 2016-03-26 01:03:12 +01:00
Arpad Csanyi
f844350782 Change the order of Scancode and Modifiers fixing #23.
I find the current spacing between the "Long press action" and the
"Modifiers" is enough, and not too much.
2016-03-26 00:54:25 +01:00
Arpad Csanyi
5099ea2f01 Close #21 by making the border of the popover's tip black. 2016-03-26 00:47:38 +01:00
Arpad Csanyi
f5756a72bd Restructure scss file to make use of basic language features. 2016-03-26 00:45:56 +01:00
Arpad Csanyi
1c05abe9b9 Make scss file from old style.css and compile it as well. #21 2016-03-26 00:27:38 +01:00
Arpad Csanyi
60b11f9a69 Add css related to the previous change. #21 2016-03-26 00:26:59 +01:00
Arpad Csanyi
4c4717a982 Set currently selected key's color to the primary color. #21
This commit relates to #18 as well, as we will have to refactor the
color set here after finishing that issue.
2016-03-26 00:16:39 +01:00
Arpad Csanyi
c62b8506e9 Close #19 by removing empty stars from the keymap menu items.
This way only the currently set default keymap will have an indicator in
the menu, and there won't be any interaction possible from there.
2016-03-26 00:00:06 +01:00
Arpad Csanyi
74cfe6d1af Close #20 by removing drag handles. 2016-03-25 23:32:52 +01:00
László Monda
32646f3616 Validate scancode via accessor. 2016-03-25 21:53:30 +01:00
László Monda
32adbf2124 Deserialize the binary representation of Keystroke. Check scancode validity. 2016-03-25 21:02:18 +01:00
László Monda
b9fe33d5d6 Make UhkBuffer allocate a Buffer. 2016-03-25 20:46:33 +01:00
László Monda
0c7ff11f33 Add tslint.json and fix coding style accordingly for the most part. 2016-03-25 18:33:51 +01:00
László Monda
82f181d184 Add tslint to devDependencies and clean up the codebase according to tslint suggestions. 2016-03-25 02:02:20 +01:00
László Monda
468606481c Implement UhkBuffer readString() and writeString() methods. 2016-03-25 01:30:07 +01:00
László Monda
993042e89c Add UhkBuffer read methods and rename Uint to UInt in its other methods. 2016-03-24 22:49:08 +01:00
László Monda
b6038d84d6 Add type definitions to the methods of UhkBuffer. 2016-03-24 22:32:48 +01:00
László Monda
581f503b13 Prefix the name of UhkBuffer write methods with "write". 2016-03-24 22:23:05 +01:00
László Monda
483053a991 Add Serializable.ts and KeystrokeAction.ts 2016-03-24 20:56:27 +01:00
László Monda
25b7cad4ab Referenec UhkBuffer.ts as an internal module. 2016-03-24 18:25:11 +01:00
László Monda
015ed35f3c Loosely port the serializer to TypeScript. 2016-03-24 02:48:22 +01:00
László Monda
efd1f6f65f Update README.md 2016-03-22 23:11:06 +01:00
László Monda
018dce4b81 Get rid of Bower and thereby close #4. 2016-03-22 23:06:19 +01:00
László Monda
91d3e85516 Fetch Sortable via npm instead of Bower. 2016-03-22 23:05:20 +01:00
László Monda
e4263eec19 Pull Font Awesome via npm instead of Bower. 2016-03-22 22:59:19 +01:00
László Monda
a877277c2a Merge branch 'master' of github.com:UltimateHackingKeyboard/agent-mockup 2016-03-22 22:55:26 +01:00
László Monda
45c57d3257 Pull handlebars via npm instead of bower. 2016-03-22 22:55:02 +01:00
László Monda
e79cdcd50f Update README.md 2016-03-22 22:48:41 +01:00
László Monda
adbf5a568d Pull select2 via npm instead of bower. Fix some bootstrap resource links that I managed to screw up lately. 2016-03-22 22:43:03 +01:00
László Monda
9f87567cf6 Remove the redundant type="text/css" attribute. 2016-03-22 21:30:14 +01:00
László Monda
5365ac9229 Pull bootstrap via npm instead of bower. 2016-03-22 21:27:35 +01:00
László Monda
6952b554c9 Remove jQuery from the bower_components directory. 2016-03-22 21:15:14 +01:00
László Monda
e5a65f2ad2 Remove the rest of the redundant type="text/javascript" attributes which I forgot to remove. 2016-03-22 21:14:16 +01:00
László Monda
b2757fb56c Remove the redundant type="text/javascript" attributes. 2016-03-22 21:11:01 +01:00
László Monda
667490011d Pull jQuery via npm instead of bower. 2016-03-22 21:05:46 +01:00
László Monda
f604b94012 Add missing fields to package.json and make these dependencies devDependencies. 2016-03-22 20:52:11 +01:00
László Monda
7746810ac7 Update README.md 2016-03-22 19:15:54 +01:00
László Monda
33b55c531f Add image. 2016-03-22 19:14:16 +01:00
László Monda
3ab17db600 Update README.md 2016-03-22 12:12:58 +01:00
László Monda
4ad771fe08 Update README.md 2016-03-22 12:11:16 +01:00
László Monda
f6fc0a7f64 Update README.md 2016-03-22 12:10:44 +01:00
László Monda
e1a9a276cd Update README.md 2016-03-22 12:08:37 +01:00
László Monda
a0dfffce4c Remove the priority field which won't be used anymore. 2016-03-22 02:14:32 +01:00