[Keyboard] add ydpm40 keyboard (#19294)

This commit is contained in:
xofyarg
2022-12-12 13:16:26 -08:00
committed by GitHub
parent b8532d100d
commit 25790fc886
6 changed files with 266 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
// Copyright 2022 anb (@anb)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define USB_CFG_IOPORTNAME D
#define USB_CFG_DMINUS_BIT 2
#define USB_CFG_DPLUS_BIT 3
#define USB_COUNT_SOF 0