Archived
1
0
Commit Graph

411 Commits

Author SHA1 Message Date
Jacob Alexander
ad1ea632e4 Initial code for Animation stack 2016-01-03 23:45:13 -08:00
Jacob Alexander
b30f8f5e97 Initial (non-kll) pixel mappings for KType
- Includes pixel testing functions
2016-01-03 18:37:22 -08:00
Jacob Alexander
9ed526deb6 Adding PixelMap
- Includes basic (led) channel testing tools
- Currently hard-coded, needs kll integration before this can be used in general
2016-01-03 16:16:41 -08:00
Jacob Alexander
1e47c7abc2 Initial LED Animiation Support
- Added port swapping to KType
- Added initial KType default keymappings
- Initial PixelMap animiation framework
- Swapped in new i2c library for ISSILed
2016-01-03 10:21:10 -08:00
Jacob Alexander
f501a0e196 Adding support for 4 ISSI chips 2015-12-21 15:15:20 -08:00
Jacob Alexander
415a0aab52 Adding automatic port swapping to ICPad
- Works the same as the bootloader variant, waits 1000 ms before attempting to swap
  Only swaps if USB not already intialized
  If USB never initializes, will swap forever

TODO
- Stop swapping if UARTConnect detected and initialized
2015-12-12 15:16:57 -08:00
Jacob Alexander
571c7ad35a Adding USB port swapping (when supported) to the bootloader
- Every 1000 ms, if no USB connection detected, swap to the other USB port
2015-12-12 15:05:07 -08:00
Jacob Alexander
808e617f9f Merge branch 'master' into ICPad 2015-11-12 22:35:27 +13:00
Jacob Alexander
e6029fb9d3 Merge branch 'ICPad' of github.com:kiibohd/controller into ICPad 2015-11-12 22:34:24 +13:00
Jacob Alexander
a25aa84513 Initial support for the ICPad
- Basic support for up to 4 ISSI chips (and partial support for 16 chip configurations)
- Initial USB mux support
  * Required USB re-init procedure
- Initial interconnect mux support
  * Required some state reset commands
2015-11-12 22:33:29 +13:00
Jacob Alexander
ff0c45ec8f Initial support for the ICPad
- Basic support for up to 4 ISSI chips (and partial support for 16 chip configurations)
- Initial USB mux support
  * Required USB re-init procedure
- Initial interconnect mux support
  * Required some state reset commands
2015-11-12 22:21:32 +13:00
Jacob Alexander
38516d5342 Merge pull request #73 from joshuaflanagan/example_script_variables
Stop requiring editing of example scripts
2015-11-10 11:24:03 -08:00
Joshua Flanagan
cd01bfe0ed Stop requiring editing of example scripts
The example scripts include hardcoded values that
do not work for everyone. Instead of requiring the
files to be edited (and dirtying the git tree),
allow them to take command-line arguments.

Also adds better guidance for Mac OSX virtual
serial ports.
2015-11-10 10:32:06 -06:00
Jacob Alexander
11a44f0ea1 Adding comment about using Pillow instead of PIL 2015-11-01 17:19:09 -08:00
Jacob Alexander
6dfeffd9ca Merge pull request #71 from glguy/pr-cli-history
Write whole debug cli command to history
2015-10-26 18:06:40 -07:00
Eric Mertens
ccf4f34e92 Write whole debug cli command to history
Previously the command was being modified in place in order
to find the command name. This was happening before saving
to the history.

Fixes #70
2015-10-26 18:03:56 -07:00
Jacob Alexander
7b7a55899f Merge pull request #65 from r4v5/exit-quickly-on-script-error
Exit quickly when cmake or make fail
2015-10-18 17:54:41 -07:00
Mason Donahue
c48eece590 Exit quickly when cmake or make fail
The compilation process itself doesn't take very long, but it's weird to
let it continue trying to build when we've encountered an error worthy
of changing cmake/make's return codes. This gives clear indication of a
failed build as the last line of the script's output.
2015-10-18 14:45:20 -05:00
Jacob Alexander
ea82a2762b Typo from the last commit. 2015-10-17 21:03:07 -07:00
Jacob Alexander
343104297d Adding support for kll 0.3d
- Requires kll compiler update
- Includes descriptor update to handle new consumer control codes
2015-10-17 15:09:03 -07:00
Jacob Alexander
a10afbcc6a Adding remote capability LED control
- Works for all nodes in chain
- Synchronized to 30 ms update rate (required for ISSI chip)
  * Interconnect cannot handle full update speed from Scan module
  * Though it should be able to handle quite a bit more than 30 ms updates
2015-10-16 10:02:01 -07:00
Jacob Alexander
7e68e81f47 Adding basic remote capabilities + UART Rx DMA buffers
- Rx buffers weren't fast enough, had to use DMA :D
- Basic LCD remote capabilities are working, single node
- Multi-node broadcast seems to have a bug still
- DMA ring buffer allowed for significant processing simplification
  * There is an overrun risk, but the buffer is large and generally there isn't too much data being sent (just very quickly)
- Split out LCD layer stack capability into itself and an "exact" version used for updating remote nodes
2015-10-15 00:21:54 -07:00
Jacob Alexander
44a9803cab Merge pull request #63 from jvhaarst/patch-1
Fixed typo
2015-10-12 14:47:13 -07:00
Jan van Haarst
be2a6b35e7 Fixed typo 2015-10-12 22:11:21 +02:00
Jacob Alexander
425ee67331 More compatible name 2015-10-11 23:23:20 -07:00
Jacob Alexander
59d425ccfe Adding jump to bootloader key
- Now enabled by default
- Added protection around remote jumps
2015-10-11 22:07:11 -07:00
Jacob Alexander
d9ba60b34e Adding basic ISSI led brightness control capabilities
- 6 modes
  * Single led: decrease, increase, set
  * All leds: decrease, increase, set
- Currently update speed limited to once every 30 ms
  * Likely an I2C driver or ISSI limitation preventing even faster updates
2015-10-09 22:28:31 -07:00
Jacob Alexander
f4da2560c4 Fixing long-standing SET_REPORT bug
- Implementation was completely wrong (has never worked properly)
- Now working in both NKRO and 6KRO modes
- Added more debugging code if things go wrong again
2015-10-09 18:20:37 -07:00
Jacob Alexander
d7fabf97e9 Fixing very old bad naming convention (BRACE to BRACKET) 2015-10-07 20:06:41 -07:00
Jacob Alexander
c90bafd5c4 Cleaning up CLEAR_FEATURE (endpoint)
- Reverting old fix that no longer seems relevant after numerous recent USB fixes
2015-10-06 00:24:04 -07:00
Jacob Alexander
3eece24115 Fix Latching bug (introduced when fixing shift and lock recently)
- Also conditionally refresh the lcd screen if enabled /w interconnect
  (Not the ideal way to update, but the only way with the current KLL version)
2015-10-04 16:19:20 -07:00
Jacob Alexander
8311f1b083 Updating KType layout to work more nicely with KiiConf 2015-09-29 20:21:29 -07:00
Jacob Alexander
0501e1dfd0 Initial code for KType TKL 2015-09-29 19:29:27 -07:00
Jacob Alexander
893231b355 Adding layer rotation (next/prev) capability
- Requires kll update
- Including udev id update
2015-09-28 19:58:39 -07:00
Jacob Alexander
3f83274f86 Prep for mouse support 2015-09-20 18:47:10 -07:00
Jacob Alexander
df7d0be00d Adding example API scripts 2015-09-14 23:37:32 -07:00
Jacob Alexander
2c25f085b6 Single MDErgo1 layout used for KiiConf initial layout setup 2015-09-14 00:48:48 -07:00
Jacob Alexander
85586c574a Updating convenience build scripts to build Left and Right sides
- Includes minor fix for MD1
2015-08-21 23:23:52 -07:00
Jacob Alexander
1fe9dd2a53 Bootloader fix 2015-08-21 22:59:11 -07:00
Jacob Alexander
51486bc4e1 Fixing layer stack evaluation
- Layers were stacked correctly, but evaluated backwards
2015-08-21 20:33:47 -07:00
Jacob Alexander
9c52fb32fa Fixing default ErgoDox layout and adding FlashMode button
- Adds proper flashMode support for all keyboards and microcontrollers (usb and serial)
- flashModeEnabled must be set to 1 otherwise it will only show an error
  * This is on purpose (somewhat dangerous feature as it allows remote flashing)
- Capability cleanup
2015-08-21 19:43:45 -07:00
Jacob Alexander
1cbc175551 Forgot to add these files in an earlier commit 2015-08-21 18:26:46 -07:00
Jacob Alexander
20b62afb9a FIxing Media Keys and general USB compatibilty
- Media keys tested working on Linux/Windows/Mac (use Consumer control)
- Fixed enumeration delays
- Fixed virtual serial port configuration issues
- Fixed GET_REPORT and SET_REPORT
- Added intial descriptors and endpoints for Mouse and Joystick devices
- Split out the consumer and system control endpoint
- Added more fault debugging messages
- Added interface names to endpoints (visible in Windows Device Manager)
- Added KLL define for keyboard locale
2015-08-19 00:01:15 -07:00
Jacob Alexander
ef7da32d12 Adding color association to layers 2015-08-18 23:52:48 -07:00
Jacob Alexander
c0fb084eb4 Adding basic support for LCDLayerDisplay using capabilities
- Requires lcdFuncMap.kll instead of stdFuncMap.kll
2015-08-18 23:52:48 -07:00
Jacob Alexander
3518592893 Updating convenience scripts 2015-08-16 16:51:03 -07:00
Jacob Alexander
79ee501e03 Fixing typo on range check for MDErgo1 2015-08-16 15:53:07 -07:00
Jacob Alexander
398018ecf8 Adding examples of custom action/capabilties
- See md1Action.kll for usage
- Includes Block/Unblock
2015-08-16 14:46:26 -07:00
Jacob Alexander
59c14fcdea Adding initial WhiteFox support.
- Includes fix for over-range ScanCodes (would cause hard faults)
- Updated some documentation
- Requires recent kll compiler for the layout
2015-08-16 12:27:12 -07:00
Jacob Alexander
a8caf6e515 Working support for Interconnect
- Supports up to 255 slave nodes (you'll run into ScanCode limitations before then)
- Requires most recent kll compiler update
- Additional debugging output and stats counters
- Noise and parity checking
- Fixed TxFIFO issue when sending buffers larger than the FIFO
- Cleaned up defaultMap.kll
- Added ScanCode caching (reduces interconnect traffic significantly)
- Interconnect module code is conditionally compiled into PartialMap module if required
2015-08-15 21:53:59 -07:00