From 55c75da524df1ee00ccbd5b578fb61733906fedf Mon Sep 17 00:00:00 2001 From: yfuku <30647434+yfuku@users.noreply.github.com> Date: Mon, 27 Dec 2021 12:05:31 +0900 Subject: Add wings42 rev2 (#13702) * add rev2 * add encoder settings * add license header --- keyboards/wings42/rev2/keymaps/via/config.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 keyboards/wings42/rev2/keymaps/via/config.h (limited to 'keyboards/wings42/rev2/keymaps/via/config.h') diff --git a/keyboards/wings42/rev2/keymaps/via/config.h b/keyboards/wings42/rev2/keymaps/via/config.h new file mode 100644 index 0000000000..3e0c8d146a --- /dev/null +++ b/keyboards/wings42/rev2/keymaps/via/config.h @@ -0,0 +1,20 @@ +/* Copyright 2021 yfuku + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#pragma once + +#define ENCODERS_PAD_A { B5, B6 } +#define ENCODERS_PAD_B { B4, B2 } +#define ENCODER_RESOLUTION 4 -- cgit v1.2.3