Browse Source

overnumpad controller: Add support for turning off solenoid enable in low power. (#15021)

pull/15031/head
Purdea Andrei 2 years ago
committed by GitHub
parent
commit
2326c8f747
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 18 deletions
  1. +2
    -0
      keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h
  2. +0
    -4
      keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c
  3. +2
    -0
      keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/config.h
  4. +0
    -4
      keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/overnumpad_1xb.c
  5. +2
    -0
      keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/config.h
  6. +0
    -4
      keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/overnumpad_1xb.c
  7. +2
    -0
      keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h
  8. +0
    -3
      keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/overnumpad_1xb.c
  9. +2
    -0
      keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/config.h
  10. +0
    -3
      keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/overnumpad_1xb.c

+ 2
- 0
keyboards/ibm/model_m_4th_gen/overnumpad_1xb/config.h View File

@ -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


+ 0
- 4
keyboards/ibm/model_m_4th_gen/overnumpad_1xb/overnumpad_1xb.c View File

@ -18,10 +18,6 @@
void keyboard_post_init_kb(void)
{
// Solenoid enable:
setPinOutput(C13);
writePin(C13, 1);
//debug_enable=true;
//debug_matrix=true;
}


+ 2
- 0
keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/config.h View File

@ -63,8 +63,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


+ 0
- 4
keyboards/unicomp/classic_ultracl_post_2013/overnumpad_1xb/overnumpad_1xb.c View File

@ -18,10 +18,6 @@
void keyboard_post_init_kb(void)
{
// Solenoid enable:
setPinOutput(C13);
writePin(C13, 1);
//debug_enable=true;
//debug_matrix=true;
}


+ 2
- 0
keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/config.h View File

@ -63,8 +63,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


+ 0
- 4
keyboards/unicomp/classic_ultracl_pre_2013/overnumpad_1xb/overnumpad_1xb.c View File

@ -18,10 +18,6 @@
void keyboard_post_init_kb(void)
{
// Solenoid enable:
setPinOutput(C13);
writePin(C13, 1);
//debug_enable=true;
//debug_matrix=true;
}


+ 2
- 0
keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/config.h View File

@ -63,8 +63,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_CAPS_LOCK_PIN C12


+ 0
- 3
keyboards/unicomp/spacesaver_m_post_2013/overnumpad_1xb/overnumpad_1xb.c View File

@ -23,9 +23,6 @@ void keyboard_post_init_kb(void)
setPinOutput(C11); // middle led, always off on Spacesaver M
writePin(C11, 0);
setPinOutput(C10); // right-most led, normally Scroll Lock, but on Spacesaver M indicates function layer
// Solenoid enable:
setPinOutput(C13);
writePin(C13, 1);
//debug_enable=true;
//debug_matrix=true;


+ 2
- 0
keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/config.h View File

@ -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_CAPS_LOCK_PIN C12


+ 0
- 3
keyboards/unicomp/spacesaver_m_pre_2013/overnumpad_1xb/overnumpad_1xb.c View File

@ -23,9 +23,6 @@ void keyboard_post_init_kb(void)
setPinOutput(C11); // middle led, always off on Spacesaver M
writePin(C11, 0);
setPinOutput(C10); // right-most led, normally Scroll Lock, but on Spacesaver M indicates function layer
// Solenoid enable:
setPinOutput(C13);
writePin(C13, 1);
//debug_enable=true;
//debug_matrix=true;


Loading…
Cancel
Save