Archived
1
0
Commit Graph

464 Commits

Author SHA1 Message Date
Jacob Alexander
d1e969ce8f Various KType updates
- Updated port switching pins (split USB and UART switching)
- Added basic support for 2nd i2c bus
- Updated key matrix
- Fixed udev rules
- Added missing register defines
2016-05-12 22:11:23 -07:00
Jacob Alexander
fbc8c873ec Updating K-Type bootloader USB switcher pin
- Only works in Prototype 2+
- No longer combining Interconnect and USB switching into the same pin (more flexibility)
2016-05-08 23:29:00 -07:00
Jacob Alexander
2a745b59c0 Adding hard-coded underlighting support for KType
- Adds 32 channels of RGB leds
- Increases buffer pages to 4
- Increases max channels to 576
2016-04-25 23:26:27 -07:00
Jacob Alexander
8ed4daa2c6 Merge branch 'master' into ICPad
Integrating upstream changes into PixelMap modifications
2016-04-19 15:02:01 -07:00
Jacob Alexander
bfaed8f58c Move matrix information to a cli command 2016-03-22 19:51:43 -07:00
Jacob Alexander
18aef02a1f Adding relative movement mouse key support
- Still very basic (lots of room for improvement)
- Capability format will likely change at some point
- 16 bit movement control, however repeat rate limits usability (will need KLL 0.4 to make better)
2016-03-21 23:05:41 -07:00
Jacob Alexander
3c9a97d51a Adding basic mouse button support
- Full Mouse support will have to wait for KLL 0.6
  * This will include dynamic HID descriptor generation for many wheels and axis depending on the KLL needs
- HID descriptor is currently limited to 8 buttons
- Technically mouse movement also works (tested by accident), but it's disable for now (needs some API thought)

- Adding additional udev rules
- Added KRO mode default define
2016-03-21 00:51:51 -07:00
Jacob Alexander
0102d05c86 Fixing clang compilation and supporting clang-tidy
- clang.c includes necessary functions to make clang compiler work (tested on teensy 3.1)
- Added support code to generate a compile_commands.json for clang-tidy
  * Updates the symlink whenever cmake or make is called (Unix OSs only)
2016-03-04 00:38:06 -08:00
Jacob Alexander
c5aed6cb17 Adding convenience symlinks to the udev rules 2016-03-03 20:40:23 -08:00
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
aaae9bc0f2 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-25 23:56:04 -08:00
Jacob Alexander
62ba0c558b Fixing default pixel test mode to use rainbox 2016-02-25 23:24:14 -08:00
Jacob Alexander
5ceecce042 As per request of original author, updating license to MIT 2016-02-25 23:08:37 -08:00
CryHam
7f7c0e8873 Minor styling fixes.
Renamed define to GHOSTING_MATRIX.
Deleted unused files from CK3.
2016-02-25 23:08:37 -08:00
CryHam
953d5a407b Added support for ghosting matrices and code for elimination.
To use define GHOST in matrix.h, see example in Scan/CK3
2016-02-25 23:08:37 -08:00
Jacob Alexander
bba3ec8609 Changed name from MD1_1 to MD1.1 2016-02-25 23:08:37 -08:00
Jacob Alexander
585c0aae17 Update README.markdown 2016-02-25 23:08:37 -08:00
Jacob Alexander
2abfedec22 Debug code for interconnect cable debugging 2016-02-25 23:08:37 -08:00
Kevin Frei
ab9d10f22b Fix a handful of infinite loops that occur if you have more than 254 macros 2016-02-25 23:08:37 -08:00
Ryan S. Brown
ce38bdadf3 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-25 23:08:37 -08:00
Jacob Alexander
abe3bd68c8 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-25 23:08:37 -08:00
Jacob Alexander
eedfb3ac25 Setting WhiteFox LEDs as defaulting to on 2016-02-25 23:08:34 -08:00
Jacob Alexander
c5cba9818e Updating README for Teensy 3.2 support 2016-02-25 23:05:03 -08:00
Dan McGregor
6cea31c463 Start removing select Linux-isms
bash might not be in /bin. Don't expect it there.
2016-02-25 23:04:26 -08:00
Jacob Alexander
5c442e0434 Adding comment for the Teensy 3.2 2016-02-25 23:04:26 -08: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
077d781cf1 Disabling rainbow by default 2016-01-13 14:50:45 -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