Eric Tang
|
b93f211502
|
Don't retry sending a report if it fails
|
2018-06-29 22:44:42 -07:00 |
|
Eric Tang
|
69411e53e9
|
Rename usbMouseAction to UsbMouseAction
|
2018-06-29 17:23:15 -07:00 |
|
Eric Tang
|
39819e6058
|
Type Backspace instead of b
|
2018-06-29 13:29:40 -07:00 |
|
Eric Tang
|
bd97bba4b5
|
Wake up the host before attempting to send reports
|
2018-06-29 13:19:49 -07:00 |
|
Eric Tang
|
4214f3e0b6
|
Use a semaphore to control the rate at which reports are updated
|
2018-06-29 13:08:24 -07:00 |
|
Eric Tang
|
5d621880ec
|
Merge branch 'dev' of https://github.com/Lauszus/firmware into Lauszus-dev
|
2018-06-27 13:44:17 -07: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 |
|
Eric Tang
|
cdfabaec42
|
Make the debounce counters count down
|
2018-06-26 21:58:48 -07:00 |
|
Eric Tang
|
6d356114a8
|
Debounce key releases
|
2018-06-26 18:24:30 -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
|
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
|
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
|
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
|
4d483e7896
|
Limit the update frequency for reading the keyboard
|
2018-06-15 14:03:59 +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
|
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 |
|
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
|
14b6e49692
|
Don't suppress modifiers upon releasing a layer. Fixes #82.
|
2018-05-02 14:49:56 +02:00 |
|
László Monda
|
69143bed9c
|
Replace "computer" with "host".
|
2018-04-28 15:00:32 +02:00 |
|
László Monda
|
ec8301ae62
|
Expose IsHostSleeping instead of IsHostSleeping()
|
2018-04-28 13:11:25 +02:00 |
|
László Monda
|
9d66f5ff76
|
Rename identifiers.
|
2018-04-28 11:38:38 +02:00 |
|
László Monda
|
fd787f74e9
|
Merge branch 'usb-switch-keymap' into dev
|
2018-04-09 21:12:07 +02:00 |
|
László Monda
|
75fe7904b6
|
Fix scroll events after the slow mouse fix.
|
2018-04-09 13:09:41 +02:00 |
|
Kristian Sloth Lauszus
|
9670523310
|
Cast mouseElapsedTime to float when calculating the speed and distance
|
2018-04-08 22:19:50 +02:00 |
|
Kristian Sloth Lauszus
|
3d9170402b
|
Moved timer used for mouse speed into processMouseActions and renamed the variables
|
2018-04-08 22:11:35 +02:00 |
|
Kristian Sloth Lauszus
|
c90261d549
|
Set the update rate according to the mouse endpoint polling interval
|
2018-04-08 21:59:57 +02:00 |
|
Kristian Sloth Lauszus
|
5a756edf8b
|
Remove historic code that tried to solve the mouse speed issue
|
2018-04-08 21:39:43 +02:00 |
|
Kristian Sloth Lauszus
|
d2acfba659
|
Process the key inputs at a constant rate when moving the mouse, so the mouse speed is consistent
Fixes #99
|
2018-04-08 21:18:56 +02:00 |
|
László Monda
|
308a71e4a3
|
Rename SwitchKeymap() to SwitchKeymapById()
|
2018-03-30 12:46:30 +02:00 |
|
Kristian Sloth Lauszus
|
c109a9e202
|
The layer keys can now also wake up the computer
|
2018-03-11 19:29:24 +01:00 |
|
Kristian Sloth Lauszus
|
3ab2ac18fc
|
The keyboard can now wake up the computer from sleep
|
2018-03-11 19:00:46 +01:00 |
|
Kristian Sloth Lauszus
|
6e2eca7829
|
Changed CurrentTime to a static variable and added function for getting the current time instead
Global variables are really bad practice and should be avoided
|
2018-03-11 17:59:23 +01:00 |
|
Kristian Sloth Lauszus
|
13a718f871
|
Declare local functions and variables static
This both helps the compiler and the programmer
|
2018-03-11 02:38:23 +01:00 |
|
Kristian Sloth Lauszus
|
15d09552a4
|
There is no reason to change the active report if it has not changed
|
2018-03-11 02:37:59 +01:00 |
|
László Monda
|
7e524d97b1
|
Don't read (the default 250ms) DoubleTapSwitchLayerTimeout from the user configuration but rather set it to 150ms which feels quite optimal.
|
2018-03-05 10:16:58 +01:00 |
|
László Monda
|
57a7cee62a
|
Remove debug statements from updateActiveUsbReports()
|
2018-02-11 22:25:29 +01:00 |
|
László Monda
|
2c9a6c0bd2
|
Add doubleTapSwitchLayerReleaseTimeout and set it to 100ms. Resolves #79.
|
2018-02-11 04:09:15 +01:00 |
|
László Monda
|
0c94cbb256
|
Make doubleTapSwitchLayerKey and doubleTapSwitchLayerStartTime static.
|
2018-02-11 03:29:15 +01:00 |
|
László Monda
|
8a655e3cfd
|
Lock layers every time when double-tapping their layer switcher keys. Fixes #81.
|
2018-02-10 23:53:35 +01:00 |
|
László Monda
|
23459e3791
|
Don't make horizontal scrolling and vertical scrolling affect each other.
|
2017-12-14 01:30:06 +01:00 |
|
László Monda
|
2f7f7b1cd2
|
Make scrolling immediately react to keypresses regardless of the previous internal scroll state.
|
2017-12-07 04:44:45 +01:00 |
|
László Monda
|
2eb25ce05c
|
Make UpdateUsbReports() not exit prematurely even if a previously active USB interface is not polled anymore by the host. Tweak the Timer API to not set the current time automatically.
|
2017-12-07 03:24:53 +01:00 |
|
László Monda
|
6780c8177c
|
Expose per-interface count values for debugging purposes via USB.
|
2017-12-04 17:38:31 +01:00 |
|
László Monda
|
f76780ec48
|
Make the parser parse mouse properties, LED brightness values, and double tap switch layer timeout. Rename pointer config properties.
|
2017-11-30 18:20:00 +01:00 |
|