Ezri Brimhall c02b0c5afd
Some checks failed
Automatic Approve / automatic_approve (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Introduced firmware for framework 16 keyboard
2025-11-05 12:11:15 -07:00

30 lines
631 B
C

// Copyright 2022 Framework Computer
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "quantum.h"
#if KEYBOARD_framework_numpad
# include "numpad.h"
#endif
enum framework_keycodes {
// Custom keycode to change screen modes (e.g. enable external screen)
KC_SCRN = SAFE_RANGE,
FN_LOCK,
};
extern bool bios_mode;
#define SLEEP_GPIO GP0
#define MUX_ENABLE_GPIO GP4
#define BOOT_DONE_GPIO GP5
// Pin SDB to enable the RGB controller
#ifdef PICO_FL16
// 22 only on RPi Pico because it doesn't have GP29
# define IS31FL3743A_ENABLE_GPIO GP22
#else
# define IS31FL3743A_ENABLE_GPIO GP29
#endif