Browse Source

Move projectcain encoder logic to keyboard level (#16479)

pull/16482/head
Joel Challis 2 years ago
committed by GitHub
parent
commit
c9d9e70ac7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 8 deletions
  1. +4
    -0
      keyboards/projectcain/vault35/config.h
  2. +0
    -3
      keyboards/projectcain/vault35/keymaps/default/config.h
  3. +0
    -1
      keyboards/projectcain/vault35/keymaps/default/rules.mk
  4. +1
    -0
      keyboards/projectcain/vault35/rules.mk
  5. +4
    -0
      keyboards/projectcain/vault45/config.h
  6. +0
    -3
      keyboards/projectcain/vault45/keymaps/default/config.h
  7. +0
    -1
      keyboards/projectcain/vault45/keymaps/default/rules.mk
  8. +1
    -0
      keyboards/projectcain/vault45/rules.mk

+ 4
- 0
keyboards/projectcain/vault35/config.h View File

@ -44,6 +44,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define ENCODERS_PAD_A { D6 }
#define ENCODERS_PAD_B { D7 }
#define ENCODER_RESOLUTION 2
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/


+ 0
- 3
keyboards/projectcain/vault35/keymaps/default/config.h View File

@ -16,9 +16,6 @@
#pragma once
#define ENCODERS_PAD_A { D6 }
#define ENCODERS_PAD_B { D7 }
#define ENCODER_RESOLUTION 2
#define COMBO_COUNT 2
#define COMBO_TERM 50
#define TAPPING_FORCE_HOLD

+ 0
- 1
keyboards/projectcain/vault35/keymaps/default/rules.mk View File

@ -1,2 +1 @@
ENCODER_ENABLE = yes
COMBO_ENABLE = yes

+ 1
- 0
keyboards/projectcain/vault35/rules.mk View File

@ -16,3 +16,4 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes

+ 4
- 0
keyboards/projectcain/vault45/config.h View File

@ -47,6 +47,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define ENCODERS_PAD_A { B3, D1 }
#define ENCODERS_PAD_B { B2, D2 }
#define ENCODER_RESOLUTION 2
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/


+ 0
- 3
keyboards/projectcain/vault45/keymaps/default/config.h View File

@ -16,9 +16,6 @@
#pragma once
#define ENCODERS_PAD_A { B3, D1 }
#define ENCODERS_PAD_B { B2, D2 }
#define ENCODER_RESOLUTION 2
#define COMBO_COUNT 2
#define COMBO_TERM 50
#define TAPPING_FORCE_HOLD

+ 0
- 1
keyboards/projectcain/vault45/keymaps/default/rules.mk View File

@ -1,2 +1 @@
ENCODER_ENABLE = yes
COMBO_ENABLE = yes

+ 1
- 0
keyboards/projectcain/vault45/rules.mk View File

@ -16,3 +16,4 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes

Loading…
Cancel
Save