Commit Graph

893 Commits

Author SHA1 Message Date
József Farkas
16596d8a18 Fix flags restoration in KeystrokeAction fromBinary 2017-06-15 23:51:21 +02:00
László Monda
4414d9cfba Treat keystroke actions as none actions when no scancode, modifiers and long press action is specified. 2017-06-15 23:19:51 +02:00
László Monda
0843ecd89e Fix readCompactLength() 2017-06-15 13:03:02 +02:00
József Farkas
975c4709b4 Remove unwanted SwitchKeymapAction 2017-06-13 23:16:28 +02:00
József Farkas
aa38762c42 ANSI and ISO layout handling (#309)
* Read left and right modules

* Add missing styles

* Calculate indices from ids

* Skip missing keys

* Align key actions to match the order specified by the svg

* Fix svg key hover

* Fix key hover

Without using css important
2017-06-13 23:04:57 +02:00
József Farkas
f246900cd5 Fix converting to JsonObject in Module 2017-06-13 22:18:05 +02:00
József Farkas
1150f9d0ce Fixes on individual QWERTY keymap 2017-06-13 22:15:03 +02:00
József Farkas
59b546cb6a Fix invalid scancodes on QWERTY fn layer 2017-06-13 21:27:53 +02:00
József Farkas
1420e93a1b Register some missing media icons 2017-06-13 21:27:13 +02:00
Róbert Kiss
367bc42457 refactor(store): Refactor reducer initialisation (#298)
* refactor(store): Refactor reducer initialization

Refactored the ngrx/store reducer initialization, because hard to extend the original solution.
Bad practise the object initialization inside the components / services. The new solution use angular DI everywhere.
Separated the web and electron configuration store.

* Media key support (#294)

* Introduce type for KeystrokeAction

* Increment dataModelVersion

New property 'type' for KeystrokeAction

* Mapping for media keys

* Media key selecting support for KeypressTab

* refactor: Use more meaningful name (selectedScancodeOption)

* Store the keystroke type in key action type instead of a new field

* Fix NoneAction validation
Fixes #301

* Update electron version

It fixes electron build. The types are part of the electron package itself.

* Fix keystroke selection when additional field is given but no scancode (#306)

* Additional media keys with icons (#307)

* Add missing scancodes for media keystrokes

* Use icons for media keys

* Fix media scancodes.

* Create README.md

* build: upgrade electron and typescript version

Electron contains the typings files.

* refactor(store): Refactor reducer initialization

Refactored the ngrx/store reducer initialization, because hard to extend the original solution.
Bad practise the object initialization inside the components / services. The new solution use angular DI everywhere.
Separated the web and electron configuration store.

* build: upgrade electron and typescript version

Electron contains the typings files.

* fix(store): Remove the I prefix from IDataStorageRepositoryService

* fix(store): fix observer operator import

* fix(store): Add missing rxjs imports to user-config effect

* fix(store): Add missing rxjs imports to keymap effect
2017-06-13 14:41:40 +02:00
László Monda
679e20d915 Create README.md 2017-06-12 23:10:47 +02:00
József Farkas
1a456c2ced Additional media keys with icons (#307)
* Add missing scancodes for media keystrokes

* Use icons for media keys

* Fix media scancodes.
2017-06-12 20:46:06 +02:00
József Farkas
a8a659dadd Fix keystroke selection when additional field is given but no scancode (#306) 2017-06-11 17:04:03 +02:00
József Farkas
e2fef4fb3e Update electron version
It fixes electron build. The types are part of the electron package itself.
2017-06-11 16:16:27 +02:00
József Farkas
c4b25aab9b Fix NoneAction validation
Fixes #301
2017-06-11 16:02:27 +02:00
József Farkas
efe7e95b3e Media key support (#294)
* Introduce type for KeystrokeAction

* Increment dataModelVersion

New property 'type' for KeystrokeAction

* Mapping for media keys

* Media key selecting support for KeypressTab

* refactor: Use more meaningful name (selectedScancodeOption)

* Store the keystroke type in key action type instead of a new field
2017-06-11 12:11:12 +02:00
Róbert Kiss
8e823b57b4 style(editorconfig): Add json rule to editor config (#297)
We aggreed to use 2 indent size in json files. The reason is npm use 2 indent in package.json and this is the defacto
2017-06-07 08:57:56 +02:00
Attila Csanyi
85db54b00f change macro layout on xs and lg devices 2017-06-06 21:49:21 +02:00
Attila Csanyi
91a4447f2c clicking on a non-active macro action or on the title of the active macro action should cancel the editing of the current macro action 2017-06-06 20:59:55 +02:00
Attila Csanyi
fc002ccd4f use pointer cursor type over the whole macro action title bar (better solution) 2017-06-06 20:50:09 +02:00
Attila Csanyi
5fedf94346 use pointer cursor type over the whole macro action title bar 2017-06-06 20:42:44 +02:00
László Monda
118cdc1ff4 Update release script variables. 2017-06-06 00:55:22 +02:00
László Monda
fb799bd032 Add Travis secure token. 2017-06-06 00:42:59 +02:00
László Monda
e4a905d2e1 chore(release): 1.0.0 2017-06-05 23:44:16 +02:00
László Monda
29ef50047b Update AppVeyor secure token. 2017-06-05 23:42:44 +02:00
Róbert Kiss
f2b358ba96 Add electron-builder packager (#293)
* style(.editorconfig): Add json rule to editorconfig file

* build(build): Add application images

These images need to create installers
Contains images for:
- Win
- Mac
- Linux

* fix(device): Mac is not allow excusive right to use USB

* build(npm): Add standard-version script

* chore(device): Fix comment in UhkDeviceService

* chore(release): 1.0.0-alpha.1

* ci(travis): Change travis to c language and add osx, linux build matrix

* build(build): Windows icon size must be at least 256x256

* ci(appveyor): Add temporary GH_TOKEN to test msi installer

* build(tsconfig): Optimalize tsconfigs

Needed a tsconfig.json in the shared/src library because if it not exist the code builded after the second build on mac, and travis linux. Reproduce the error:
- Delete node_modules directory
- npm i
- npm run build
- error occured (ERROR in ./shared/src/polyfills.ts
Module build failed: error while parsing tsconfig.json)
Created a new tscfonfig.json in the project root folder.
The old config files extends this root configs.

* build(tsconfig): in tsconfig-electron-main not override module version

* chore(editorconfig): Delete json rule

* style: Reformat the main package.json to apply editorconfig style
2017-06-05 23:34:46 +02:00
László Monda
6c31088da8 Add Appveyor badge. 2017-05-31 23:05:58 +02:00
Róbert Kiss
14392fe580 Add appveyor CI integration (#292)
* build(npm): Add .nvmrc file

* style(.editorconfig): Add json rule to editorconfig file

* build(npm): Add test srcipt command to the package.json file

* build(appveyor): Add appveyor CI

* build(appveyor): not npm upgrade to the latest version

* style(editorconfig): Revert json rule
2017-05-31 21:30:55 +02:00
Stephen
5dc435953a move to trusty (#291)
avoids need for sudo
2017-05-29 21:44:30 +02:00
László Monda
3b59a1a6fa Update the VID and PID of the bootloader device. 2017-05-24 02:07:30 +02:00
László Monda
52562d0170 Update USB VID and PID. 2017-05-23 23:27:47 +02:00
László Monda
c0768503da Set final USB VID and PID. 2017-05-23 23:16:53 +02:00
László Monda
b02286ad8d Set final USB VID and PID. 2017-05-23 23:12:48 +02:00
László Monda
47d1bae075 Remove config-schema.json because it's outdated and its ongoing maintenance would be overly laborious. Closes #46. 2017-05-09 19:57:12 +02:00
László Monda
49477faa48 Display voltage. 2017-05-08 22:54:48 +02:00
László Monda
0e7785d3ee Add read-adc.js 2017-05-08 03:00:32 +02:00
Attila Csanyi
c57e52fc45 doc: fix renamed uhk-config.json to user-config (#289) 2017-04-28 22:50:40 +02:00
József Farkas
a48b99ea05 Update dependencies 2017-04-23 21:26:40 +02:00
József Farkas
3ec31e9eda Remove invalid keyactions from default keymaps 2017-04-09 13:39:20 +02:00
József Farkas
068e287769 Copy SwitchLayer actions from base layer to every none base layer 2017-04-09 13:38:22 +02:00
József Farkas
3952e3347a Remove SwitchLayerActions from non base layers
Closes #286
2017-04-08 21:28:17 +02:00
József Farkas
4b99fb213e Merge udev rules
Closes #279
2017-04-08 21:08:54 +02:00
József Farkas
0e0d2e45ba Fixes download keymap title
Closes #284
2017-04-08 21:01:43 +02:00
József Farkas
32fffaaf2b Use png icon instead of ico format
Fixes #266
2017-03-24 20:59:15 +01:00
József Farkas
195a02bae2 Add missing BrowserAnimationsModule to AppModule of the electron build 2017-03-24 20:36:07 +01:00
J??zsef Farkas
02bf3f48b9 Split the presets into individual jsons
Closes #274
2017-03-24 20:17:36 +01:00
József Farkas
36d68d1a68 Update dependencies 2017-03-24 19:26:37 +01:00
J??zsef Farkas
f6744b737a Update angular to 4.0.0 2017-03-24 19:24:31 +01:00
József Farkas
d45551c4fd Fixing device open right after attach
We should find a proper fix instead of this hack.
2017-03-19 15:47:22 +01:00
József Farkas
b055750e01 Add missing redirect from privilege screen to the main screen 2017-03-19 15:45:20 +01:00