X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fplanck%2Fconfig.h;h=e0839a175f0c64601368b35d08aa90d6021349df;hb=4532caf5f2781f7fc3b28ab847e06a147c091e60;hp=4dd1d22a95211493b5848f09d39f368c600f0567;hpb=639cdd363e35c13fe331939d0972aa4db5f5198d;p=qmk_firmware.git diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h index 4dd1d22a9..e0839a175 100644 --- a/keyboards/planck/config.h +++ b/keyboards/planck/config.h @@ -23,8 +23,8 @@ along with this program. If not, see . /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6060 -#define MANUFACTURER Ortholinear Keyboards -#define PRODUCT The Planck Keyboard +#define MANUFACTURER OLKB +#define PRODUCT Planck #define DESCRIPTION A compact ortholinear keyboard /* key matrix size */ @@ -36,6 +36,14 @@ along with this program. If not, see . #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } #define UNUSED_PINS +#define QMK_ESC_OUTPUT F1 +#define QMK_ESC_INPUT D5 +#define QMK_LED E6 +#define QMK_SPEAKER C6 + +#define AUDIO_VOICES +#define C6_AUDIO + #define BACKLIGHT_PIN B7 /* COL2ROW or ROW2COL */ @@ -48,18 +56,13 @@ along with this program. If not, see . #define BACKLIGHT_LEVELS 3 /* Set 0 if debouncing isn't needed */ -#define DEBOUNCING_DELAY 5 +#define DEBOUNCE 5 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* key combination for command */ -#define IS_COMMAND() ( \ - keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ -) - /* * Feature disable options * These options are also useful to firmware size reduction. @@ -78,11 +81,4 @@ along with this program. If not, see . //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION -#ifdef SUBPROJECT_rev3 - #include "rev3/config.h" -#endif -#ifdef SUBPROJECT_rev4 - #include "rev4/config.h" -#endif - #endif