mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 04:39:26 +06:00
915d7a18d7
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> Co-authored-by: jack <0x6a73@protonmail.com>
29 lines
457 B
C
29 lines
457 B
C
// Copyright 2023 Kyle McCreery
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
typedef union {
|
|
uint32_t raw;
|
|
struct {
|
|
uint8_t dpi_config;
|
|
int16_t dt_term_config;
|
|
};
|
|
} keyboard_config_t;
|
|
|
|
extern keyboard_config_t keyboard_config;
|
|
extern uint16_t dpi_array[];
|
|
|
|
enum keyboard_keycodes {
|
|
DPI_UP = QK_KB,
|
|
DPI_DN,
|
|
DPI_FINE,
|
|
TAP_UP,
|
|
TAP_DN,
|
|
TAP_ON,
|
|
TAP_OFF,
|
|
TAP_TOG
|
|
};
|