summaryrefslogtreecommitdiff
path: root/keyboards/ibm
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ibm')
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h2
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c4
-rw-r--r--keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk5
3 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
index 0dca4f6bc6..df30e84aca 100644
--- a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
@@ -64,8 +64,10 @@
#define STM32_HSECLK 16000000
#define SOLENOID_PIN B5
+#define HAPTIC_ENABLE_PIN C13
#define SOLENOID_DEFAULT_DWELL 4
#define SOLENOID_MIN_DWELL 4
+#define HAPTIC_OFF_IN_LOW_POWER 1
#define NO_HAPTIC_MOD
#define LED_NUM_LOCK_PIN C12
diff --git a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c
index c4229ef997..cb5ec3dc12 100644
--- a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c
@@ -18,10 +18,6 @@
void keyboard_post_init_kb(void)
{
- // Solenoid enable:
- setPinOutput(C13);
- writePin(C13, 1);
-
//debug_enable=true;
//debug_matrix=true;
}
diff --git a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk
index 507f4fcd37..323a834c53 100644
--- a/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk
+++ b/keyboards/ibm/model_m_4th_gen/overnumpad_1xb/rules.mk
@@ -7,7 +7,7 @@ BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#
-BOOTMAGIC_ENABLE = yes # Enter bootloader mode when holding the ESC key.
+BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
@@ -22,4 +22,5 @@ ENCODER_ENABLE = no # Enable rotary encoder support
AUDIO_ENABLE = no # Audio output
KEYBOARD_SHARED_EP = yes # Free up some extra endpoints - needed if console+mouse+extra
-HAPTIC_ENABLE += SOLENOID
+HAPTIC_ENABLE = yes
+HAPTIC_DRIVER = SOLENOID