László Monda
ecf7f10b9c
Exchange Ctrl and Alt according to the official UHK default keymap.
2017-11-02 22:03:43 +01:00
László Monda
2aaef66d85
Convert LAYER_ID_* macros to LayerId_* enum values.
2017-11-02 21:48:30 +01:00
László Monda
00dfd96d55
Instead of scanning the keyboard matrix from the main loop and utilizing busy loops, try to use a PIT interrupt handler to do the same thing, scanning one row per interrupt call without busy loops.
...
For some reason, this makes the movement of the mouse pointer very slow and makes it jump from time to time, so I ended up adding INTERRUPT_KEY_SCANNER and disabling the timer interrupt.
Also double bufferred the mouse report just like the others. Unfortunately this does not affect this issue.
2017-11-02 01:11:41 +01:00
László Monda
024f24f489
Make make-release.js group master and slave firmwares into separate directories.
2017-11-01 02:09:22 +01:00
László Monda
6043651341
Rename release-firmware.js to make-release.js because it doesn't actually releases the release to GitHub. It merely creates it.
2017-11-01 00:35:33 +01:00
László Monda
f7d775c6da
Remove output files before the build process. Create the release directory in the directory of the script instead of /tmp
2017-11-01 00:33:35 +01:00
László Monda
1ab0885200
Fix the path of build directories in .travis.yml
2017-11-01 00:21:26 +01:00
László Monda
561d183840
Make release-firmware.js work when invoked from any directory.
2017-11-01 00:11:33 +01:00
László Monda
df48f5e1be
Set config.fatal to true.
2017-11-01 00:00:29 +01:00
László Monda
b94310f57a
Utilize string interpolation wherever possible.
2017-10-31 23:58:37 +01:00
László Monda
dc82b51008
Read the current firmware version from package.json
2017-10-31 23:55:56 +01:00
László Monda
3aff28726f
Port release-firmware to ShellJS.
2017-10-31 23:45:22 +01:00
László Monda
16e173140a
Move package.json and release-firmware to scripts
2017-10-31 23:36:15 +01:00
László Monda
13dd0753ce
Add package-lock.json and node_modules to .gitignore and clean up its obsolete entries.
2017-10-31 23:32:19 +01:00
László Monda
ba5a49f7d1
Hoist {left,right}/build/kds/* to {left,right}/build to simplify the directory hierarchy.
2017-10-31 23:11:22 +01:00
László Monda
64b07746ee
Invoke KDS in headless mode to buid the firmware before assembling the release.
2017-10-31 01:40:49 +01:00
László Monda
d59ed73a10
Fix firmware paths.
2017-10-31 01:36:22 +01:00
László Monda
010b276f8b
Fix XML structure.
2017-10-31 01:33:18 +01:00
László Monda
1d7790f74e
Generate .hex files instead of .srec for the right half firmware.
2017-10-29 22:27:47 +01:00
László Monda
808d916687
Clean up .cproject and .gitignore files after the rename of the build and run configurations.
2017-10-29 22:04:48 +01:00
László Monda
52bb02bc3d
Rename build and run configurations to reflect device ids.
2017-10-29 21:54:02 +01:00
László Monda
e8ab25493e
Make the firmware upgrade scripts working directory independent.
2017-10-29 19:09:32 +01:00
László Monda
72b279841c
Port the blhost-unix.sh firmware update script of the right keyboard half to ShellJS resulting in update-master-firmware.js
2017-10-29 18:20:13 +01:00
László Monda
4e2d867424
Extract the USB product ID for getBlhostCmd()
2017-10-29 18:17:48 +01:00
László Monda
a5402e7c6a
Extract checkFirmwareImage()
2017-10-29 17:47:24 +01:00
László Monda
f847cc844e
Extract getBlhostCmd() to shared.js
2017-10-29 17:35:55 +01:00
László Monda
976e402445
Make update-slave-firmware.js extremely resilient (not a single failure out of 100 updates). Add shared.js
2017-10-29 17:17:12 +01:00
László Monda
cf007f81bd
Merge branch 'master' into add-device-name
2017-10-28 18:46:46 +02:00
László Monda
569493cbfa
Add UsbDebugInfo to aid future debugging via USB.
2017-10-28 17:12:52 +02:00
László Monda
f0a98eebb5
Set the initial keymap abbrivation to FTY (for factory keymap).
2017-10-26 20:32:19 +02:00
László Monda
55e4997ea2
Make the system keyboard descriptor play nicely with OSX.
2017-10-26 18:22:37 +02:00
László Monda
5642ab29a1
Reorder USB interfaces in usb_device_config.h, too.
2017-10-26 01:12:51 +02:00
László Monda
6bdd320ed8
Reorder USB interfaces all across the codebase in the following order: generic HID, basic keyboard, media keyboard, system keyboard, mouse.
2017-10-26 00:52:20 +02:00
László Monda
c77286512c
Reset keyboard reports just before changing them by UpdateActiveUsbReports(). This seems to completely solve the repeated media key issue.
2017-10-25 18:31:52 +02:00
László Monda
c7b6acd838
Use the let keyword for defining variables.
2017-10-24 17:32:27 +02:00
László Monda
9db5c5e067
Port blhost-unix.sh as update-slave-firmware.js using ShellJS.
2017-10-24 13:59:36 +02:00
László Monda
c370cab513
Use the renamed send-kboot-command-to-slave.js
2017-10-23 22:24:40 +02:00
László Monda
85b1a65ea7
Implement KbootCommand_Ping and set set left BOOTLOADER_TIMEOUT_MS back to 100 ms.
2017-10-23 21:33:08 +02:00
László Monda
c46dcad490
Use reenumerate.js instead of jump-to-bootloader.js and make left/blhost-unix.sh handle argument related errors.
2017-10-23 16:52:15 +02:00
László Monda
ab807cd0c8
Make sendKbootCommand() accept various command types, not only reset.
2017-10-23 01:19:19 +02:00
László Monda
92ee3b5606
Add KBOOT I2C slave driver, its related USB command, and make the firmware updater script of the left half successfully reset the left half after firmware update.
2017-10-22 02:17:43 +02:00
László Monda
e57d199b40
Move FIXED_BUSPAL_BOOTLOADER to buspal/command.c
2017-10-21 03:53:01 +02:00
László Monda
95faf64b76
Remove the now unused FORCE_BUSPAL macro.
2017-10-21 03:50:07 +02:00
László Monda
5149e7e8ad
Remove the now unused ALWAYS_ENTER_BOOTLOADER macro.
2017-10-21 03:40:10 +02:00
László Monda
f67bcced4a
Keep only one release and one debug build configuration. Add related kboot run configurations.
2017-10-21 03:35:17 +02:00
László Monda
e9920cfebb
Increase the delay from 1s to 2s and flash the firmware script argument.
2017-10-21 03:28:54 +02:00
László Monda
2e07627359
Temporarily increase left bootloader timeout from 100ms to 3000 ms for testing purposes.
2017-10-21 03:12:21 +02:00
László Monda
89fef3d933
Upon receiving the reset BusPal command, reset the MCU and reenumerate in normal keyboard mode.
2017-10-21 01:29:05 +02:00
László Monda
a052f4f59c
Add blhost script for the left firmware, too.
2017-10-21 01:27:33 +02:00
László Monda
25f8017879
Get rid of the now obsoleted bootloader_config.h
2017-10-20 00:52:32 +02:00