From 9ac2ed280ce3034c60d82e0d2ab50a1f0f06f432 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 9 Jun 2017 10:11:34 -0400 Subject: move mechmini to own folder --- keyboards/mechmini/config.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 keyboards/mechmini/config.h (limited to 'keyboards/mechmini/config.h') diff --git a/keyboards/mechmini/config.h b/keyboards/mechmini/config.h new file mode 100644 index 0000000000..b5c696f3f8 --- /dev/null +++ b/keyboards/mechmini/config.h @@ -0,0 +1,38 @@ +/* +Copyright 2017 Luiz Ribeiro + +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 . +*/ + +#ifndef CONFIG_H +#define CONFIG_H + +#define VENDOR_ID 0x20A0 +#define PRODUCT_ID 0x422D +// TODO: share these strings with usbconfig.h +// Edit usbconfig.h to change these. +#define MANUFACTURER winkeyless.kr +#define PRODUCT ps2avrGB + +/* matrix size */ +#define MATRIX_ROWS 8 +#define MATRIX_COLS 15 + +#define NO_UART 1 +#define BOOTLOADHID_BOOTLOADER 1 + +/* key combination for command */ +#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) + +#endif -- cgit v1.2.3 From 8c4a59611a665bc25e75c84e93e09ed64e223b18 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 9 Jun 2017 10:22:58 -0400 Subject: due diligence, etc --- keyboards/mechmini/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboards/mechmini/config.h') diff --git a/keyboards/mechmini/config.h b/keyboards/mechmini/config.h index b5c696f3f8..ecd50ca296 100644 --- a/keyboards/mechmini/config.h +++ b/keyboards/mechmini/config.h @@ -23,7 +23,7 @@ along with this program. If not, see . // TODO: share these strings with usbconfig.h // Edit usbconfig.h to change these. #define MANUFACTURER winkeyless.kr -#define PRODUCT ps2avrGB +#define PRODUCT mechmini /* matrix size */ #define MATRIX_ROWS 8 -- cgit v1.2.3