Commit Graph

1131 Commits

Author SHA1 Message Date
László Monda
e3906222ca Only keep the most popular layouts including QEWRTY, Colemak and Dvorak. 2017-12-09 21:29:54 +01:00
Róbert Kiss
40b72e8903 feat(scripts): Add write-userconfig (#511) 2017-12-09 20:37:14 +01:00
Róbert Kiss
2d416e7668 fix(device): use module import in uhk-usb (#509)
* fix(device): use module import in uhk-usb

* fix getTransferBuffers import
2017-12-09 18:02:39 +01:00
László Monda
55bd0148f4 Use firmware 5.0.1 2017-12-09 17:02:23 +01:00
Róbert Kiss
3de9181687 feat(device): Ensure serial the device communication (#508) 2017-12-09 16:11:03 +01:00
Róbert Kiss
19d7b8ebfe chore(release): 1.4.1 2017-12-05 22:29:02 +01:00
Róbert Kiss
75ab0e2977 test(user-config): fix unit tests (#506) 2017-12-05 22:27:27 +01:00
Róbert Kiss
777832068d chore(release): 1.4.0 2017-12-05 21:02:27 +01:00
László Monda
f44202c0e7 Extract debug values to constants and compute USB interface callbacks per second. 2017-12-05 03:05:20 +01:00
László Monda
353c87d71a Make uhk.js non-executable. 2017-12-04 03:07:08 +01:00
László Monda
fdef5ed580 Fix config size user config offsets. Restore getConfigSizeFromKeyboard() size if the read user config size is larger than it. Move pointerRole from keymaps to module configurations as pointerMode. Add angularShift, modLayerPointerFunction, fnLayerPointerFunction, and mouseLayerPointerFunction to module configurations. Reference firmware 5.0.0 2017-12-04 00:51:50 +01:00
László Monda
7537e5b823 Add a number of properties to the user config that are related to mou… (#501)
* Add a number of properties to the user config that are related to mouse movement, LED brightness, data model versioning, and double tap switch layer timeout. Update firmware related version numbers.

* use default config if parse loaded config from device failed

* add asserts to the new user config fields

* separate user and hardware config parser

* fix indent

* fix user-config size read
2017-12-02 23:55:43 +01:00
Róbert Kiss
58b1b9b1dc fix(device): fix IpcRenderer empty data messages (#503)
* fix(device): fix IpcRenderer empty data messages

If IpcRenderer send null / undefined data as argument then IpcMain parse
it as empty array and not a NULL object

* fix else line break
2017-12-02 22:40:54 +01:00
Róbert Kiss
95d1d7f8b5 chore: Upgrade node => 5.9.1 and npm => 5.6.0 (#502)
The npm upgrade maybe solve the cross-platform package-lock.json problem.
2017-12-02 13:31:34 +01:00
Róbert Kiss
13f2b65a7c fix(rendered): Double scrollbar 2017-11-30 00:09:03 +01:00
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
e7d8b619fd Regenerate icons. 2017-11-07 23:57:10 +01:00
László Monda
22f6d52a71 Merge branch 'master' of github.com:UltimateHackingKeyboard/agent 2017-11-07 23:56:43 +01:00
László Monda
ebdb0b114c Add icon generator script. 2017-11-07 23:56:28 +01:00
Róbert Kiss
e61f6ef106 chore(release): 1.3.7 2017-11-07 23:26:06 +01:00
Róbert Kiss
30890fca0d ci: install yarn on travis osx 2017-11-07 23:25:40 +01:00
Róbert Kiss
555688f7d4 Revert "ci: try to build ARM7"
This reverts commit e842bae
2017-11-07 21:47:52 +01:00
Róbert Kiss
d80de77b2f chore(release): 1.3.6 2017-11-07 21:28:20 +01:00
Róbert Kiss
e842baefa8 ci: try to build ARM7 2017-11-07 21:26:35 +01:00
Róbert Kiss
8703664118 chore(release): 1.3.5 2017-11-07 18:26:43 +01:00
Róbert Kiss
915aefe8a3 revert: remove electron builder from package.json 2017-11-07 13:53:16 +01:00
Róbert Kiss
89b45de11a chore(release): 1.3.4 2017-11-06 23:25:19 +01:00
Róbert Kiss
40eb2ca9a2 ci: install electron-builder only when releasing 2017-11-06 23:24:27 +01:00
László Monda
b3a38a5d6c Merge branch 'master' of github.com:UltimateHackingKeyboard/agent 2017-11-06 00:31:05 +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