1
0
Fork 0

sketch out frosty flake matrix using custom matrix.c based on kitten paw

This commit is contained in:
Gabriel Young 2017-03-18 16:19:10 -07:00
parent 3766f902a0
commit 19fd20261b
3 changed files with 187 additions and 11 deletions

View file

@ -24,13 +24,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6060
#define DEVICE_VER 0x0001
#define MANUFACTURER You
#define MANUFACTURER Bathroom Epiphanies
#define PRODUCT frosty_flake
#define DESCRIPTION A custom keyboard
#define DESCRIPTION Frosty Flake controller for the CM Storm Quick Fire Rapid
/*
* Frosty Flake Rev. 20140521 made by Bathroom Ephiphanies
* Schematic is available at https://deskthority.net/w/images/a/a4/Frosty_Flake_Schematics.pdf
*
*/
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
#define MATRIX_ROWS 8 // Row0 to Row7 in the schematic
#define MATRIX_COLS 18 // ColA to ColR in the schematic
/*
* Keyboard Matrix Assignments
@ -42,13 +48,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { D0, D5 }
#define MATRIX_COL_PINS { F1, F0, B0 }
#define UNUSED_PINS
//#define MATRIX_ROW_PINS { D5, D4, D6, D2, D1, D0 }
//#define MATRIX_COL_PINS << n/a >>
//#define UNUSED_PINS { B0, C4, D3 }
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
//#define DIODE_DIRECTION << n/a >>
// #define BACKLIGHT_PIN B7
// #define BACKLIGHT_BREATHING
// #define BACKLIGHT_LEVELS 3