diff options
author | Charles <charles.fourneau@gmail.com> | 2021-08-26 01:56:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 00:56:09 +0100 |
commit | ee3a1133f1283fab132f4d601e19a61da2041631 (patch) | |
tree | ce6bba6f2a5a137fd23c103f5f26dd62a05bab50 /keyboards/plut0nium/0x3e/0x3e.h | |
parent | 4c5334cb9e0fef692ed3bd7a3e02579271f0f338 (diff) |
[keyboard] Add 0x3E (#14088)
* Add 0x3E - default config
* Apply suggestions from code review
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Apply suggestions from code review 2
Firmware size optimization
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Rename files as per project guidelines + remove empty
* Update link in readme.md
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/plut0nium/0x3e/0x3e.h')
-rw-r--r-- | keyboards/plut0nium/0x3e/0x3e.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/plut0nium/0x3e/0x3e.h b/keyboards/plut0nium/0x3e/0x3e.h new file mode 100644 index 0000000000..e44530b2fa --- /dev/null +++ b/keyboards/plut0nium/0x3e/0x3e.h @@ -0,0 +1,36 @@ +/* Copyright 2020 plut0nium + * + * 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 <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "quantum.h" + +#define LAYOUT( \ + k40, k41, k42, k43, k44, k45, k47, k48, k49, k4a, k4b, k4c, \ + k30, k31, k32, k33, k34, k35, k37, k38, k39, k3a, k3b, k3c, \ + k20, k21, k22, k23, k24, k25, k27, k28, k29, k2a, k2b, k2c, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c \ +) \ +{ \ + { k40, k41, k42, k43, k44, k45, KC_NO, k47, k48, k49, k4a, k4b, k4c }, \ + { k30, k31, k32, k33, k34, k35, KC_NO, k37, k38, k39, k3a, k3b, k3c }, \ + { k20, k21, k22, k23, k24, k25, KC_NO, k27, k28, k29, k2a, k2b, k2c }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c }, \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c }, \ +} + + |