X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=keyboards%2Fpreonic%2Fconfig.h;h=7ed4814faba3430d20e936cec67caa463f5cfb13;hb=refs%2Fheads%2Fmaster;hp=239c29ebf9ebf9ce6c63b73d3c9e36a802df94c3;hpb=b851b0b2ae0a127dba6411a4c349fb67007ffd77;p=qmk_firmware.git diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h index 239c29ebf..7ed4814fa 100644 --- a/keyboards/preonic/config.h +++ b/keyboards/preonic/config.h @@ -23,9 +23,8 @@ along with this program. If not, see . /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6061 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Ortholinear Keyboards -#define PRODUCT The Preonic Keyboard +#define MANUFACTURER OLKB +#define PRODUCT Preonic #define DESCRIPTION A compact ortholinear keyboard /* key matrix size */ @@ -37,7 +36,13 @@ 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 B5 +#define QMK_LED E6 +#define QMK_SPEAKER C6 + #define AUDIO_VOICES +#define C6_AUDIO #define BACKLIGHT_PIN B7 @@ -51,26 +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)) \ -) - -/* ws2812 RGB LED */ -#define RGB_DI_PIN D1 -#define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 28 // Number of LEDs -#define RGBLIGHT_HUE_STEP 10 -#define RGBLIGHT_SAT_STEP 17 -#define RGBLIGHT_VAL_STEP 17 - /* * Feature disable options * These options are also useful to firmware size reduction.