Files
cheapino_qmk_firmware/keyboards/cheapino/config.h
Arne Moerman faf73eab52
Some checks failed
CI / Check Vial UIDs (push) Has been cancelled
CI / Build default keymaps for Vial (push) Has been cancelled
CI / Build Vial keymaps (push) Has been cancelled
Refactor keymap and RGB settings for Cheapino2: update manufacturer name, adjust default hue, and optimize layer color mappings
2026-02-27 16:34:00 +01:00

36 lines
1.2 KiB
C

// Copyright 2023 Thomas Haukland (@tompi)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
//#define WS2812_TRST_US 80
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
#define RGB_MATRIX_DEFAULT_VAL 32
// Pick good defaults for enabling homerow modifiers
#define TAPPING_TERM 230
#define WS2812_DI_PIN GP16 // The pin connected to the data pin of the LEDs
//#define RGBLIGHT_LED_COUNT 1 // The number of LEDs connected
#define RGBLED_NUM 1
#define MAX_DEFERRED_EXECUTORS 32
#define DEBOUNCE 5
// How many "tents" should you turn per action
#define ENCODER_RESOLUTION 1
// These are just dummy definitions to make qmk compile
// // The actual encoder logic is handled manually in encoder.c
#define ENCODERS_PAD_A { GP12 }
#define ENCODERS_PAD_B { GP13 }
#define ENCODER_MAP_KEY_DELAY 10
#define RGBLIGHT_DEFAULT_HUE 0 // Sets the default hue value, if none has been set
#define RGBLIGHT_DEFAULT_SAT 128 // Sets the default saturation value, if none has been set
#define RGBLIGHT_DEFAULT_VAL 32 // Sets the default brightness value, if none has been set