b4c2204e50
Bump firmware version to 8.4.4, update changelog, package.json and versions.h
v8.4.4
László Monda
2018-08-14 00:07:21 +02:00
4c0546de6c
Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware
László Monda
2018-08-13 23:08:53 +02:00
bea4c34a51
Merge pull request #154 from UltimateHackingKeyboard/secondary-role
László Monda
2018-08-13 23:03:48 +02:00
bdc6232780
Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware
László Monda
2018-08-13 22:38:41 +02:00
1d2d1c5049
Merge pull request #153 from UltimateHackingKeyboard/wake
László Monda
2018-08-13 21:42:46 +02:00
67f07abd0d
Ensure that secondary roles are triggered consistently
Eric Tang
2018-08-13 12:30:36 -07:00
4bfcd6e02c
Don't wake the host if a key is held down through the beginning of sleep
Eric Tang
2018-08-13 12:07:08 -07:00
848341e216
Uncomment guard clause
Eric Tang
2018-08-12 14:28:21 -07:00
45d43dcc8d
Use bools for requests
Eric Tang
2018-08-12 13:54:03 -07:00
5ae351db6f
Refactor the state machine
Eric Tang
2018-08-12 13:11:28 -07:00
7eb190489b
Bump firmware version to 8.4.3, update changelog, package.json, versions.h
v8.4.3
László Monda
2018-08-12 10:41:43 +02:00
26da686e4d
Implement the fade out effect
Eric Tang
2018-08-11 17:04:11 -07:00
640c034111
Compensate "double tap to lock layer" timeouts for the timer fix to make them as long as before 8.3.3
László Monda
2018-08-11 01:53:45 +02:00
a6f12848ed
Add timer related changelog entry.
László Monda
2018-08-11 01:48:44 +02:00
47f6a27e48
Move left/src/init_clock.[ch] to shared/slave
László Monda
2018-08-06 00:16:26 +02:00
9cc383a91d
Delete config.h
László Monda
2018-08-05 22:49:31 +02:00
a441cdf5d2
Delete debug_over_spi.[ch]
László Monda
2018-08-05 22:47:55 +02:00
8297dd5c48
Don't include the debug over SPI code from any file.
László Monda
2018-08-05 22:44:11 +02:00
225a481938
Fix coding style.
László Monda
2018-08-05 22:31:48 +02:00
5572952dc8
Use one liner comment style.
László Monda
2018-08-05 22:28:30 +02:00
7d011237f8
Always use the I2C watchdog for the left half. Remove I2C_WATCHDOG and relevant preprocessor stuff.
László Monda
2018-08-05 22:24:34 +02:00
1a47c6e629
Minor MCUXpresso .cproject file modification.
László Monda
2018-08-05 22:22:21 +02:00
047a232e7e
Update .cproject file to make MCUXpresso IDE not pop up the warning regarding SDK version.
László Monda
2018-08-04 23:48:11 +02:00
28f5999cbb
Bump firmware version to 8.4.2, update changelog and versions.h
v8.4.2
László Monda
2018-08-02 13:00:31 +02:00
fe7505a2df
Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware
László Monda
2018-08-02 12:51:22 +02:00
b6ac16074c
Merge pull request #149 from UltimateHackingKeyboard/secondary-role
László Monda
2018-08-02 03:41:25 +02:00
0bf205c5d2
Keep sticky modifiers active when modifier-only keys are pressed
Eric Tang
2018-08-01 18:12:12 -07:00
e4a99a9400
Make sticky modifiers work consistently
Eric Tang
2018-08-01 16:36:29 -07:00
1e9b5833eb
Correctly handle keypresses which triggers a secondary role
Eric Tang
2018-08-01 15:53:55 -07:00
79b052fca7
Remove redundant conditions
Eric Tang
2018-07-31 16:12:22 -07:00
baee0b5682
Bump firmware version to 8.4.1, update changelog, package.json, versions.h
v8.4.1
László Monda
2018-07-31 23:57:33 +02:00
6153d54f59
Merge pull request #144 from UltimateHackingKeyboard/sleep-wake
László Monda
2018-07-26 22:47:40 +02:00
0a6ebe2903
Remove the old code for detecting new keypresses
Eric Tang
2018-07-25 15:16:15 -07:00
1fbbeb0f33
Bump firmware version to 8.4.0, update changelog, package.json, versions.h
v8.4.0
László Monda
2018-07-24 15:30:18 +02:00
456f0e9e58
Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware
László Monda
2018-07-24 14:50:53 +02:00
0248a0e79f
Set debounce press and release time to 50ms by default.
László Monda
2018-07-24 14:50:16 +02:00
0e5ec29433
Tweak the logic of the USB stack test
Eric Tang
2018-07-22 21:22:48 -07:00
2d7cd68459
Make some improvements to the sleep/wake code
Eric Tang
2018-07-22 13:13:29 -07:00
5ac10fabcb
Add back simulateKeypresses.
László Monda
2018-07-22 16:24:05 +02:00
b11017609d
Merge pull request #143 from UltimateHackingKeyboard/usb-variables
László Monda
2018-07-22 16:04:55 +02:00
c3a5d258e5
Rename the test mode for clarity
Eric Tang
2018-07-20 17:31:00 -07:00
a2866feb77
Temporarily allow the USB stack test to be activated through USB
Eric Tang
2018-07-20 17:23:44 -07:00
8c50192d6c
Introduce a new way of activating the test mode
Eric Tang
2018-07-20 17:11:02 -07:00
63d82d92db
Expose variables via USB
Eric Tang
2018-07-19 21:11:02 -07:00
1bced1be13
Merge branch 'debounce-configuration'
László Monda
2018-07-16 18:24:38 +02:00
86196d438c
Add a test mode
Eric Tang
2018-07-05 20:15:33 -07:00
d722b3d173
Make debounce times configurable on the fly
Eric Tang
2018-07-05 14:41:19 -07:00
2ef5c49090
Merge branch 'interrupt-removal'
Eric Tang
2018-07-05 14:34:33 -07:00
5a137392ee
Remove the key scanning interrupt
Eric Tang
2018-07-05 12:43:38 -07:00
27d12ea31f
Remove the debouncing interrupt
Eric Tang
2018-07-05 12:33:55 -07:00
9ba09ec8eb
Convert key_state_t to a bit field
Eric Tang
2018-07-05 11:50:13 -07:00
014addd777
Bump version to 8.3.3, update changelog, package.json, versions.h
v8.3.3
László Monda
2018-07-03 01:26:40 +02:00
4562a17155
Make the test code exercise the media and mouse interfaces too.
László Monda
2018-07-03 00:34:39 +02:00
950843ca2c
Use return instead of break
Eric Tang
2018-07-01 17:16:41 -07:00
9600f46f83
Merge branch 'waking-on-keypress'
László Monda
2018-07-01 22:34:35 +02:00
ef7589d83a
Fix the mouse scrolling issue
Eric Tang
2018-06-30 13:26:58 -07:00
84f48ed055
Wake up the host when a new keypress is detected
Eric Tang
2018-06-30 20:34:13 -07:00
ebef301e27
Merge pull request #123 from Lauszus/dev
László Monda
2018-07-01 16:19:50 +02:00
5b8b8d93e4
Merge pull request #135 from Lauszus/travis
László Monda
2018-07-01 00:43:07 +02:00
d48049535e
Remove Eclipse build from the Travis job and cache the gcc archives
Kristian Sloth Lauszus
2018-07-01 00:32:03 +02:00
5bd479ab8e
Fixed unused variable
Kristian Sloth Lauszus
2018-07-01 00:04:26 +02:00
372151848a
Just define the usb_status_t variable inside the if-statements
Kristian Sloth Lauszus
2018-06-30 23:44:58 +02:00
5b32c0da43
Disable the key press test code
Kristian Sloth Lauszus
2018-06-30 23:42:39 +02:00
edf34de4b5
Fixed comment
Kristian Sloth Lauszus
2018-06-30 23:23:12 +02:00
8c7eb079ec
Re-added code from 994e2f6b79
Kristian Sloth Lauszus
2018-06-30 23:03:50 +02:00
6612f7cced
Fixed warning
Kristian Sloth Lauszus
2018-06-30 22:48:52 +02:00
7606f311c8
Fix coding style
Kristian Sloth Lauszus
2018-06-30 22:36:59 +02:00
9fe73233af
Fix merge issue
Kristian Sloth Lauszus
2018-06-30 22:36:48 +02:00
cba1ef97b6
Revert "Set the USB interrupt priority to the maximum possible"
Kristian Sloth Lauszus
2018-06-30 22:31:32 +02:00
c69f664e85
Merge branch 'master' into dev
Kristian Sloth Lauszus
2018-06-30 22:27:52 +02:00
6c895988de
Merge branch 'Lauszus-dev' into dev
Kristian Sloth Lauszus
2018-06-30 22:23:32 +02:00
f16a004583
Revert "Default to kStatus_USB_Success"
Eric Tang
2018-06-30 13:06:23 -07:00
c870f335a7
Set the other interrupts back to the value there were before
Kristian Sloth Lauszus
2018-06-30 18:55:31 +02:00
b6f59563c7
Revert cancelling a transfer, as the USB endpoint is still locked up
Kristian Sloth Lauszus
2018-06-30 18:25:03 +02:00
409bd01af6
Decreasing the USB priority actually works better
Kristian Sloth Lauszus
2018-06-30 17:28:19 +02:00
b9b5eb2c76
Make sure the device is attached before sending the report
Kristian Sloth Lauszus
2018-06-30 16:52:39 +02:00
11a8ffbaf5
Make sure the composite device is attached before setting the kStatus_USB_Success flag
Kristian Sloth Lauszus
2018-06-30 16:48:25 +02:00
9938f14d20
Set the USB interrupt priority to the maximum possible
Kristian Sloth Lauszus
2018-06-30 16:43:43 +02:00
217259ba63
Cancel the ongoing transfer if it is still in progress
Kristian Sloth Lauszus
2018-06-30 16:36:52 +02:00
e5afa33b79
Allow scanning to continue if the host is asleep
Eric Tang
2018-06-29 23:06:31 -07:00
d3dfc9bd2c
Revert "Simplify logic"
Eric Tang
2018-06-29 22:53:27 -07:00
8f6251bc4d
Only set the semaphore if the report is successfully requested
Eric Tang
2018-06-29 22:51:16 -07:00
b93f211502
Don't retry sending a report if it fails
Eric Tang
2018-06-29 22:44:42 -07:00
69411e53e9
Rename usbMouseAction to UsbMouseAction
Eric Tang
2018-06-29 17:23:15 -07:00
39819e6058
Type Backspace instead of b
Eric Tang
2018-06-29 13:29:40 -07:00
bd97bba4b5
Wake up the host before attempting to send reports
Eric Tang
2018-06-29 13:19:49 -07:00
4214f3e0b6
Use a semaphore to control the rate at which reports are updated
Eric Tang
2018-06-27 22:57:07 -07:00
6eceb6ad30
Default to kStatus_USB_Success
Eric Tang
2018-06-29 12:54:06 -07:00
994e2f6b79
Simplify logic
Eric Tang
2018-06-29 12:43:59 -07:00
baa5e8f037
Remove redundant guard clauses
Eric Tang
2018-06-29 12:37:53 -07:00
cbd5f1b500
Redefine USB_CONFIGURATION_DESCRIPTOR_TOTAL_LENGTH
Eric Tang
2018-06-28 17:23:21 -07:00
c1dc4be8c8
Fix USB_DeviceGetHidDescriptor
Eric Tang
2018-06-28 16:39:41 -07:00