mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-12 11:34:38 +00:00
800ec55dfc
* redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * redo make args to use colons, better folder structuring system [skip ci] * don't put spaces after statements - hard lessons in makefile development * fix-up some other rules.mk * give travis a chance * reset KEYMAPS variable * start converting keyboards to new system * try making all with travis * start to update readmes and keyboards * look in keyboard directories for board.mk * update visualizer rules * fix up some other keyboards/keymaps * fix arm board ld includes * fix board rules * fix up remaining keyboards * reset layout variable * reset keyboard_layouts * fix remainging keymaps/boards * update readmes, docs * add note to makefile error * update readmes * remove planck keymap warnings * update references and docs * test out tarvis build stages * don't use stages for now * don't use stages for now
36 lines
No EOL
840 B
C
36 lines
No EOL
840 B
C
#ifndef REV2_CONFIG_H
|
|
#define REV2_CONFIG_H
|
|
|
|
#include "config_common.h"
|
|
|
|
#define PRODUCT_ID 0x2301
|
|
#define DEVICE_VER 0x0003
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 5
|
|
#define MATRIX_COLS 16
|
|
|
|
// ROWS: Top to bottom, COLS: Left to right
|
|
/* Column pin configuration
|
|
* col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
|
* pin: B3 F1 F4 F5 F6 C7 C6 B6 B5 B4 D7 D6 D4 F7 B0 B1
|
|
*/
|
|
#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 }
|
|
/* Row pin configuration
|
|
* row: 0 1 2 3 4
|
|
* pin: D1 D0 D2 D5 D3
|
|
*/
|
|
#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 }
|
|
#define UNUSED_PINS
|
|
|
|
/* Underlight configuration
|
|
*/
|
|
#define RGB_DI_PIN B2
|
|
#define RGBLIGHT_ANIMATIONS
|
|
#define RGBLED_NUM 14 // Number of LEDs
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
#define RGBLIGHT_VAL_STEP 17
|
|
|
|
|
|
#endif |