diff --git a/keyboards/fingerpunch/src/vik/config.h b/keyboards/fingerpunch/src/vik/config.h index 7a5723292b3d..37eb47ba0956 100644 --- a/keyboards/fingerpunch/src/vik/config.h +++ b/keyboards/fingerpunch/src/vik/config.h @@ -2,12 +2,15 @@ /** * Modules: + * VIK_HAPTIC + * VIK_PER56_CIRQUE_LEDS * VIK_PER56_CIRQUE_LEDS * VIK_PER56_PMW3360_LEDS * VIK_PMW3360 * VIK_WEACT_ST7735 - * VIK_GC9A01 - * VIK_HAPTIC + * VIK_VIK_GC9A01 + * VIK_WAVESHARE_22224 + * VIK_AZOTEQ * * Pin config: * VIK_SPI_DRIVER @@ -141,3 +144,15 @@ // Must be defined by the keyboard itself, needs a free unused pin for reset #define DISPLAY_RST_PIN VIK_ST7735_UNUSED_PIN #endif + +#ifdef VIK_AZOTEQ + // default to AZOTEQ_IQS5XX_TPS43... shouldn't really do this + #if !defined(AZOTEQ_IQS5XX_TPS43) && !defined(AZOTEQ_IQS5XX_TPS65) + // #warning "fingerpunch:vik:azoteq: no azoteq profile defined, defaulted to AZOTEQ_IQS5XX_TPS43" + #define AZOTEQ_IQS5XX_TPS43 + #define AZOTEQ_IQS5XX_PRESS_AND_HOLD_ENABLE true + #define AZOTEQ_IQS5XX_SWIPE_X_ENABLE true + #define AZOTEQ_IQS5XX_SWIPE_Y_ENABLE true + #define AZOTEQ_IQS5XX_ZOOM_ENABLE true + #endif +#endif \ No newline at end of file diff --git a/keyboards/fingerpunch/src/vik/rules.mk b/keyboards/fingerpunch/src/vik/rules.mk index 9638068b9185..8ef8f8160482 100644 --- a/keyboards/fingerpunch/src/vik/rules.mk +++ b/keyboards/fingerpunch/src/vik/rules.mk @@ -10,6 +10,7 @@ # VIK_WEACT_ST7735 # VIK_VIK_GC9A01 # VIK_WAVESHARE_22224 +# VIK_AZOTEQ ifeq ($(strip $(VIK_HAPTIC)), yes) HAPTIC_ENABLE = yes @@ -66,6 +67,12 @@ ifeq ($(strip $(VIK_WAVESHARE_22224)), yes) OPT_DEFS += -DVIK_WAVESHARE_22224 endif +ifeq ($(strip $(VIK_AZOTEQ)), yes) + POINTING_DEVICE_ENABLE := yes + POINTING_DEVICE_DRIVER := azoteq_iqs5xx + OPT_DEFS += -DVIK_AZOTEQ +endif + ifeq ($(strip $(PMW3360_ENABLE)), yes) POINTING_DEVICE_ENABLE := yes POINTING_DEVICE_DRIVER := pmw3360 diff --git a/keyboards/fingerpunch/svlinky/fp_build.json b/keyboards/fingerpunch/svlinky/fp_build.json index 8dc0f5467cf8..eae98ae758c5 100644 --- a/keyboards/fingerpunch/svlinky/fp_build.json +++ b/keyboards/fingerpunch/svlinky/fp_build.json @@ -2,14 +2,16 @@ { "type" : "one-of", "names" : [ + "VIK_HAPTIC", + "VIK_PER56_CIRQUE_LEDS", "VIK_PER56_CIRQUE_LEDS", "VIK_PER56_PMW3360_LEDS", "VIK_PMW3360", "VIK_WEACT_ST7735", - "VIK_GC9A01", + "VIK_VIK_GC9A01", "VIK_WAVESHARE_22224", - "VIK_HAPTIC" + "VIK_AZOTEQ" ], - "user_input": "Which VIK module are you testing? NONE, VIK_PER56_CIRQUE_LEDS, VIK_PER56_PMW3360_LEDS, VIK_PMW3360, VIK_WEACT_ST7735, VIK_GC9A01, VIK_WAVESHARE_22224, VIK_HAPTIC" + "user_input": "Which VIK module are you testing? NONE, VIK_HAPTIC, VIK_PER56_CIRQUE_LEDS, VIK_PER56_CIRQUE_LEDS, VIK_PER56_PMW3360_LEDS, VIK_PMW3360, VIK_WEACT_ST7735, VIK_VIK_GC9A01, VIK_WAVESHARE_22224, VIK_AZOTEQ" } ]