X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fpreonic%2Fconfig.h;h=739e38555b1fbfb3f5fd3eab3209148ec8b38006;hb=1572375bfbdb231c3373a6300fbb7e2ca195d9be;hp=04946f7fbbf3443363497bf383d96a35df1add91;hpb=d2fc24d2a05f8f1e8f8a5b7e391db1418c87a038;p=qmk_firmware.git
diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h
index 04946f7fb..739e38555 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,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 B5
+#define QMK_LED E6
+#define QMK_SPEAKER C6
+
+#define AUDIO_VOICES
+#define C6_AUDIO
+
#define BACKLIGHT_PIN B7
/* COL2ROW or ROW2COL */
@@ -61,15 +68,6 @@ along with this program. If not, see .
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
-/* ws2812 RGB LED */
-#define ws2812_PORTREG PORTD
-#define ws2812_DDRREG DDRD
-#define ws2812_pin PD1
-#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.