Skip to content

Commit

Permalink
Set some default configurations for GMMK Pro (qmk#13219)
Browse files Browse the repository at this point in the history
* Set some default configurations for GMMK Pro

* Remove FORCE_NKRO to avoid issues with KVMs
  • Loading branch information
andrebrait authored and nhongooi committed Dec 5, 2021
1 parent 177240b commit 6b68abe
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions keyboards/gmmk/pro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,11 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

/* SPI Config for LED Driver */
#define SPI_DRIVER SPID1
#define SPI_SCK_PIN A5
#define SPI_MOSI_PIN A6
#define SPI_MISO_PIN A7
/* 1000Hz USB polling - it's the default on stock firmware */
#define USB_POLLING_INTERVAL_MS 1

#define DRIVER_1_CS B13
#define DRIVER_2_CS B14
#define DRIVER_1_EN C13
#define DRIVER_2_EN C13

#define DRIVER_COUNT 2
#define DRIVER_1_LED_TOTAL 66
#define DRIVER_2_LED_TOTAL 32
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
/* Send up to 4 key press events per scan */
#define QMK_KEYS_PER_SCAN 4

/* Set debounce time to 5ms */
#define DEBOUNCE 5

0 comments on commit 6b68abe

Please sign in to comment.