From 29169243a73cfc26adbf3b0b4ea09ae88927f598 Mon Sep 17 00:00:00 2001 From: Dicko Date: Thu, 13 Oct 2022 05:19:07 +0700 Subject: [Keyboard] Support for dumbpad_v3x (#18663) * feat: support for dumbpad_v3x - all credit goes to - ref: https://github.com/qmk/qmk_firmware/pull/16285 - included comment from noroadsleft - ref: https://github.com/qmk/qmk_firmware/pull/16285#pullrequestreview-1038213899 * fix: add newline on every .c, .h, .mk files end * feat: response to change https://github.com/qmk/qmk_firmware/pull/18663#discussion_r991515821 * feat: response to change https://github.com/qmk/qmk_firmware/pull/18663#discussion_r991516192 --- keyboards/dumbpad/v3x/v3x.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 keyboards/dumbpad/v3x/v3x.h (limited to 'keyboards/dumbpad/v3x/v3x.h') diff --git a/keyboards/dumbpad/v3x/v3x.h b/keyboards/dumbpad/v3x/v3x.h new file mode 100644 index 0000000000..f939b6a594 --- /dev/null +++ b/keyboards/dumbpad/v3x/v3x.h @@ -0,0 +1,33 @@ +/* Copyright 2022 imchipwood && deveth0 + * + * 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 "quantum.h" + + +#define LAYOUT( \ + k01, k02, k03, k04, \ + k11, k12, k13, k14, \ + k21, k22, k23, k24, \ + k30, k31, k32, k33, k34 \ +) \ +{ \ + { KC_NO, k01, k02, k03, k04 }, \ + { KC_NO, k11, k12, k13, k14 }, \ + { KC_NO, k21, k22, k23, k24 }, \ + { k30, k31, k32, k33, k34 }, \ +} -- cgit v1.2.3