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 |
|
Kristian Sloth Lauszus
|
a061febd01
|
Merge test code
|
2018-06-24 23:57:49 +02:00 |
|
Kristian Sloth Lauszus
|
e3773fd5c0
|
Removed some unused code
|
2018-06-24 19:47:28 +02:00 |
|
Kristian Sloth Lauszus
|
a92835454d
|
Make sure the keyboard is not read if any of the endpoints are busy sending data
|
2018-06-24 18:43:21 +02:00 |
|
Kristian Sloth Lauszus
|
64e5fa7ecb
|
Just read the interruptInPipeBusy flag instead of storing the transfer state in a separate variable and switch the active report back if the HID Send command fails
|
2018-06-24 18:43:21 +02:00 |
|
Kristian Sloth Lauszus
|
d1894fb62a
|
Removed call to UpdateUsbReports() before usb has been initialised
|
2018-06-24 18:43:21 +02:00 |
|
Kristian Sloth Lauszus
|
fe7065be4a
|
Select the "MK22FN512xxx12" under MCU settings
|
2018-06-23 18:47:26 +02:00 |
|
Kristian Sloth Lauszus
|
e7b3127af1
|
Send out the mouse position and wheel values continuously if the report is not zeros, but only send the mouse button states when they change
|
2018-06-23 18:20:09 +02:00 |
|
Kristian Sloth Lauszus
|
724378cf6c
|
Make sure we do not try to send another report before the old one has finished sending
|
2018-06-23 17:33:20 +02:00 |
|
Kristian Sloth Lauszus
|
14eb9c6ec0
|
Merge branch 'timer' into dev
|
2018-06-22 21:50:31 +02:00 |
|
Kristian Sloth Lauszus
|
9a8b1ef8b9
|
The PIT timer is counting downward, so we need to subtract the count from the period value
|
2018-06-22 21:50:14 +02:00 |
|
Kristian Sloth Lauszus
|
2cc94bd1fc
|
The BL_APP_VECTOR_TABLE_ADDRESS should be overridable
|
2018-06-22 18:26:51 +02:00 |
|
Kristian Sloth Lauszus
|
ad8de4dd56
|
Increase the resolution of the elapsed timer when reading the keyboard
|
2018-06-22 18:03:27 +02:00 |
|
Kristian Sloth Lauszus
|
5e97ad1b3c
|
Just compare the active report with the inactive report stored in each interface driver
|
2018-06-22 17:55:21 +02:00 |
|
Kristian Sloth Lauszus
|
fe06ed0a4b
|
Merge branch 'timer' into dev
|
2018-06-22 17:48:53 +02:00 |
|
Kristian Sloth Lauszus
|
d449123fab
|
Fix PIT timer period and added functions for getting the current time in microseconds
|
2018-06-22 17:39:22 +02:00 |
|
Kristian Sloth Lauszus
|
4d483e7896
|
Limit the update frequency for reading the keyboard
|
2018-06-15 14:03:59 +02: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 |
|
Kristian Sloth Lauszus
|
9be3cf4865
|
Invalidate the stored report if the command fails
Fixes #122
|
2018-06-08 20:23:58 +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 |
|