Commit Graph

1040 Commits

Author SHA1 Message Date
Róbert Kiss
cdc4a169de feat(config): Add deviceName to the user config (#474)
* add device name to configuration

* feat(config): Rename user configuration

* style: fix tslint error

* test: Fix unit tests

* test: Add UserConfiguration device name test

* set device name if faild the user-config read from device

* feat(device): Remove the first 0 from USB[W] dump
2017-10-28 20:16:59 +02:00
Róbert Kiss
9885439b10 feat(ui): macro ui improvement (#473)
* Remove the "Input the text you want to type with this macro action." sentence from the type text macro action.

* Move pointer and Scroll enhancement

* remove the extra vertical space above the mouse buttons

* macro delay enhancement

* not allow user select on a few elements

* fill the macro, keymap name the all space in the header
2017-10-28 16:54:08 +02:00
Róbert Kiss
bd49e26978 build: upgrade node to 8.8.1 (#471)
* build: upgrade to nodejs 8.8.1 and npm 5.5.1

* ci: upgrade the npm to the latest version in ci files

* build: remove duplication from clean script
2017-10-27 00:44:55 +02:00
Róbert Kiss
2f459a88c6 feat(agent): remove routing animation from keymaps (#468)
* feat(agent): remove routing animation from keymaps

* fix(agent): stylelint warning

* fix(web): Align center the keyboard in init state
2017-10-26 23:49:30 +02:00
Róbert Kiss
6c6e2af047 refactor: Change name of actions (#470)
* style: shorter import in key-macro-action.ts

* refactor: rename 'press' macro key action to 'tap'

* refactor: rename 'hold' macro key action to 'press'

* refactor: rename 'press' macro mouse action to 'click'

* style: fix stylelint
2017-10-26 23:25:19 +02:00
László Monda
133f8be370 Rename send-kboot-command.js to send-kboot-command-to-slave.js 2017-10-23 22:23:00 +02:00
László Monda
7661700457 Rename jump-to-bootloader.js to reenumerate.js and make it able to reenumerate as any UHK USB product ID. 2017-10-23 16:48:09 +02:00
László Monda
1b22a2e739 Rename send-kboot-reset.js to send-kboot-command.js and generalize it by allowing various KBOOT commands to be sent. 2017-10-23 01:13:36 +02:00
László Monda
1a0fa5b5ba Add send-kboot-reset.js and add the new USB command ID to uhk.js 2017-10-22 02:13:08 +02:00
László Monda
ce91d88448 Don't dump transfered payloads in jump-to-{slave-}bootloader.js 2017-10-21 03:09:47 +02:00
László Monda
7c7fde6d30 Don't create a HID object out of the bootloader device because that makes blhost unable to connect to it for some reason even if jump-to-bootloader.js calls device.close() before it exits. 2017-10-20 00:10:08 +02:00
Róbert Kiss
277e3d2ded build: upgrade node to 8.7.0 (#469) 2017-10-19 21:51:05 +02:00
László Monda
e8f88b37f3 Exchange the Configuration and Mouse speed menu items. 2017-10-18 23:29:54 +02:00
Attila Csanyi
6fb8e56963 Add captured press keystroke for macros (closes #324) (#427)
* update npm lock file (#425)

* feat(capture): make capture keystroke button reusable as make itself render a link or button (closes #324)

* review: re-style bootstrap link button template of capture component like a button

* review: use same bootstrap btn-link styles for "Add macro action" as in case of "Add captured keystroke"
2017-10-18 22:40:09 +02:00
Róbert Kiss
8c652a427f feat(agent): change header styles (#464) 2017-10-18 21:34:29 +02:00
Róbert Kiss
3ffaf918cd refactor(agent): Rename 'LongKeypressAction' to 'SecondaryRoleAction' (#462)
* refactor(agent): Rename 'LongKeypressAction' to 'SecondaryRoleAction'

* build: Change the build order of the modules

* fix(user-config): Fix hasSecondaryRoleAction() calculation

* fix(user-config): fix stylelint warnings
2017-10-18 21:16:56 +02:00
László Monda
641248c9e6 Remove the now redundant examples directory. 2017-10-18 15:13:48 +02:00
László Monda
2630007f30 Change Firmware page title to Mouse speed. 2017-10-18 13:56:08 +02:00
László Monda
c579f2ce3e Leave more space above and below the explanatory text of the device configuration screen. 2017-10-18 13:52:06 +02:00
László Monda
a7e7d54054 Leave less space below the toplevel device node of the side menu. 2017-10-18 03:23:39 +02:00
Róbert Kiss
ab88d8a2e7 feat(agent): Add 'Device' menu and submenus (#461) 2017-10-18 01:28:02 +02:00
Róbert Kiss
041d4debb6 fix(app): Rename the title property of the uhk-message component (#460)
Renaming eliminate the default behaviour of the title attribute of the
HTML elements.
2017-10-18 01:19:40 +02:00
László Monda
f7cdbbb5e0 Make jump-to-bootloader.js able to reenumerate the UHK as BusPal proxy. 2017-10-17 01:27:01 +02:00
László Monda
75e3995276 Add jump-to-slave-bootloader.js 2017-10-17 01:10:36 +02:00
László Monda
05b3402765 Send bootloader timeout to the bootloader via USB. 2017-10-16 23:31:22 +02:00
László Monda
2676e0c671 Add explanatory text for the device configuration. Remove the "Save device binary configuration" button. Add "Upload device configuration" button that doesn't work yet. 2017-10-15 23:03:34 +02:00
László Monda
f2250b699c Rearrange user configuration related buttons and update the description of the reset configuration button. 2017-10-15 19:17:21 +02:00
László Monda
bff97f02d7 Change "Loading Agent..." to "Loading keyboard configuration..." 2017-10-15 16:05:47 +02:00
Róbert Kiss
69101d73a8 build: upgrade @angular => 4.4.5 (#451) 2017-10-15 14:52:24 +02:00
László Monda
5764189945 Delete the deprecated readMergeSensor USB command and the related read-merge-sensor.js test script. 2017-10-15 02:58:08 +02:00
László Monda
2896c9c60e Display isEepromBusy, areHalvesMerged, and isLeftHalfConnected states. 2017-10-15 02:56:45 +02:00
László Monda
4c55ca80ca Add separator line that will be displayed between the keyboard halves. 2017-10-15 02:12:50 +02:00
Róbert Kiss
a4056a8b8b feat(device): Add confirmation question before reset the configuration (#449)
* feat(device): Add confirmation question before reset the configuration

* feat(device): text change

* style: fix ts-lint error
2017-10-14 16:49:13 +02:00
Róbert Kiss
6b46c85ca6 feat(device): Add save config buttons to the Device settings page (#447)
* feat(device): Add save config buttons to the Device settings page

* feat(device): Set danger style to the reset user-config buttone
2017-10-14 16:04:50 +02:00
Róbert Kiss
737897b40e feat(agent): Add loading screen (#444)
* feat(uhk-message): Add spin animation

* feat(agent): Add loading page

* fix device connected / disconnected events
2017-10-14 01:22:44 +02:00
Róbert Kiss
01b07a3ab7 feat(device): Wait for read user/hardware config until device is ready (#443)
* feat(device): Wait for read user/hardware config until device is ready

* ci: remove uhk-web test runners until not I will fix the chome on mac
2017-10-14 00:55:16 +02:00
Róbert Kiss
235034bc68 ci: fix the chrome setup on travis mac (#445)
* ci: fix chrome config on mac

* ci: fix chrome config on mac

* ci: fix chrome config on mac
2017-10-14 00:33:05 +02:00
Róbert Kiss
7baf9ad009 fix(user-config): Layer switcher key behaviour on non-base layers (#440)
* refactor(user-config): Optimize imports

* feat(user-config): Clone SwitchLayerAction to destination layer

* fix(user-config): Fix Keymap SwitchLayerAction normalization

* test(user-config): Remove spy callThrough

* build: Add uhk-common test runner

* build: delete test serialization files

* fix(user-config): Add missing "type": "basic" properties to the user-config.json

* test(user-config): Add KeyMacroAction tests

* fix(user-config): Delete SwitchLayerAction from non destination layer

* fix(user-config): Keymap normalize delete SwitchLayerActions from non base layers

* ci: turn of uhk-web tests

* ci: turn off karma watch mode in uhk-web test
2017-10-13 12:25:57 +02:00
Róbert Kiss
46b97a9b62 feat(user-config): Add ISO key scancode (#441)
close: #437
2017-10-11 22:22:34 +02:00
László Monda
421f406cae Fix the layer switcher keys of all keymaps. 2017-10-10 01:51:40 +02:00
Róbert Kiss
0e5d6d1a25 refactor(device): Rename UserConfigSize => MaxUserConfigSize (#436)
Rename SystemPropertyIds.UserConfigSize => SystemPropertyIds.MaxUserConfigSize because it better describe which date will return from device
2017-10-09 23:20:06 +02:00
József Farkas
50e0b64f6e Upgrade to ngrx v4 (#378)
* Update ngrx to v4

* package.json files

* release: Remove zadic references from release script

* fix(user-config): Fix user-config loading

* build: Lock package dependencies

* build: fix app version

* ci: remove build:test step

* fix(user-config): Revert switch-keymap-action modifications

* test(user-config): xit keystroke-action test

* fix(user-config): Fix user config loading

* fix(user-config): Fix user config loading
2017-10-08 18:31:16 +02:00
Róbert Kiss
ba1fff788d feat(device): Reset user configuration on device (#435) 2017-10-08 00:23:46 +02:00
Róbert Kiss
23af522a48 fix(user-config): Fix user configuration savings (#433)
* test(user-config): Fix saveAs functionality

* feat(user-config): Add 2 space indent when save user-config to json file

* refactor(user-config): Move user config savings into user config effect

* build: Remove unused package
2017-10-07 16:19:32 +02:00
Róbert Kiss
35c0d98cd2 test(serializer): Add KeystrokeAction tests (#430)
* test: add basis of the unit testing of the uhk-common package

* test(serializer): Add KeystrokeAction tests

* fix(serializer): Fix KeystrokeAction scancode mapping

* test(serializer): Add NoneAction test cases

* test(serializer): Add MouseAction test cases

* test(serializer): Add PlayMacroAction test cases

* test(serializer): Add SwitchKeymapAction test cases

* test(serializer): Add UserConfiguration test cases

fix KeyAction mapping

* test(serializer): Add SwitchLayerAction test cases
2017-10-06 22:24:33 +02:00
László Monda
85bc5b94e1 Add read-keyboard-state.js 2017-10-05 21:53:32 +02:00
László Monda
15a56659b6 Add script. 2017-10-05 02:46:49 +02:00
Attila Csanyi
0ad261e7fd update npm lock file (#425) (#426) 2017-09-27 22:14:27 +02:00
Róbert Kiss
9294bede50 feat(config): Read / write hardware configuration area (#423)
* add write-hca.js

* refactor: Move config serializer into the uhk-common package

* refactor: Move getTransferBuffers into the uhk-usb package

* refactor: delete obsoleted classes

* build: add uhk-usb build command

* refactor: move eeprom transfer to uhk-usb package

* fix: Fix write-hca.js

* feat: load hardware config from the device and

* style: fix ts lint errors

* build: fix rxjs dependency resolve

* test: Add jasmine unit test framework to the tet serializer

* fix(user-config): A "type": "basic", properties to the "keystroke" action types

* feat(usb): set chmod+x on write-hca.js

* feat(usb): Create USB logger

* style: Fix type

* build: Add chalk to dependencies.

Chalk will colorize the output
2017-09-26 16:57:27 +00:00
László Monda
1122784bdb Fix script. 2017-09-19 01:08:53 +02:00