Archived
1
0
Commit Graph

477 Commits

Author SHA1 Message Date
Jacob Alexander
8e3f155189 Merge pull request #95 from cryham/master
Fixes in CK3 (ghosting matrix), working version on full keyboard.
2016-03-02 11:07:10 -08:00
Jacob Alexander
074134c474 Fixing potential WF LED issue
- Added fix for USB Current Change
  * If called during interrupt, could hang the I2C bus
  * Delaying I2C writes till scan loop
2016-03-01 20:29:11 -08:00
CryHam
602b482538 Updated CK3 with Scan_currentChange (copy from MD1). 2016-03-01 21:00:23 +01:00
CryHam
a848a6bc79 Merge branch 'master' of github.com:kiibohd/controller 2016-03-01 19:40:00 +01:00
CryHam
88670ac72f Changed CK3 matrix scan to Config_Pullup, inverted rows and columns
Added STROBE_DELAY define in matrix.h
All keys scan codes now in defaultMap.kll
2016-03-01 19:38:43 +01:00
Jacob Alexander
f57e069bb9 As per request of original author, updating license to MIT 2016-02-23 14:36:41 -08:00
Jacob Alexander
46765e85c5 Adding dynamic USB power support
- Each scan module now has a current change callback which passes the available current as a parameter
- No longer attempts to use the max 500 mA immediately, starts with 100 mA then goes to 500 mA after enumeration
- If enumeration fails due to bMaxPower of 500 mA, then attempt again at 100 mA (might also be possible to go even lower to 20 mA in certain cases)
- Now working with the Apple Ipad (no over-power messages)
- Fixed Wake-up behaviour on Apple Ipad (and likely other iOS devices)
- More effecient set_feature/clear_feature handling (device handler)
- Initial power handling via Interconnect (still needs work to get it more dynamic)
2016-02-21 19:56:52 -08:00
Jacob Alexander
e761960aca Setting bootloader max power to 100 mA
- This amount of current is guaranteed by the USB spec before enumeration
- Generally the bootloader doesn't need nearly this much, but to be safe
2016-02-21 14:19:52 -08:00
Jacob Alexander
47ec39da8e Merge branch 'master' of github.com:kiibohd/controller 2016-02-20 13:28:16 -08:00
Jacob Alexander
8dbba83942 Debug code for interconnect cable debugging 2016-02-20 13:27:49 -08:00
Jacob Alexander
4f372c1909 Merge pull request #93 from cryham/master
Added support for ghosting matrices and code for elimination.
2016-02-20 12:13:02 -08:00
CryHam
57a75851e2 Minor styling fixes.
Renamed define to GHOSTING_MATRIX.
Deleted unused files from CK3.
2016-02-20 08:33:39 +01:00
CryHam
6687470ae7 Added support for ghosting matrices and code for elimination.
To use define GHOST in matrix.h, see example in Scan/CK3
2016-02-19 18:10:25 +01:00
Jacob Alexander
1fd19c48ea Changed name from MD1_1 to MD1.1 2016-02-11 22:56:25 -08:00
Jacob Alexander
5f530b5248 Update README.markdown 2016-02-08 08:28:38 -08:00
Jacob Alexander
6343edbfdc Merge pull request #78 from kevinfrei/infiniteLoops
Fix a handful of infinite loops that occur with more than 254 macros
2016-02-06 18:23:34 -08:00
Jacob Alexander
05e8c7d733 Merge pull request #90 from ryansb/fix/specialCharDirectories
Ensure directories can only be made with printable characters
2016-02-06 18:21:17 -08:00
Jacob Alexander
75832a17b7 Initial code for MD1_1
- IC60 /w Single color LEDs
 - Requires a different matrix configuration so it's incompatible with the old IC60 layout
2016-02-06 18:06:37 -08:00
Ryan S. Brown
b1dec67823 Ensure directories can only be made with printable characters
In situations where `ls` colors directories incorrectly, the `$module`
variable contains unprintable characters. This causes directories to be
impossible to `cd` into normally, and is generally a pain.
2016-02-06 21:06:08 -05:00
Jacob Alexander
8c858e4483 Setting WhiteFox LEDs as defaulting to on 2016-01-27 20:41:15 -08:00
Jacob Alexander
52c8ffc964 Updating README for Teensy 3.2 support 2016-01-13 15:04:45 -08:00
Jacob Alexander
4312ae50af Merge branch 'master' of github.com:kiibohd/controller 2016-01-13 15:03:50 -08:00
Jacob Alexander
e6437d603f Adding comment for the Teensy 3.2 2016-01-13 15:03:29 -08:00
Jacob Alexander
7c10ab1d60 Merge pull request #81 from dankm/not-linux
Get build working on FreeBSD
2016-01-05 10:31:36 -08:00
Dan McGregor
42084aa960 Merge remote-tracking branch 'github/master' into not-linux 2016-01-05 10:08:14 -06:00
Kevin Frei
862e7ea39d Fix a handful of infinite loops that occur if you have more than 254 macros 2016-01-02 17:43:05 -08: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
Dan McGregor
0e6f107ea1 Start removing select Linux-isms
bash might not be in /bin. Don't expect it there.
2015-10-20 08:48:59 -06: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