Commit Graph
1545 Commits
Author SHA1 Message Date
László Monda 5b8b8d93e4 Merge pull request #135 from Lauszus/travis
Remove Eclipse build from the Travis job and cache the gcc archives
2018-07-01 00:43:07 +02:00
Kristian Sloth Lauszus d48049535e Remove Eclipse build from the Travis job and cache the gcc archives 2018-07-01 00:32:03 +02:00
László Monda d72ea4dde5 Merge pull request #131 from UltimateHackingKeyboard/macro-engine
Implement the macro engine
2018-06-27 23:02:09 +02:00
László Monda 5c3e2966c4 Restore the logic of the key debouncer. Make it only debounce keypresses and set its timeout to 100ms. 2018-06-27 21:42:15 +02:00
László Monda d21fe30139 Bump firmware version to 8.3.2. Update changelog, package.json and versions.h v8.3.2 2018-06-27 14:26:29 +02:00
László Monda 224d9eae42 Merge pull request #130 from UltimateHackingKeyboard/key-release-debouncing
Fix key chattering
2018-06-27 14:13:05 +02:00
Eric Tang 02bbeb7177 Fix the formatting in timer.c 2018-06-26 22:13:13 -07:00
Eric Tang cdfabaec42 Make the debounce counters count down 2018-06-26 21:58:48 -07:00
Eric Tang 0e9525ce9a Don't clear the whole report 2018-06-26 18:39:41 -07:00
Eric Tang 633a6cec77 Clear the report at the end of a move mouse or scroll mouse macro 2018-06-26 18:39:41 -07:00
Eric Tang d35a7cc644 Clear the report at the end of a text macro 2018-06-26 18:39:41 -07:00
Eric Tang 76a91c010b Implement the text macro action 2018-06-26 18:39:41 -07:00
Eric Tang 54b0a595bc Rename functions for consistency 2018-06-26 18:39:41 -07:00
Eric Tang 4b9aa0860c Implement the mouse macro actions 2018-06-26 18:39:41 -07:00
Eric Tang df8792a60d Fix code formatting 2018-06-26 18:39:41 -07:00
Eric Tang 5988fce59b Implement the delay macro action 2018-06-26 18:39:41 -07:00
Eric Tang 314eb0d771 Stop macros from repeating 2018-06-26 18:39:41 -07:00
Eric Tang c1f5a96e1b Correctly pass pointers to the active reports to memcpy 2018-06-26 18:39:41 -07:00
Eric Tang 64592d7032 Add TestLed_Blink 2018-06-26 18:39:41 -07:00
Eric Tang c6b180b8f5 Convert macros for controlling test LEDs to functions 2018-06-26 18:39:40 -07:00
Eric Tang 0155447c6a Rename InitTestLed to TestLed_Init 2018-06-26 18:37:49 -07:00
Eric Tang 04f4053bde Add a delay function 2018-06-26 18:37:49 -07:00
Eric Tang 09a58b607c Reduce code duplication 2018-06-26 18:34:38 -07:00
Eric Tang be82530412 Rename macro key actions in accordance with Agent 2018-06-26 18:34:38 -07:00
Eric Tang 6e11c0b8af Handle macro actions and make the macro engine preempt normal behavior 2018-06-26 18:34:38 -07:00
Eric Tang 9fade6368c Correct the type of macro delay variables 2018-06-26 18:32:51 -07:00
Eric Tang ff99c2e734 Change KEY_DEBOUNCER_TIMEOUT_MSEC to match keyswitch datasheets 2018-06-26 18:27:01 -07:00
Eric Tang 6d356114a8 Debounce key releases 2018-06-26 18:24:30 -07:00
Eric Tang 3041132959 Merge pull request #129 from UltimateHackingKeyboard/revert-120-dev
Revert "The UHK now only sends out data when it changes"
2018-06-26 18:13:36 -07:00
Eric Tang 2877773cac Revert "The UHK now only sends out data when it changes" 2018-06-26 17:59:57 -07:00
László Monda b1cbeefa28 Add base layer key mappings for the left and right modules for testing purposes. 2018-06-13 02:41:01 +02:00
László Monda 65006cc376 Bump firmware version to 8.3.1, update changelog, package.json, versions.h v8.3.1 2018-06-07 15:26:06 +02:00
László Monda fc01b29823 Lowercase isLayerDoubleTapToggled. 2018-06-07 15:25:39 +02:00
László Monda 462595ef03 Extract handleSwitchLayerAction() 2018-06-07 14:50:49 +02:00
László Monda b0d85795f4 Make the double tap to lock feature behave well. 2018-06-07 14:42:23 +02:00
László Monda 2c91ef51db Make releasing locked layers possible again. 2018-06-07 04:10:48 +02:00
László Monda a54e7ac0a8 Set toggledLayers[action.switchLayer.layer] = true 2018-06-07 04:03:45 +02:00
László Monda 64f54c268b Clean up the layer toggle code a bit. 2018-06-07 03:55:40 +02:00
László Monda d889d51a7d Merge pull request #120 from Lauszus/dev
The UHK now only sends out data when it changes
2018-06-07 03:02:36 +02:00
Kristian Sloth Lauszus b284e9fa58 Make sure we send out a all zero report once when the a mouse report has been sent 2018-06-07 02:10:27 +02:00
Kristian Sloth Lauszus 1a0da7971a Send out the mouse report continuously if the report is not zeros 2018-06-07 01:56:16 +02:00
Kristian Sloth Lauszus 53a82a5f57 Removed unused variables, as the actions are no longer sent from within the interrupts 2018-06-07 01:50:12 +02:00
Kristian Sloth Lauszus 10985abcdb The UHK now only sends out data when it changes
Fixes #72, fixes #84 and fixes #85
2018-06-07 00:18:40 +02:00
László Monda e60a282742 Bump firmware version to 8.3.0, update changelog and package.json v8.3.0 2018-06-03 14:36:18 +02:00
László Monda a691b16ebe Make the serializer handle SwitchLayerMode_Hold, not only SwitchLayerMode_HoldAndDoubleTapToggle and SwitchLayerMode_Toggle. 2018-06-03 14:24:42 +02:00
László Monda c38114648a Set key debounce timeout from 80ms to 100ms. This should further reduce key chattering. 2018-05-29 01:31:14 +02:00
László Monda 3fc4419f4f Bump firmware version to 8.2.5, update changelog, package.json, and versions.h v8.2.5 2018-05-27 01:53:41 +02:00
László Monda 033bdf6491 Merge initI2cMainBus() and initI2cEepromBus() as initI2cBus() 2018-05-27 01:43:14 +02:00
László Monda 18e3ba9558 Merge recoverI2c() and recoverI2cEeprom() as recoverI2cBus(), add i2c_bus_t. 2018-05-26 22:37:10 +02:00
László Monda 3fb552cc55 Reinitialize the EEPROM upon firmware startup and set the I2C EEPROM interrupt priority to 0. This seems to really fix #67. 2018-05-26 17:06:05 +02:00