* Update pizzapad with encoder * Added extra features to enable volume controls * Added license header and updated pin number * Remove config.h file * Update keyboard.json features and pizzapad.c license header
14 lines
306 B
C
14 lines
306 B
C
// Copyright 2025 Zykrah
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "quantum.h"
|
|
|
|
#define ENCODER_PIN_C GP27
|
|
|
|
void keyboard_pre_init_kb(void) {
|
|
// Set encoder pin C low
|
|
gpio_set_pin_output_push_pull(ENCODER_PIN_C);
|
|
gpio_write_pin_low(ENCODER_PIN_C);
|
|
|
|
keyboard_pre_init_user();
|
|
}
|