From a1b39e6db231923935055846384eb2e78e538268 Mon Sep 17 00:00:00 2001 From: peepeetee <43021794+peepeetee@users.noreply.github.com> Date: Mon, 31 Jan 2022 03:28:04 +0800 Subject: [Keyboard] move That-Canadian 's boards into /maple_computing (#16050) --- keyboards/maple_computing/launchpad/rev1/config.h | 33 ++++++++++++++++++++++ keyboards/maple_computing/launchpad/rev1/info.json | 22 +++++++++++++++ keyboards/maple_computing/launchpad/rev1/rev1.c | 1 + keyboards/maple_computing/launchpad/rev1/rev1.h | 17 +++++++++++ keyboards/maple_computing/launchpad/rev1/rules.mk | 0 5 files changed, 73 insertions(+) create mode 100644 keyboards/maple_computing/launchpad/rev1/config.h create mode 100644 keyboards/maple_computing/launchpad/rev1/info.json create mode 100644 keyboards/maple_computing/launchpad/rev1/rev1.c create mode 100644 keyboards/maple_computing/launchpad/rev1/rev1.h create mode 100644 keyboards/maple_computing/launchpad/rev1/rules.mk (limited to 'keyboards/maple_computing/launchpad/rev1') diff --git a/keyboards/maple_computing/launchpad/rev1/config.h b/keyboards/maple_computing/launchpad/rev1/config.h new file mode 100644 index 0000000000..debc28fab3 --- /dev/null +++ b/keyboards/maple_computing/launchpad/rev1/config.h @@ -0,0 +1,33 @@ +/* +Copyright 2012 Jun Wako + +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 + +#include "../config.h" + +#define DEVICE_VER 0x0001 + +/* Let's Macro V2 pin-out */ +#define MATRIX_ROW_PINS { C6, B1, B3, D7 } +#define MATRIX_COL_PINS { D2, F7 } +#define UNUSED_PINS + +#define DIODE_DIRECTION COL2ROW + +#define RGBLED_NUM 10 +#define RGB_DI_PIN F6 +#define RGBLIGHT_ANIMATIONS diff --git a/keyboards/maple_computing/launchpad/rev1/info.json b/keyboards/maple_computing/launchpad/rev1/info.json new file mode 100644 index 0000000000..c8ba35c966 --- /dev/null +++ b/keyboards/maple_computing/launchpad/rev1/info.json @@ -0,0 +1,22 @@ +{ + "keyboard_name": "Launch Pad rev1", + "url": "", + "maintainer": "qmk", + "layouts": { + "LAYOUT": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + + {"x":0, "y":3}, + {"x":1, "y":3} + ] + } + } +} diff --git a/keyboards/maple_computing/launchpad/rev1/rev1.c b/keyboards/maple_computing/launchpad/rev1/rev1.c new file mode 100644 index 0000000000..cc2812a76c --- /dev/null +++ b/keyboards/maple_computing/launchpad/rev1/rev1.c @@ -0,0 +1 @@ +#include "launchpad.h" diff --git a/keyboards/maple_computing/launchpad/rev1/rev1.h b/keyboards/maple_computing/launchpad/rev1/rev1.h new file mode 100644 index 0000000000..2ea6e7e775 --- /dev/null +++ b/keyboards/maple_computing/launchpad/rev1/rev1.h @@ -0,0 +1,17 @@ +#pragma once + +#include "../launchpad.h" + +#include "quantum.h" + +#define LAYOUT( \ + k00, k01, \ + k10, k11, \ + k20, k21, \ + k30, k31 \ +) { \ + { k00, k01 }, \ + { k10, k11 }, \ + { k20, k21 }, \ + { k30, k31 } \ +} diff --git a/keyboards/maple_computing/launchpad/rev1/rules.mk b/keyboards/maple_computing/launchpad/rev1/rules.mk new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3