Commit Graph

28 Commits

Author SHA1 Message Date
Róbert Kiss
053352467d build: platform specific builds (#480)
* build: upgrade electron-builder and updater

* build: pack or publish managed by ENV

* fix typo

* ci: appveyor y64 build

* style: fix indent in release.js

* build: upgrade package version

* build: upgrade node-hid => 0.5.7

* build: upgrade node-hid => 0.5.7

* build: setup new release script

* build: setup new release script
2017-10-29 00:52:09 +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
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
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
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
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
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
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
Róbert Kiss
96e968729d feat(device): Read user config from eeprom (#413)
* feat(device): Read user config from eeprom

* read data from eeprom

* fix user config serialization

* fix device connected detection

* not allow override default config is eeprom is empty

* add error handling to eeprom parsing

* colorize log output

* add USB[T] feature

* add class name to USB[T] log

* remove redundant error log msg

* Add USB[T] to Apply user config
2017-09-17 12:45:20 +00:00
Róbert Kiss
d621b1e5e6 feat(device): Write user configuration into the eeprom (#411)
* feat(device): Write user configuration into the eeprom

* when save user config settings wait until is not keyboard busy
2017-09-14 22:13:00 +00:00
László Monda
88a04454ae Ignore HID exception which gets thrown when the bootloader is already up. Remove noisy messages. 2017-09-06 21:57:46 +02:00
László Monda
d7e820bc1f Add comment regarding the commented out workaround for node-hid issue 187. 2017-09-06 21:37:46 +02:00
László Monda
d8bf6a70ac Make code more readable. Remove the writeLedDriver that doesn't do anything anymore. 2017-09-06 21:35:16 +02:00
Róbert Kiss
30c74c06d3 refactor(usb): Use hid-api instead of lib-usb (#404)
* refactor(usb): Rewrite jump-to-bootloder to node-hid

* refactor(usb): Rewrite the whole usb packages to HID-API

* refactor(usb): Deleted not valid usb command files

* refactor(usb): Deleted not supported usb commands

* Remove obsolete script.

* Remove obsolete script.

* Fix script.

* Fix script.

* No need to assign the silent property because it has been removed.

* This workaround may work on other platforms, but it certainly doesn't work on Linux. It makes some scripts not work, so I'm commenting it out.

* Fix bootloader VID and PID.
2017-09-06 14:32:58 +02:00
László Monda
3cbd3bb5ea Add firmware upgrade script for the left half. 2017-08-30 22:06:16 +02:00
László Monda
c954c6bf51 Fix filename. 2017-08-30 20:54:53 +02:00
László Monda
6b2751a7c7 Add script. 2017-08-30 20:47:09 +02:00
Róbert Kiss
0f558e4132 refactore: create feature modules (#387)
* add @angular/cli to the project

* increase nodejs version -> 8.2.1

* add lerna

* merge web and shared module

* move electron module into packages as uhk-agent

Electron agent functionality is not working

* delete symlinker

* convert private properties to public of component if used in html

* revert uhk-message.component

* fix component path

* fix the correct name of the uhk-message.component.scss

* building web and electron module

* delete uhk-renderer package

* handle device connect disconnect state

* add privilege detection

* fix set privilege functionality

* turn back download keymap functionality

* add bootstrap, select2 js and fix null pointer exception

* turn back upload data to keyboard

* fix send keymap

* fix test-serializer

* add missing package.json

* merging

* fix appveyor build

* fix linting

* turn back electron storage service

* commit the missing electron-datastorage-repository

* update node to 8.3.0 in .nvmrc and log node version in appveyor build

* set exact version number in appveyor build

* vertical align privilege and missing device components

* set back node version to 8 in appveyor

* move node-usb dependency from usb dir to root

maybe it is fix the appveyor build

* revert usb to root

* fix electron builder script

* fix electron builder script

* turn off electron devtools

* remove CTRL+U functionality

* fix CTRL+o

* fix lint error

* turnoff store freeze

* start process when got `Error: EPERM: operation not permitted` error

* move files from root usb dir -> packages/usb
2017-08-19 20:02:17 +02:00