From 6cf4af987616fa5270f0d9ab7ec6e2ba8712dda3 Mon Sep 17 00:00:00 2001 From: jun10000 <39115187+jun10000@users.noreply.github.com> Date: Sat, 24 Sep 2022 16:38:43 +0900 Subject: [Keyboard] Add om60 rev1 keyboard (#18126) Co-authored-by: Drashna Jaelre Co-authored-by: Ryan Co-authored-by: jun10000 --- keyboards/om60/om60.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 keyboards/om60/om60.h (limited to 'keyboards/om60/om60.h') diff --git a/keyboards/om60/om60.h b/keyboards/om60/om60.h new file mode 100644 index 0000000000..669a610031 --- /dev/null +++ b/keyboards/om60/om60.h @@ -0,0 +1,41 @@ +/* +Copyright 2021 Salicylic_Acid +Copyright 2022 jun10000 + +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( \ + L01, L05, L10, L15, L20, L25, L30, L35, L40, R45, R50, R55, R60, R65, \ + L06, L11, L16, L21, L26, L31, L36, R41, R46, R51, R56, R61, R66, \ + L02, L07, L12, L17, L22, L27, L32, L37, R42, R47, R52, R57, R62, R67, \ + L03, L08, L13, L18, L23, L28, L33, L38, R43, R48, R53, R58, R63, R68, \ + L04, L09, L14, L19, L24, L29, L34, L39, R44, R49, R54, R59, R64, R69 \ + ) \ + { \ + { L01, L06, L11, L16, L21, L26, L31, L36 }, \ + { L02, L07, L12, L17, L22, L27, L32, L37 }, \ + { L03, L08, L13, L18, L23, L28, L33, L38 }, \ + { L04, L09, L14, L19, L24, L29, L34, L39 }, \ + { L05, L10, L15, L20, L25, L30, L35, L40 }, \ + { R41, R46, R51, R56, R61, R66, KC_NO, KC_NO }, \ + { R42, R47, R52, R57, R62, R67, KC_NO, KC_NO }, \ + { R43, R48, R53, R58, R63, R68, KC_NO, KC_NO }, \ + { R44, R49, R54, R59, R64, R69, KC_NO, KC_NO }, \ + { R45, R50, R55, R60, R65, KC_NO, KC_NO, KC_NO } \ + } -- cgit v1.2.3