Skip to content

Commit

Permalink
Move FAve 84H to data driven design + Via Custom UI (qmk#19763)
Browse files Browse the repository at this point in the history
Co-authored-by: Wolf <contact@vwolf.be>
  • Loading branch information
ToastyStoemp and Wolf committed Feb 10, 2023
1 parent 5208361 commit 25ff06c
Show file tree
Hide file tree
Showing 7 changed files with 464 additions and 354 deletions.
41 changes: 8 additions & 33 deletions keyboards/linworks/fave84h/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,49 +14,20 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"

/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 17

/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/

// Checked with Eagle Schematic
#define MATRIX_ROW_PINS { B1, B2, B3, D3, D1, D0 }
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, B0, B7, E6}

/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5

/* Define RGB */
#define RGBLED_NUM 86
#define RGB_MATRIX_LED_COUNT 86
#define RGB_DI_PIN D2

#ifdef RGB_MATRIX_ENABLE

#define RGB_MATRIX_LED_COUNT 126
#define RGB_DI_PIN D2

#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120

#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT

#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
Expand Down Expand Up @@ -111,4 +82,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH

#define EECONFIG_KB_DATA_SIZE 4

#define CAPS_INDICATOR_INDEX 12

#endif
44 changes: 0 additions & 44 deletions keyboards/linworks/fave84h/fave84h.c

This file was deleted.

69 changes: 0 additions & 69 deletions keyboards/linworks/fave84h/fave84h.h

This file was deleted.

Loading

0 comments on commit 25ff06c

Please sign in to comment.