Commit Graph

72 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
75ab0e2977 test(user-config): fix unit tests (#506) 2017-12-05 22:27:27 +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
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
dbbb3e6d0f List layer switchers before modifiers in the secondary role select2 list. 2017-11-11 16:43:10 +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
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
Róbert Kiss
d9417eaa89 fix(config): Remove userConfigurationLength from json serialization (#490) 2017-11-04 17:38:04 +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
Róbert Kiss
ea700852bc fix(config): Add userConfigurationLength to the user-config.json 2017-11-02 23:58:47 +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
László Monda
91eb4b3a50 Rename uhk60-{left,right}-half to uhk60-{left,right} 2017-10-31 22:05:32 +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
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
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
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
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
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
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