]>
git.donarmstrong.com Git - kiibohd-controller.git/log
Jacob Alexander [Mon, 16 Mar 2015 03:51:23 +0000 (20:51 -0700)]
Adding convenience compiler scripts.
TODO:
- Add Windows Cygwin support
Jacob Alexander [Mon, 16 Mar 2015 01:27:35 +0000 (18:27 -0700)]
Merge branch 'master' of https://github.com/smasher816/controller into smasher816-master
Jacob Alexander [Sun, 15 Mar 2015 23:58:01 +0000 (16:58 -0700)]
Initial commit for UARTConnect module
* Keyboard interconnect using two uarts
* Supports daisy chain addressing using a master/slave direction communication scheme
- Still needs more testing
- Functions have been tested alone to be generally working
Rowan Decker [Mon, 9 Mar 2015 04:07:59 +0000 (21:07 -0700)]
Fix whitespace pt2
Forgot to pull some files. Fixed those up too.
Rowan Decker [Mon, 9 Mar 2015 03:17:39 +0000 (20:17 -0700)]
Merge remote-tracking branch 'upstream/master'
Rowan Decker [Mon, 9 Mar 2015 01:40:01 +0000 (18:40 -0700)]
Fix whitespace
Use a consistent standard - Tabs in front for indenting, spaces after for anything else. This way everything stays nice and lined up while also letting users change there prefered indent level. Most of the new files from Haata where already in this format.
Jacob Alexander [Mon, 9 Mar 2015 00:33:29 +0000 (17:33 -0700)]
Merge pull request #25 from smasher816/master
Set DFU bootloader name
Rowan Decker [Mon, 9 Mar 2015 00:25:13 +0000 (17:25 -0700)]
Merge branch 'master' of https://github.com/smasher816/controller
Rowan Decker [Sun, 8 Mar 2015 23:59:34 +0000 (16:59 -0700)]
Set DFU bootloader name
Fixes #22
Each (dfu) interface may have more than one a ltsetting each with their own index and name. According to the DFU_1.1 pdf section 4.2.3, "* Alternate settings can be used by an application to access additional memory segments. In this case,
it is suggested that each alternate setting employ a string descriptor to indicate the target memory
segment; e.g., 'EEPROM'." Whether or not we end up using multiple memory segments it is still good to have a descriptive name incase there are other dfu devices connected.
Edit: Fixed previous indentation
Rowan Decker [Sun, 8 Mar 2015 23:59:34 +0000 (16:59 -0700)]
Set DFU bootloader name
Fixes #22
Each (dfu) interface may have more than one a ltsetting each with their own index and name. According to the DFU_1.1 pdf section 4.2.3, "* Alternate settings can be used by an application to access additional memory segments. In this case,
it is suggested that each alternate setting employ a string descriptor to indicate the target memory
segment; e.g., 'EEPROM'." Whether or not we end up using multiple memory segments it is still good to have a descriptive name incase there are other dfu devices connected.
Jacob Alexander [Sat, 7 Mar 2015 08:50:42 +0000 (00:50 -0800)]
Adding additional case statements for SET_FEATURE and CLEAR_FEATURE
- Ignoring (which is done by default)
- Device, Interface and Endpoint variants
Jacob Alexander [Sat, 7 Mar 2015 08:34:14 +0000 (00:34 -0800)]
Fixing Mac OSX freeze on wake-up bug
- CLEAR_FEATURE unset is currently causing the keyboarod to freeze
- Though not ideal, it seems harmless to ignore this USB Control Packet
- Tested working on a Mac Mini (Yosemite)
Jacob Alexander [Sat, 7 Mar 2015 07:37:09 +0000 (23:37 -0800)]
Fixing compiler errors for usbMuxUart Output module
- Removing (currently) redundant usbMuxUart capabilities.kll file
- Issues were due to the recent AddModule cmake function addition
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