Commit Graph

990 Commits

Author SHA1 Message Date
László Monda
e99fb08cc2 Add Dvorak, Colemak, Workman, One-handed, Keyboard+mouse, and egghead.io keymaps. 2017-09-17 23:50:17 +02:00
Róbert Kiss
8f85254b5c fix(tooltip): Uncomment JQuery tooltip codes (#420) 2017-09-17 13:26:11 +00:00
Róbert Kiss
73ce1dfa67 fix(keymap): Should not automatically capitalize keymap name (#421) 2017-09-17 12:51:14 +00: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
Róbert Kiss
901a5eb5d1 refactor: Add UhkHidDevice wrapper that unified the USB communication (#414)
* refactor: Add UhkHidDevice wrapper that unified the USB communication

* fix(log): Hack Replace console.debug to console.log
2017-09-13 22:58:41 +00:00
Róbert Kiss
8d7269a998 feat(device): Add 'Save to keyboard' button (#402)
* feat(device): Add 'Save to keyboard' button

Created a 'Progress Button' that have 2 state in progress or not.
Able to set different text for different state:
- baseText for normal state
- progressText for in progress state
close: #377

* fix 'Save to keyboard' button visibility in web version

* remove success notification when save to keyboard success

* feat(notifier): Turn off auto hide of the notifier

* feat(device): Show saved state of 'Save to keyboard button'

* style: Format import in app.component.ts

* feat(device): Auto hide 'Save to Keyboard' button

* fix(device): Fix saving animation

* fix(device): Fix saving animation

* fix(device): Fix tslint
2017-09-10 23:22:54 +00:00
Attila Csanyi
c135aed7c9 Issue 388 - Device node (#397)
* Issue 388 - Device node (first version before review) (#388)

* fix: style linting issues

* review: revert the same padding size of the level 1 components on the sidebar

* feat(uhk-icon): Create uhk-icon set and fix USB device icon visibility in electron

* style: Use semicolon in js files
2017-09-10 22:56:03 +02:00
Attila Csanyi
accdf5facd Remove excess space above the UHK (#409)
* Issue 323 - Remove excess space above the UHK (#323)

* revert back specific width of keyboard slider to be able to visible in the electron app

* fix: showing the whole keyboard on big screen

* fix: satisfy very small screens (no overflow of other keyboard left side) and increase the place where keyboard can fit (tested near 2000px width)

* Revert "fix: satisfy very small screens (no overflow of other keyboard left side) and increase the place where keyboard can fit (tested near 2000px width)"

This reverts commit 376604d24a.
2017-09-09 01:03:56 +02:00
László Monda
90a689395c Add apt-get install. 2017-09-07 10:33:55 +02: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
László Monda
86868274d6 Update README.md 2017-09-06 20:11:54 +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
Attila Csanyi
c73ecdbde9 Issue - 141 - Validate macro actions (#141) (#395)
* Issue - 141 - Validate macro actions (#141)

* review: refactor validation logic based on each macro tab component emitted event

* review: mouse key macro invalid if any of the X, Y fields are empty

* review: apply review comments for shorthand if conditions and imports
2017-08-29 00:52:40 +02:00
Róbert Kiss
ee93466a08 build: Fix reflection and minification conflict (#399)
The minification change the class name so constructor.name not give back the correct class name.
Introduced getName() method in KeyAction and MacroAction Abstract class
2017-08-27 02:38:55 +02:00
Róbert Kiss
be3e116130 build: Configure AOT (#394)
* build: Configure AOT

* build: Fix appveyor ENV settings
2017-08-26 00:56:28 +02:00
Róbert Kiss
015d110c2b fix(keymap): Hide horizontal scrollbar (#392)
close #391
2017-08-20 19:22:22 +02:00
Róbert Kiss
b2466f01aa fix(keymap): Add new keymap scrolling (#390)
close #389
2017-08-20 15:37:06 +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
László Monda
97770f67c0 Add USB stick icon. 2017-08-16 14:44:50 +02:00
László Monda
eb16c422e5 Fix script. 2017-08-13 14:22:04 +02:00
J??zsef Farkas
a2baedd53d Update dependencies
angular 4.3.4
2017-08-12 18:14:08 +02:00
József Farkas
4193cd0d1e Save config on shortcuts (#386)
Closes #383
2017-08-12 02:23:53 +02:00
József Farkas
49ec48c9e9 Fixing invalid keymap list propagation (#384)
Fixes #382
2017-08-10 23:58:06 +02:00
József Farkas
2735edb631 Restore renaming keymap call (#381)
Fixes #379
2017-08-10 01:20:03 +02:00
László Monda
0259ff53fc Add read-debug-info.js 2017-08-07 03:03:07 +02:00
László Monda
f6e67d0e73 Add EEPROM stress testing scripts. 2017-08-07 03:02:21 +02:00
László Monda
941ff7053b Add scripts to print and log I2C hangs. 2017-08-07 02:46:10 +02:00
László Monda
880aa06ad5 Add wait-until-i2c-dies.js 2017-08-07 02:30:17 +02:00
László Monda
b12a891ba8 Rename readMergeSensor() to readAdc() 2017-08-07 02:14:14 +02:00
József Farkas
50aac5835d Store keymapId instead of abbreviation in SwitchKeymapAction (#376)
* Store keymapId instead of abbreviation in SwitchKeymapAction

* Pass down the user configuration instead of macros
2017-07-30 21:20:16 +02:00
Róbert Kiss
ee248e9c93 fix(keymap): Fix 'Capture keystroke' button in FF (#375)
Close #374
2017-07-25 21:00:25 +02:00
Mikko Lakomaa
eac588c42c Fix key capture on Firefox (#373)
* Add tabindex attribute to svg-keyboard-key to allow focusing the key in Firefox

* Fix typo in svg-keyboard-key.component onKeyUp method
2017-07-25 20:59:00 +02:00
Róbert Kiss
817daafd18 feat: Set no wrap on Delete Keymap and Delete Macro icons (#371)
close #369
2017-07-25 00:38:43 +02:00
László Monda
c17bf0fd3d Merge branch 'master' of github.com:UltimateHackingKeyboard/agent 2017-07-25 00:31:35 +02:00
Róbert Kiss
ec085d574c ci: Travis do not use cache (#372) 2017-07-25 00:30:35 +02:00
László Monda
a52e0c81c5 Add read-config.js and add new USB command ids and receive callback to uhk.js 2017-07-25 00:30:34 +02:00
Róbert Kiss
803ae8bb8f build: update dev dependencies (#370) 2017-07-24 22:17:25 +02:00
Róbert Kiss
aad0c155dd fix(keymap): Change keymap name and abbr algorithm (#365)
* feat(keymap): Change keymap name and abbr algorithm

Close #363

* feat(keymap): When rename a keymap or macro and the new name is exists do nothing
2017-07-23 22:30:19 +02:00
Róbert Kiss
42683e32f9 feat(notification): Add undoable notification, close #318 (#338)
* feat(notification): Add undoable notification

* feat(notification): Add undoable notification

* feat(notification): Use uhk-header to the notification

* half ready solution

* - fix: "Keymap has been deleted" is displayed for macros.
- When a keymap/macro deletion gets undone, please set the route of the restored keymap/macro.
- When the user switches to another route, please make the undo notification disappear.

* fix(keymap): Store prev user configuration in the application reducer

Store the previous state in application reducer, because refactoring the
user-config reducer is not easy

* feat(keymap): Fix review request
2017-07-23 22:17:53 +02:00
Róbert Kiss
ce55cac380 fix(keymap): Add tooltips to action icons (#366)
* fix(keymap): Add tooltips to action icons

* fix(keymap): Remove console.log write

* feat(tooltip): New design of the tooltip

* feat(keymap): Show the tooltip of "Long press action" downward

* style(tooltip): Fix linting issues
2017-07-19 23:27:25 +02:00
Róbert Kiss
a4d41f36d5 feat(app): Show add-on menu if start app with --addons arg (#359)
* refactor(store): Move app reducer from electron to shared module

* feat(app): Show add-on menu if start app with --addons arg

close: #351
2017-07-18 09:46:55 +02:00
Róbert Kiss
25257132a6 fix(keymap) allow 0 in keymap abbr when rename (#362) 2017-07-18 00:06:36 +02:00
József Farkas
c9d8e735de Detect uhk without async delay (#356)
Fixes #353
2017-07-17 02:06:06 +02:00
Róbert Kiss
db8a4413de feat(settings): Only display settings in Agent-electron (#358)
close #252
2017-07-17 01:01:29 +02:00