]>
git.donarmstrong.com Git - kiibohd-controller.git/log
Jacob Alexander [Sat, 7 Mar 2015 06:18:15 +0000 (22:18 -0800)]
Adding DebounceThrottleDiv define to slow down the debounce rate.
By default:
DebounceThrottleDiv = 0;
This is the default infinity behaviour right now (may be changed in the future).
Increasing DebounceThrottleDiv will increase the scan rate divider.
DebounceThrottleDiv = 1; # Scans half as much
DebounceThrottleDiv = 2; # Scans a quarter as much
DebounceThrottleDiv = 3; # Scans an eigth as much
etc.
For ARM based uCs (like the Infinity) the maximum divider is 32.
Jacob Alexander [Mon, 2 Mar 2015 09:58:53 +0000 (01:58 -0800)]
Adding dfu-suffix signing support to build system
- If dfu-suffix is not found, a warning is given and the binary is not signed
- Unsigned binaries are still ok with the latest version of dfu-util
Jacob Alexander [Mon, 2 Mar 2015 05:04:33 +0000 (21:04 -0800)]
Fixing releasing Function key and holding layered key
- Pressed key will remain on the same layer until released
regardless of the layer changes that happen in the meantime
Jacob Alexander [Sun, 1 Mar 2015 08:28:48 +0000 (00:28 -0800)]
Merge pull request #20 from Garoth/master
README package name correction
Andrei Thorp [Sun, 1 Mar 2015 08:07:35 +0000 (00:07 -0800)]
README package name correction
Signed-off-by: Andrei Thorp <athorp@evernote.com>
Jacob Alexander [Sun, 1 Mar 2015 07:50:13 +0000 (23:50 -0800)]
Adding list of modified files to the cli version command.
Jacob Alexander [Sun, 1 Mar 2015 06:13:17 +0000 (22:13 -0800)]
Adding configurable DebounceDivThreshold
Can be specified from any .kll file
DebounceDivThreshold = 0xFFFFFFFF
Sets to max debounce, default is 0xFFFF.
The 0xFFFFFFFF is about a 2x longer debounce
The max requires more ram (as it uses 32 bit variables instead of 16).
Added support for submodule capabilities files.
Jacob Alexander [Tue, 24 Feb 2015 06:25:46 +0000 (22:25 -0800)]
Adding missing NL's for Cons and Sys Control debug
Jacob Alexander [Tue, 24 Feb 2015 06:13:39 +0000 (22:13 -0800)]
Merge pull request #16 from victorluft/bugfix/consumer_code_release
clear buffers on Consumer/System Control release
Victor Luft [Tue, 24 Feb 2015 02:27:33 +0000 (18:27 -0800)]
clear buffers on Consumer/System Control release
fixes #15
Jacob Alexander [Sun, 22 Feb 2015 22:14:55 +0000 (14:14 -0800)]
Adding keymap configuration section to the README.
Jacob Alexander [Sun, 22 Feb 2015 07:21:59 +0000 (23:21 -0800)]
Updating kll invocation arguments for readability.
- Removing old cli arguments
Jacob Alexander [Sat, 21 Feb 2015 21:12:21 +0000 (13:12 -0800)]
Merge pull request #14 from aclowes/master
Add instructions for using Homebrew
Jacob Alexander [Sat, 21 Feb 2015 21:06:28 +0000 (13:06 -0800)]
Adding outputDebug command
- Displays all of the bytes sent via USB
- Different display mode for NKRO and Boot modes
aclowes [Sat, 21 Feb 2015 20:45:12 +0000 (15:45 -0500)]
Add instructions for using Homebrew
Jacob Alexander [Sat, 21 Feb 2015 05:01:33 +0000 (21:01 -0800)]
Internally fixing typo (ASTERIX to ASTERISK
(Requires a kll update to work correctly)
Jacob Alexander [Mon, 16 Feb 2015 21:27:42 +0000 (13:27 -0800)]
Adding convenience build target for testing out kll compiler changes.
Jacob Alexander [Sun, 15 Feb 2015 08:44:09 +0000 (00:44 -0800)]
Merge branch 'smasher816-master'
Rowan Decker [Fri, 13 Feb 2015 03:42:01 +0000 (19:42 -0800)]
Check for needed programs
Check for dfu-util and screen before using them. Also aborts if
teensy_loader_cli compilation fails.
Uses the type builtin to determine if a command exists. See here:
https://gist.github.com/sdelmas/
7377271
Rowan Decker [Fri, 13 Feb 2015 03:37:19 +0000 (19:37 -0800)]
Merge remote-tracking branch 'upstream/master'
Jacob Alexander [Thu, 12 Feb 2015 07:10:00 +0000 (23:10 -0800)]
Merge pull request #7 from mythmon/markdown-readme
Convert README to Markdown format.
Mike Cooper [Thu, 12 Feb 2015 06:22:12 +0000 (22:22 -0800)]
Convert README to Markdown format.
This makes it render nicely on GitHub's website, as well as having a
consistent plain-text format that should be familiar to many.
Jacob Alexander [Mon, 9 Feb 2015 23:58:07 +0000 (15:58 -0800)]
Updating load scripts with command line arguments
- Fastload option (allows for remote flashing)
- Autoscreen option initiates screen after successfully loading the firmware
Jacob Alexander [Mon, 9 Feb 2015 21:21:23 +0000 (13:21 -0800)]
Initial code for USB cable detection
- Currently actual detection commented out due to issues
Jacob Alexander [Mon, 9 Feb 2015 21:15:25 +0000 (13:15 -0800)]
Adding some convenience scripts used in manufacturing.
Jacob Alexander [Mon, 9 Feb 2015 20:14:45 +0000 (12:14 -0800)]
Disabling automatic refresh of kll repo unless specifically enabled
cmake -DREFRESH_KLL=1 ..
Jacob Alexander [Mon, 26 Jan 2015 01:53:48 +0000 (17:53 -0800)]
Updating setup.cmake files to use Module hierarchy implicitly
- Added AddModule CMake function which simplifies specifying module requirements
Jacob Alexander [Sun, 25 Jan 2015 20:49:23 +0000 (12:49 -0800)]
More mk20dx256vlh7 preparation.
Jacob Alexander [Sat, 6 Dec 2014 08:55:36 +0000 (00:55 -0800)]
Fixing pinout
Jacob Alexander [Sat, 6 Dec 2014 08:35:39 +0000 (00:35 -0800)]
LEDs now doing something :D
Jacob Alexander [Mon, 1 Dec 2014 03:38:03 +0000 (19:38 -0800)]
Initial I2C work for ISSI IS31FL3731
Jacob Alexander [Sun, 11 Jan 2015 03:55:28 +0000 (19:55 -0800)]
More preparation for mk20dx256vlh7
Jacob Alexander [Sun, 11 Jan 2015 03:53:46 +0000 (19:53 -0800)]
Fixing device bricking bug
- When loading a garbage image onto the device, the chip hangs
and refuses to jump to the bootloader and start dfu
Fix
- Check if chip was in locked state and jump to dfu
- Check if watchdog timer fired and jump to dfu
Jacob Alexander [Thu, 1 Jan 2015 03:43:10 +0000 (19:43 -0800)]
Fixing warning messages found using clang.
Jacob Alexander [Thu, 1 Jan 2015 03:42:16 +0000 (19:42 -0800)]
Adding experimental clang compiler support for arm-none-eabi
- Currently builds larger binaries than gcc (RAM)
Jacob Alexander [Thu, 1 Jan 2015 01:13:44 +0000 (17:13 -0800)]
Preparing for mk20dx256vlh7
- Not ready yet
- Will require some more changes to Lib/mk20dx.c
Jacob Alexander [Wed, 31 Dec 2014 23:58:28 +0000 (15:58 -0800)]
Updating the Linux README information.
Jacob Alexander [Wed, 31 Dec 2014 21:42:21 +0000 (13:42 -0800)]
Updating the README to resolve code sourcery issue.
Jacob Alexander [Wed, 31 Dec 2014 21:42:00 +0000 (13:42 -0800)]
Adding more CMake log information.
Jacob Alexander [Mon, 29 Dec 2014 04:06:39 +0000 (20:06 -0800)]
Re-Adding previous defaultMap.kll used for early Infinity PCBs
Rowan Decker [Tue, 23 Dec 2014 02:27:33 +0000 (20:27 -0600)]
Add Missing Backslash key
Fix an off by one error causing most keys to be shifted one to the
right, due to the missing backslash (\) key in the top row.
Rowan Decker [Tue, 23 Dec 2014 02:27:33 +0000 (20:27 -0600)]
Add Missing Backslash key
Fix an off by one error causing most keys to be shifted one to the
right, due to the missing backslash (\) key in the top row.
Jacob Alexander [Sun, 21 Dec 2014 15:32:51 +0000 (07:32 -0800)]
Moving MatrixARM header macros to separate file
Jacob Alexander [Mon, 1 Dec 2014 03:36:19 +0000 (19:36 -0800)]
Small typos
Jacob Alexander [Fri, 21 Nov 2014 22:58:50 +0000 (14:58 -0800)]
Adding KLL define support
Jacob Alexander [Sun, 16 Nov 2014 21:03:31 +0000 (13:03 -0800)]
Adding convenience scripts to build and load manufacturing image via SWD.
Jacob Alexander [Thu, 13 Nov 2014 08:49:02 +0000 (00:49 -0800)]
Fixing layer latch capability.
Latch now activates on key release, and deactivates on next key release.
Jacob Alexander [Thu, 13 Nov 2014 07:33:28 +0000 (23:33 -0800)]
Fixing sequences (after NKRO HID descriptor re-design).
Jacob Alexander [Thu, 13 Nov 2014 07:04:50 +0000 (23:04 -0800)]
Fixing NKRO on Windows 8.1
- Had to re-write descriptor to support Windows 8.1 while still working with Mac OSX
- NKRO keyboard is now more bandwidth intensive as all the keys must be updated at the same time
(due to 8.1 bug in the HID spec)
Jacob Alexander [Tue, 11 Nov 2014 07:42:39 +0000 (23:42 -0800)]
Code formatting cleanup.
Jacob Alexander [Tue, 11 Nov 2014 06:50:54 +0000 (22:50 -0800)]
Fixing NKRO modifier bug
- Modifier byte was being cleared after each send (needed for Boot Mode only)
Jacob Alexander [Tue, 11 Nov 2014 05:02:25 +0000 (21:02 -0800)]
Fixing Linux NKRO Delete bug
- Fixed descriptor to not include USB Code 156 (Clear)
- This USB Code affects repeating Delete
Jacob Alexander [Wed, 5 Nov 2014 08:09:33 +0000 (00:09 -0800)]
Adding FPROT flash protection bit for 4k Bootloader on the mk20dx128vlf5
- Minimum protection size is 4k on the mk20dx128vlf5
Jacob Alexander [Mon, 3 Nov 2014 07:24:59 +0000 (23:24 -0800)]
Fixing Mac OSX USB NKRO
- OSX doesn't properly follow the spec when it comes to padding bits (when using bitfields)
- Everything seems to work when I don't use them
- NKRO tested working on OSX
Jacob Alexander [Sat, 1 Nov 2014 21:42:55 +0000 (14:42 -0700)]
Fixing pjrc bug affecting Mac OSX CDC driver
- Also updating usbMuxUart header with most recent keyboard defines
Jacob Alexander [Mon, 27 Oct 2014 07:26:17 +0000 (00:26 -0700)]
USB Macro Output sequences now working!
- Tested both with Boot and NKRO modes
Jacob Alexander [Sun, 26 Oct 2014 22:07:44 +0000 (15:07 -0700)]
Updating pin_map for teensy3/3.1
Jacob Alexander [Sun, 26 Oct 2014 06:56:30 +0000 (23:56 -0700)]
Adding pinout list.
Jacob Alexander [Wed, 15 Oct 2014 17:39:39 +0000 (10:39 -0700)]
Fixing bug that locks up the keyboard if shifting to a layer that doesn't exist.
Jacob Alexander [Sat, 4 Oct 2014 21:50:42 +0000 (14:50 -0700)]
Adding timeout to virtual serial port writes
- Was causing lock-ups until the serial port was read
- Also checking each of the NKRO key types in each send loop
Jacob Alexander [Fri, 3 Oct 2014 05:09:34 +0000 (22:09 -0700)]
HUGE AVR RAM optimization (~28%).
- It's possible to get even more, but this is probably as far as I'll go
- PROGMEM is really annoying to use, and makes the code look like ass
- Now the Teensy 2++ should have enough RAM to use PartialMap easily
Jacob Alexander [Fri, 3 Oct 2014 02:30:15 +0000 (19:30 -0700)]
Making all the configurable CMake variables externally settable
- Use CMake -D arguments to set variables (so you don't have to edit the CMakeLists.txt file)
Jacob Alexander [Fri, 3 Oct 2014 02:29:56 +0000 (19:29 -0700)]
Fixing USB NKRO key buffer bug
- Missing a byte in the array
Jacob Alexander [Thu, 2 Oct 2014 08:40:14 +0000 (01:40 -0700)]
Fixed Linux NKRO bitmap bug.
- Thanks hasu for pointing it out
- Keycode 50 is problematic under Linux, so removing (it's a duplicate keycode anyways)
Jacob Alexander [Thu, 2 Oct 2014 06:54:08 +0000 (23:54 -0700)]
Setting max packet size (Interrupt) to 64 bytes
- 128 bytes is invalid for USB 2.0 Full-Speed (max 64 bytes)
Jacob Alexander [Thu, 2 Oct 2014 06:44:12 +0000 (23:44 -0700)]
Adding NKRO and Boot mode capabilities.
- When changing the mode, a key buffer flush is required (might confuse the OS temporarily)
Jacob Alexander [Wed, 1 Oct 2014 07:16:14 +0000 (00:16 -0700)]
Fixing NKRO for Windows.
Jacob Alexander [Mon, 29 Sep 2014 00:24:52 +0000 (17:24 -0700)]
USB NKRO working for ARM!
- Setting NKRO mode as default (up to bios to disable)
Jacob Alexander [Sun, 28 Sep 2014 23:44:57 +0000 (16:44 -0700)]
More preparation for NKRO USB for arm
- Added NKRO descriptor
- Added NKRO HID descriptor
- Updated boot HID descriptor
- Fixed many bugs with the pjrc ARM usb stack (with USB HID)
Jacob Alexander [Sun, 28 Sep 2014 23:43:40 +0000 (16:43 -0700)]
Adding clear screen before usb initializes
- Easier to debug USB initialization
Jacob Alexander [Sun, 28 Sep 2014 23:42:43 +0000 (16:42 -0700)]
Fixing descriptor bugs
- Missing device qualifier descriptor
- Missing USB Debug descriptor (used by lsusb)
Jacob Alexander [Sun, 28 Sep 2014 17:56:32 +0000 (10:56 -0700)]
Merging fixes from pjrcUSB
Jacob Alexander [Sun, 28 Sep 2014 17:56:01 +0000 (10:56 -0700)]
Updating usbMuxUart for NKRO
Jacob Alexander [Sat, 27 Sep 2014 20:20:09 +0000 (13:20 -0700)]
Fixing uartOut for ARM
- Added fake capability for compilation
Jacob Alexander [Tue, 23 Sep 2014 18:42:40 +0000 (11:42 -0700)]
Cleanup
- Changing main device type to HID (0x03)
Jacob Alexander [Sun, 21 Sep 2014 23:29:53 +0000 (16:29 -0700)]
Preparing ARM for USB NKRO
- API changes from the AVR NKRO support
Jacob Alexander [Sun, 21 Sep 2014 18:55:37 +0000 (11:55 -0700)]
Adding NKRO support to AVR/DPH.
- NKRO for USB Codes 4 to 164, 176 to 221 and modifiers
- Added System Control support codes 129 to 183
- Added Consumer Control support codes 32 to 668
Jacob Alexander [Sun, 21 Sep 2014 06:09:58 +0000 (23:09 -0700)]
Updating USB HID header file.
- Should be everything necessary for the next while
- Adds Consumer and System controls
Jacob Alexander [Sat, 20 Sep 2014 07:19:28 +0000 (00:19 -0700)]
Adding a selection of USB Consumer HID codes
Jacob Alexander [Sat, 20 Sep 2014 03:48:31 +0000 (20:48 -0700)]
Putting prescalar settings back in for AVR.
- Needs to be at 16 MHz for proper function
Jacob Alexander [Sat, 20 Sep 2014 02:33:20 +0000 (19:33 -0700)]
Removing USB timer, no longer necessary.
Jacob Alexander [Sat, 20 Sep 2014 02:11:37 +0000 (19:11 -0700)]
Fixing USB send rate.
- Only send USB events when something changes (rather than every ms)
Jacob Alexander [Wed, 17 Sep 2014 06:29:21 +0000 (23:29 -0700)]
Adding more RAM optimizations
- Split up TriggerMacro and ResultMacro to help the compiler optimize better
- Static RAM usage did not decrease, total flash usage did
Jacob Alexander [Wed, 17 Sep 2014 05:14:01 +0000 (22:14 -0700)]
DPH controller now working with the kishsaver and macros
- Earlier RAM optimizations uncovered a bunch of layer/macro bugs
Jacob Alexander [Wed, 17 Sep 2014 00:21:41 +0000 (17:21 -0700)]
Fixing first and last element bug for layers.
Jacob Alexander [Wed, 17 Sep 2014 00:04:59 +0000 (17:04 -0700)]
Adding support for layer packing
- Only keep state for the scan code that are available for the layer
- Also properly implemented scan code range checking (was not done before, only worked because the KLL compiler was well behaved)
Jacob Alexander [Tue, 16 Sep 2014 22:37:16 +0000 (15:37 -0700)]
More fixes to the DPH scan module.
- Typing now works on the kishsaver (including modifiers)
- Still some issues with RAM usage when using more than the default layer
Jacob Alexander [Tue, 16 Sep 2014 18:42:24 +0000 (11:42 -0700)]
DPH controller now working with macros/layers
- Still working on USB NKRO
Jacob Alexander [Tue, 16 Sep 2014 03:19:40 +0000 (20:19 -0700)]
Added initial Bootloader, Mac OSX, Windows instructions
Instructions:
- Windows virtual serial port
- Mac OSX virtual serial port
- Mac OSX firmware loading instructions
- Initial Mac OSX building instructions
- Initial Bootloader make and installation instructions for Linux
Jacob Alexander [Tue, 16 Sep 2014 01:45:01 +0000 (18:45 -0700)]
Updating README for Windows.
- Updated Windows build instructions
- Added some notes on all the types of builds.
- Updated dependency lists
Jacob Alexander [Mon, 15 Sep 2014 03:07:40 +0000 (20:07 -0700)]
Fixing Mac OSX arm build options.
- Bootloader doesn't build correctly on gcc 4.7.3 (LTO issues)
- Even disabling isn't good enough
- 4.9.1 is known to work on Arch Linux
Jacob Alexander [Mon, 15 Sep 2014 02:27:22 +0000 (19:27 -0700)]
Adding support to Macro support to DPH
- Added layout files for 50 key and kishsaver
- Not yet working (some USB issues on AVR to debug)
- Fixed an OSX issue when building AVR
- Cleanup
Jacob Alexander [Sun, 14 Sep 2014 23:22:27 +0000 (16:22 -0700)]
Adding convenience loader scripts for DFU based microcontrollers
Jacob Alexander [Sun, 14 Sep 2014 23:03:10 +0000 (16:03 -0700)]
Adding git refresh command to kll.cmake and kll file listing to build process
Jacob Alexander [Sun, 14 Sep 2014 22:51:36 +0000 (15:51 -0700)]
Adding CMake build support for the KLL compiler
- Automatically downloads the kll compiler if not found
- Added capability files to each of the module that currently have them
- Split modules.cmake so kll.cmake could influence build targets (also needs info from modules.cmake)
- Updated .gitignore for kll compiler directory
- Added documentation on how to manipulate layouts using CMakeLists.txt
- Cleanup of old layout files
Jacob Alexander [Thu, 11 Sep 2014 18:17:17 +0000 (11:17 -0700)]
Updating PartialLayer code to support varying counter widths.
- For both uC architecture differences and RAM saving
Jacob Alexander [Thu, 11 Sep 2014 17:57:58 +0000 (10:57 -0700)]
Merge branch 'test'
Jacob Alexander [Thu, 11 Sep 2014 17:57:30 +0000 (10:57 -0700)]
Updating DPH to compile with PartialLayer module
Jacob Alexander [Thu, 11 Sep 2014 17:54:50 +0000 (10:54 -0700)]
Adding variable width state variable width.
- Allows for RAM space savings on small microcontrollers at the expense of macro length and number of macros/key assignments
Jacob Alexander [Thu, 11 Sep 2014 03:53:30 +0000 (20:53 -0700)]
Fixing release state for keys
- Layers were not disabling because function was only called on press/hold
- Disabled layer shift function on key hold
- Fixed the press/hold/release states for other layer capabilities and USB code send