summaryrefslogtreecommitdiff
path: root/keyboards/buzzard
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/buzzard')
-rw-r--r--keyboards/buzzard/keymaps/crehmann/config.h4
-rw-r--r--keyboards/buzzard/keymaps/crehmann/features/haptic_utils.c12
-rw-r--r--keyboards/buzzard/keymaps/crehmann/rules.mk2
-rw-r--r--keyboards/buzzard/keymaps/default/config.h4
-rw-r--r--keyboards/buzzard/keymaps/default/rules.mk2
-rw-r--r--keyboards/buzzard/rev1/rev1.c12
-rw-r--r--keyboards/buzzard/rev1/rules.mk2
7 files changed, 18 insertions, 20 deletions
diff --git a/keyboards/buzzard/keymaps/crehmann/config.h b/keyboards/buzzard/keymaps/crehmann/config.h
index 181396ad26..446ae01d34 100644
--- a/keyboards/buzzard/keymaps/crehmann/config.h
+++ b/keyboards/buzzard/keymaps/crehmann/config.h
@@ -25,8 +25,8 @@
#define NO_HAPTIC_PUNCTUATION
#define NO_HAPTIC_NAV
#define NO_HAPTIC_NUMERIC
-#define DRV_GREETING alert_750ms
-#define DRV_MODE_DEFAULT sharp_tick1
+#define DRV2605L_GREETING DRV2605L_EFFECT_750_MS_ALERT_100
+#define DRV2605L_DEFAULT_MODE DRV2605L_EFFECT_SHARP_TICK_1_100
#endif
#ifdef PS2_MOUSE_ENABLE
diff --git a/keyboards/buzzard/keymaps/crehmann/features/haptic_utils.c b/keyboards/buzzard/keymaps/crehmann/features/haptic_utils.c
index 37fa2902c5..941d559f42 100644
--- a/keyboards/buzzard/keymaps/crehmann/features/haptic_utils.c
+++ b/keyboards/buzzard/keymaps/crehmann/features/haptic_utils.c
@@ -4,7 +4,7 @@
#include "haptic_utils.h"
#ifdef HAPTIC_ENABLE
-#include "drivers/haptic/DRV2605L.h"
+#include "drivers/haptic/drv2605l.h"
#endif
#ifdef HAPTIC_ENABLE
@@ -23,19 +23,19 @@ void process_layer_pulse(layer_state_t state) {
#ifdef HAPTIC_ENABLE
switch (get_highest_layer(state)) {
case 1:
- DRV_pulse(soft_bump);
+ drv2605l_pulse(DRV2605L_EFFECT_SOFT_BUMP_100);
break;
case 2:
- DRV_pulse(sh_dblsharp_tick);
+ drv2605l_pulse(DRV2605L_EFFECT_SHORT_DOUBLE_SHARP_TICK_1_100);
break;
case 3:
- DRV_pulse(lg_dblclick_str);
+ drv2605l_pulse(DRV2605L_EFFECT_LONG_DOUBLE_SHARP_CLICK_STRONG_1_100);
break;
case 4:
- DRV_pulse(soft_bump);
+ drv2605l_pulse(DRV2605L_EFFECT_SOFT_BUMP_100);
break;
case 5:
- DRV_pulse(pulsing_sharp);
+ drv2605l_pulse(DRV2605L_EFFECT_PULSING_SHARP_1_100);
break;
}
#endif
diff --git a/keyboards/buzzard/keymaps/crehmann/rules.mk b/keyboards/buzzard/keymaps/crehmann/rules.mk
index 484e7d84a6..98a83af549 100644
--- a/keyboards/buzzard/keymaps/crehmann/rules.mk
+++ b/keyboards/buzzard/keymaps/crehmann/rules.mk
@@ -3,7 +3,7 @@ SRC += features/haptic_utils.c
OLED_ENABLE = yes
HAPTIC_ENABLE = yes
-HAPTIC_DRIVER = DRV2605L
+HAPTIC_DRIVER = drv2605l
PS2_MOUSE_ENABLE = yes
MOUSEKEY_ENABLE = yes
diff --git a/keyboards/buzzard/keymaps/default/config.h b/keyboards/buzzard/keymaps/default/config.h
index 2a42e17d0c..0a2776afd1 100644
--- a/keyboards/buzzard/keymaps/default/config.h
+++ b/keyboards/buzzard/keymaps/default/config.h
@@ -25,8 +25,8 @@
#define NO_HAPTIC_PUNCTUATION
#define NO_HAPTIC_NAV
#define NO_HAPTIC_NUMERIC
-#define DRV_GREETING alert_750ms
-#define DRV_MODE_DEFAULT sharp_tick1
+#define DRV2605L_GREETING DRV2605L_EFFECT_750_MS_ALERT_100
+#define DRV2605L_DEFAULT_MODE DRV2605L_EFFECT_SHARP_TICK_1_100
#endif
diff --git a/keyboards/buzzard/keymaps/default/rules.mk b/keyboards/buzzard/keymaps/default/rules.mk
index e8124aebb9..46728f3803 100644
--- a/keyboards/buzzard/keymaps/default/rules.mk
+++ b/keyboards/buzzard/keymaps/default/rules.mk
@@ -1,7 +1,7 @@
OLED_ENABLE = yes # uncomment if you are using an OLED display
#HAPTIC_ENABLE = yes # uncomment only on the master side if you are using a Pimoroni haptic buzz
-#HAPTIC_DRIVER = DRV2605L # uncomment only on the master side if you are using a Pimoroni haptic buzz
+#HAPTIC_DRIVER = drv2605l # uncomment only on the master side if you are using a Pimoroni haptic buzz
#PS2_MOUSE_ENABLE = yes # uncomment only on the master side if you are usin a TrackPoint
MOUSEKEY_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/buzzard/rev1/rev1.c b/keyboards/buzzard/rev1/rev1.c
index c6cdc66187..03c3269a7e 100644
--- a/keyboards/buzzard/rev1/rev1.c
+++ b/keyboards/buzzard/rev1/rev1.c
@@ -3,7 +3,7 @@
#include "quantum.h"
#ifdef HAPTIC_ENABLE
-#include "drivers/haptic/DRV2605L.h"
+#include "drivers/haptic/drv2605l.h"
#endif
#ifdef SWAP_HANDS_ENABLE
@@ -100,27 +100,27 @@ __attribute__((weak)) layer_state_t layer_state_set_user(layer_state_t state) {
switch (get_highest_layer(state)) {
case 1:
#ifdef HAPTIC_ENABLE
- DRV_pulse(soft_bump);
+ drv2605l_pulse(DRV2605L_EFFECT_SOFT_BUMP_100);
#endif
break;
case 2:
#ifdef HAPTIC_ENABLE
- DRV_pulse(sh_dblsharp_tick);
+ drv2605l_pulse(DRV2605L_EFFECT_SHORT_DOUBLE_SHARP_TICK_1_100);
#endif
break;
case 3:
#ifdef HAPTIC_ENABLE
- DRV_pulse(lg_dblclick_str);
+ drv2605l_pulse(DRV2605L_EFFECT_LONG_DOUBLE_SHARP_CLICK_STRONG_1_100);
#endif
break;
case 4:
#ifdef HAPTIC_ENABLE
- DRV_pulse(soft_bump);
+ drv2605l_pulse(DRV2605L_EFFECT_SOFT_BUMP_100);
#endif
break;
case 5:
#ifdef HAPTIC_ENABLE
- DRV_pulse(pulsing_sharp);
+ drv2605l_pulse(DRV2605L_EFFECT_PULSING_SHARP_1_100);
#endif
break;
}
diff --git a/keyboards/buzzard/rev1/rules.mk b/keyboards/buzzard/rev1/rules.mk
index 13c63d5b17..2beb545ece 100644
--- a/keyboards/buzzard/rev1/rules.mk
+++ b/keyboards/buzzard/rev1/rules.mk
@@ -1,4 +1,2 @@
-OLED_DRIVER = SSD1306
-
PS2_ENABLE = yes
PS2_DRIVER = interrupt