0c4c736552
Use automatic variables for getting the file name and use the MAKEFILE_LIST variable to rebuild the project when any of the Makefiles change
Kristian Sloth Lauszus
2018-05-02 09:34:19 +02:00
aa4105bdc3
Updated license to "GPLv2 or later", so it is compatible with GPLv3
Kristian Sloth Lauszus
2018-05-02 03:00:30 +02:00
101abffec4
Moved the linker script into the source directory
Kristian Sloth Lauszus
2018-05-02 02:53:54 +02:00
b8268f55a3
Moved the BL_APP_VECTOR_TABLE_ADDRESS define into Makedefs.mk
Kristian Sloth Lauszus
2018-05-02 02:35:03 +02:00
2214f00667
Added command for flashing the images via the bootloader
Kristian Sloth Lauszus
2018-05-02 02:31:39 +02:00
a2fae5bbef
Readded Eclipse build
Kristian Sloth Lauszus
2018-05-02 01:08:20 +02:00
47e026006e
Forgot to fix linker errors for both linker scripts in: e0528e1714
Kristian Sloth Lauszus
2018-05-02 01:05:40 +02:00
379d827982
Only compile the project using Make
Kristian Sloth Lauszus
2018-05-02 00:45:47 +02:00
d9d26814e8
Fix warnings
Kristian Sloth Lauszus
2018-05-02 00:35:28 +02:00
611c36fe00
Added Makefiles for compiling the two projects
Kristian Sloth Lauszus
2018-05-02 00:13:52 +02:00
e9cd3a96c2
Don't reinitialize LED driver ICs upon suspend and resume.
László Monda
2018-04-28 17:08:25 +02:00
8856c484b6
Add LedDisplay_UpdateAll()
László Monda
2018-04-28 16:21:54 +02:00
b97841fdae
Delete I2C_WATCHDOG and always enable the watchdog.
László Monda
2018-04-28 15:04:56 +02:00
69143bed9c
Replace "computer" with "host".
László Monda
2018-04-28 15:00:32 +02:00
ebd0e3b762
Make ParseConfig() restore indicator icons. Fixes#107
László Monda
2018-04-28 14:43:13 +02:00
ec8301ae62
Expose IsHostSleeping instead of IsHostSleeping()
László Monda
2018-04-28 13:11:25 +02:00
3d4d78387e
Remove LED_DRIVER_STRESS_TEST.
László Monda
2018-04-28 12:36:12 +02:00
c2582729f2
Remove LED_DRIVERS_ENABLED.
László Monda
2018-04-28 11:43:01 +02:00
9d66f5ff76
Rename identifiers.
László Monda
2018-04-28 11:38:38 +02:00
06ebed5537
Rename some variables and clean up coding style.
László Monda
2018-04-28 11:19:01 +02:00
02d6fb4628
Rename version from 8.1.6 to 8.2.0 because the minor device protocol version has changed.
v8.2.0
László Monda
2018-04-20 09:55:44 +02:00
1b9ec89e20
Bump firmware version to 8.1.6 - Update package.json, changelog, versions.h
v8.1.6
László Monda
2018-04-10 22:32:11 +02:00
7002e7de52
Fix SwitchKeymapByAbbreviation() and use it in place of a for block of equivalent functionality within UsbCommand_ApplyConfig()
László Monda
2018-04-10 21:27:56 +02:00
1e61a39210
Merge pull request #104 from UltimateHackingKeyboard/dev
László Monda
2018-04-10 14:13:58 +02:00
5509cbb5f8
Reference the latest KSDK_2.0_MK22FN512xxx12 submodule that uses the performance-optimized loop implementation.
László Monda
2018-04-10 12:15:13 +02:00
f650032fef
Set the optimization levels of both left and right firmwares to -O3 (most optimized).
László Monda
2018-04-10 12:06:23 +02:00
fd787f74e9
Merge branch 'usb-switch-keymap' into dev
László Monda
2018-04-09 21:12:07 +02:00
75fe7904b6
Fix scroll events after the slow mouse fix.
László Monda
2018-04-09 13:09:41 +02:00
b4ac82d2c0
Merge pull request #103 from Lauszus/dev
László Monda
2018-04-08 22:24:31 +02:00
9670523310
Cast mouseElapsedTime to float when calculating the speed and distance
Kristian Sloth Lauszus
2018-04-08 22:19:50 +02:00
7763d8a32b
Merge pull request #102 from Lauszus/dev
László Monda
2018-04-08 22:13:38 +02:00
3d9170402b
Moved timer used for mouse speed into processMouseActions and renamed the variables
Kristian Sloth Lauszus
2018-04-08 22:11:35 +02:00
b0192085bb
Merge pull request #101 from Lauszus/dev
László Monda
2018-04-08 22:09:56 +02:00
c90261d549
Set the update rate according to the mouse endpoint polling interval
Kristian Sloth Lauszus
2018-04-08 21:59:57 +02:00
5a756edf8b
Remove historic code that tried to solve the mouse speed issue
Kristian Sloth Lauszus
2018-04-08 21:39:43 +02:00
46ce16b8d4
Merge pull request #100 from Lauszus/dev
László Monda
2018-04-08 21:27:51 +02:00
d2acfba659
Process the key inputs at a constant rate when moving the mouse, so the mouse speed is consistent
Kristian Sloth Lauszus
2018-04-08 21:18:56 +02:00
ac75d0ca8b
Merge commit 'b68c6bed184f5da12f00c173e23b07c4428be661' into dev
Kristian Sloth Lauszus
2018-04-08 20:28:02 +02:00
10beb751ac
Fixed compiler warning in KSDK
Kristian Sloth Lauszus
2018-04-08 20:04:25 +02:00
e0528e1714
Fix linker error on newer compilers by just declaring the two usb sections after the .bss section
Kristian Sloth Lauszus
2018-04-08 19:38:28 +02:00
0afb3ab687
Pull the Agent repo and make sure it's on master, so that the relevant binary configuration will be used.
László Monda
2018-04-06 15:48:31 +02:00
58fd3a78cf
Reference the latest Agent repo.
László Monda
2018-04-04 15:48:36 +02:00
f1ed699fa2
Bump version to 8.1.5, update changelog, package.json, versions.h
v8.1.5
László Monda
2018-04-04 15:44:35 +02:00
43646beca8
Set key debounce timeout from 30ms to 60ms. This should eliminate key chattering.
László Monda
2018-04-04 00:56:16 +02:00
308a71e4a3
Rename SwitchKeymap() to SwitchKeymapById()
László Monda
2018-03-30 12:46:30 +02:00
ecf1f1ac32
Actually switch the keymap.
László Monda
2018-03-30 12:44:43 +02:00
b34fb9daa3
Add switch keymap USB command.
László Monda
2018-03-30 11:18:31 +02:00
195f40949f
Fix build warning.
László Monda
2018-03-25 22:38:45 +02:00
b68c6bed18
Merge pull request #98 from Lauszus/sleep
László Monda
2018-03-11 20:07:59 +01:00
ab24e78a5b
Wake up the keyboard if there is any activity on the bus
Kristian Sloth Lauszus
2018-03-11 20:05:10 +01:00
4892d64795
Merge pull request #97 from Lauszus/sleep
László Monda
2018-03-11 19:34:56 +01:00
c10d6440ce
Merge branch 'dev' into sleep
Kristian Sloth Lauszus
2018-03-11 19:34:21 +01:00
c109a9e202
The layer keys can now also wake up the computer
Kristian Sloth Lauszus
2018-03-11 19:29:24 +01:00
e12e219b4e
Various fixes and improvements (#96)
Kristian Sloth Lauszus
2018-03-11 19:19:15 +01:00
3ab2ac18fc
The keyboard can now wake up the computer from sleep
Kristian Sloth Lauszus
2018-03-11 19:00:46 +01:00
6e2eca7829
Changed CurrentTime to a static variable and added function for getting the current time instead
Kristian Sloth Lauszus
2018-03-11 17:59:23 +01:00
8f4fc1da8e
Merge branch 'fixes' into sleep
Kristian Sloth Lauszus
2018-03-11 17:56:07 +01:00
5de0e5ac60
Turn LEDs, backlight and display off when sleeping
Kristian Sloth Lauszus
2018-03-11 05:26:51 +01:00
13a718f871
Declare local functions and variables static
Kristian Sloth Lauszus
2018-03-11 02:36:57 +01:00
15d09552a4
There is no reason to change the active report if it has not changed
Kristian Sloth Lauszus
2018-03-11 02:12:21 +01:00
0b100feb32
Global variables shared between an interrupt and the main code should be volatile
Kristian Sloth Lauszus
2018-03-11 02:08:48 +01:00
1742437f8b
Replace HID_KEYBOARD_SC_MENU scancode with HID_KEYBOARD_SC_APPLICATION (#95)
Kristian Sloth Lauszus
2018-03-11 02:31:40 +01:00
5093a0c0a6
Bump version to 8.1.4. Update changelog, package.json, and versions.h
v8.1.4
László Monda
2018-03-05 15:57:14 +01:00
7e524d97b1
Don't read (the default 250ms) DoubleTapSwitchLayerTimeout from the user configuration but rather set it to 150ms which feels quite optimal.
László Monda
2018-03-05 10:16:58 +01:00
2e53331a0f
Set KEY_DEBOUNCER_TIMEOUT_MSEC to 30. This looks like a safe bet to eliminate key chattering for every switch.
László Monda
2018-02-27 23:01:39 +01:00
c6d60780f4
Bump version to 8.1.3 and update package.json, versions.h and the changelog accordingly.
v8.1.3
László Monda
2018-02-18 00:46:17 +01:00
8666a495d8
Set KEY_DEBOUNCER_TIMEOUT_MSEC from 15 to 20 ms.
László Monda
2018-02-17 21:37:02 +01:00
33bbf44199
Fix system keyboard descriptor, so it is byte-aligned (#93)
Kristian Sloth Lauszus
2018-02-14 00:27:53 +01:00
cc49118868
Bump version to 8.1.2. Update changelog, package.json, versions.h and reference the latest Agent repo.
v8.1.2
László Monda
2018-02-13 03:31:35 +01:00
f8fd99f588
Set KEY_DEBOUNCER_TIMEOUT_MSEC from 10 to 15 msec.
László Monda
2018-02-12 18:08:53 +01:00
fa8c9dc907
Logical maximum is wrongly assumed to be an unsigned integer, thus 0xFF is interpreted as -1 and not 255 (#92)
Kristian Sloth Lauszus
2018-02-12 04:51:59 +01:00
0911e67bf6
Fix the coding style of usb_interface_basic_keyboard.c
László Monda
2018-02-11 22:28:12 +01:00
57a7cee62a
Remove debug statements from updateActiveUsbReports()
László Monda
2018-02-11 22:25:29 +01:00
1af28a79db
Detect Caps Lock state and set the LED accordingly (#91)
Kristian Sloth Lauszus
2018-02-11 12:45:46 +01:00
6881f8e340
Update versions.h to 8.1.1
v8.1.1
László Monda
2018-02-11 04:23:31 +01:00
00cd1f65e8
Bump version to 8.1.1. Update package.json and the changelog.
László Monda
2018-02-11 04:21:49 +01:00
2c9a6c0bd2
Add doubleTapSwitchLayerReleaseTimeout and set it to 100ms. Resolves#79.
László Monda
2018-02-11 04:09:15 +01:00
0c94cbb256
Make doubleTapSwitchLayerKey and doubleTapSwitchLayerStartTime static.
László Monda
2018-02-11 03:29:15 +01:00
275bfee860
Merge branch 'master' of github.com:UltimateHackingKeyboard/firmware
László Monda
2018-02-10 23:55:48 +01:00
8a655e3cfd
Lock layers every time when double-tapping their layer switcher keys. Fixes#81.
László Monda
2018-02-10 23:53:35 +01:00
8521619783
Update README.md
László Monda
2018-02-05 02:24:10 +01:00
62184240df
Update README.md
László Monda
2018-02-05 02:03:56 +01:00
0b210ac68e
Update README.md
László Monda
2018-02-01 18:39:20 +01:00
56f7753afc
Bump firmware version to 8.1.0 and update changelog, package.json, and versions.h
v8.1.0
8.1.0
László Monda
2018-01-15 10:35:22 +01:00