Commit Graph

116 Commits

Author SHA1 Message Date
Róbert Kiss
297fd3be79 feat(device): flash device firmware from Agent (#499)
* add dataModelVersion, usbProtocolVersion, slaveProtocolVersion

* read the package.json at appstart

* flash firmware

* update firmware

* fix extra resource path

* fix import modules

* update lock files

* fix imports

* terminal window

* exclude tmp folder from git repo

* ok button

* auto scroll in xterm

* fix maxTry count calculation

* optimize logging

* optimize timeout

* readSync

* Add extra delay

* fix async call

* fix error message in log

* fix ok button disable state

* retry

* list devices

* close device after reenumeration

* retry snooze

* kboot maxtry 10

* retry 100

* remove deprecated toPayload ngrx helper

* flash firmware with custom file

* fix tslint
2017-11-27 22:12:43 +01:00
László Monda
f608791a09 Expose JSON and binary device configuration exports as links. 2017-11-23 03:45:23 +01:00
László Monda
c9feb49529 Add update-all-firmwares.js 2017-11-17 01:02:31 +01:00
Róbert Kiss
62c5e9d88a fix(keymap): Handle more than 35 same keymap abbreviation (#497) 2017-11-12 15:29:30 +01:00
Róbert Kiss
9e69098ad2 fix(keymap): Secondary role show 'None' value if not set (#496)
* fix(keymaps): Secondary role show 'None' value if not set

* style: move else in the same line with the close if }
2017-11-12 15:11:01 +01:00
László Monda
4aae62e3a7 Add timer field to the debug script. 2017-11-12 14:45:40 +01:00
László Monda
dbbb3e6d0f List layer switchers before modifiers in the secondary role select2 list. 2017-11-11 16:43:10 +01:00
László Monda
1effc3c1dc Update variable names according to firmware variables. 2017-11-11 16:28:04 +01:00
László Monda
a2fc30175d Dump individual debug values in an easy to read fashion. 2017-11-09 18:59:04 +01:00
László Monda
42e39375d1 Rename HardwareConfiguration.hardwareId to deviceId and set it to 1 by default. 2017-11-09 01:05:42 +01:00
László Monda
fc7840aa24 Rename the module.json to device.json of the uhk60-right. 2017-11-09 01:01:34 +01:00
László Monda
5996ae14b0 Split id as deviceId and moduleId in module.json descriptor files. 2017-11-09 00:02:59 +01:00
László Monda
3f26aa68fb Rename USB scripts according to the recent USB command renames. 2017-11-08 23:19:21 +01:00
László Monda
4e8061eb63 Rename launchEepromTransfer to launchEepromTransferLegacy. 2017-11-08 23:15:47 +01:00
László Monda
f9e1d022f2 Slightly tweak USB command names. 2017-11-08 23:13:03 +01:00
László Monda
6ba6ad543e Move the uhk60-right directory from modules to devices. 2017-11-08 22:52:03 +01:00
László Monda
66a30431d0 Move the separator line SVG into uhk60-right. 2017-11-08 22:42:27 +01:00
László Monda
04b43896c5 Make the firmware updater scripts take module slot parameters instead of I2C addresses. Rename scripts from *slave* to *module*. 2017-11-08 18:27:45 +01:00
László Monda
9a5862b57c Make update-slave-firmware expect a module slot name, too. 2017-11-08 03:47:51 +01:00
László Monda
ac5d6ba32a Add firmware updater scripts from the firmware repo and the dependent blhost binaries. 2017-11-08 01:18:46 +01:00
László Monda
ee85f666ae Delete deprecated scripts. 2017-11-08 00:42:32 +01:00
László Monda
5252ec3702 Increment the argument of jumpToSlaveBootloader now that it's been changed from UHK module driver id to slot id. 2017-11-06 00:29:24 +01:00
László Monda
a5c478d51c Remove the unused scripts section of package.json and make user-config-json-to-bin.ts slightly simpler. 2017-11-04 17:45:26 +01:00
Róbert Kiss
d9417eaa89 fix(config): Remove userConfigurationLength from json serialization (#490) 2017-11-04 17:38:04 +01:00
Róbert Kiss
78e27c3688 build: user-config-json-to-bin.ts runnable from other directory (#489)
* new setup

* make run able ts file from other directory

* do not build project
2017-11-04 17:26:34 +01:00
László Monda
6ab7bd9298 Read bytes 1-2 instead of bytes 0-1 now that the firmare uses the status byte as expected. 2017-11-04 02:06:01 +01:00
László Monda
a5ff1cd97d Tweak the label and description of the secondary role a bit. 2017-11-03 22:45:32 +01:00
László Monda
2ae7abe440 Utilize ts-node to run user-config-json-to-bin.ts. Remove the lint pre-commit hook because I couldn't commit with git. 2017-11-03 00:33:37 +01:00
Róbert Kiss
ea700852bc fix(config): Add userConfigurationLength to the user-config.json 2017-11-02 23:58:47 +01:00
Róbert Kiss
217d78a85f chore: add lint precommit hook (#488) 2017-11-02 23:29:48 +01:00
Róbert Kiss
f6ea327813 build(usb): run chmod u+x after build (#487) 2017-11-02 23:20:53 +01:00
Róbert Kiss
0c30eccaca feat(device): Read only filled user configuration and fix app close on mac (#486)
* feat(device): Save user configuration length

* feat(device): Read only filled user configuration from EEPROM

* fix(agent): Close device connections and quit from app on Mac
2017-11-02 23:06:53 +01:00
Róbert Kiss
e394f8483e build: Add watch script to usb module 2017-11-02 20:20:14 +01:00
Róbert Kiss
009dd8e963 fix(usb): user-config-json-to-bin compile 2017-11-02 19:56:21 +01:00
László Monda
7ab55e9ac5 Move user-config-json-to-bin.ts to the usb package and use import instead of require. 2017-11-02 17:43:29 +01:00
László Monda
4ae432e91d Add JSON to bin configuration converter script. 2017-11-01 17:10:56 +01:00
László Monda
91eb4b3a50 Rename uhk60-{left,right}-half to uhk60-{left,right} 2017-10-31 22:05:32 +01:00
László Monda
3f78cc1340 Add script to test hidapi stability by using readSync() calls. 2017-10-31 20:08:33 +01:00
Róbert Kiss
1f634f98f3 fix(usb): remove extra first 0 from USB transfer data 2017-10-30 20:35:41 +01:00
László Monda
220999eeda Simplify slot names by removing the "-keyboard" part. 2017-10-30 02:11:43 +01:00
Róbert Kiss
48567d420b build: fix node-hid version number in deploy package.json 2017-10-29 09:33:33 +01:00
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
László Monda
bcf9607ae3 Make macro header texts a bit more verbose. 2017-10-29 00:39:35 +02:00
László Monda
5cdd317253 Write "*wards" instead of left, right, down, and up. 2017-10-29 00:39:00 +02:00
László Monda
dc0c2862b3 Reduce the number of delays presets and make "seconds" non-bold. 2017-10-29 00:38:20 +02:00
László Monda
d1c8ef94fc Add ISO key to all keymaps. 2017-10-29 00:37:53 +02:00
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