From c14e297ad586fa5686d51fdf2618fa87803a67c4 Mon Sep 17 00:00:00 2001 From: Michael Pio Date: Wed, 25 Jul 2018 23:18:36 +0800 Subject: Keyboard: Add QC60 (#3472) * Added initial files for QC60 prototype * renamed all 'keymap' to 'layout' * renamed layout macros to suggested naming convention of LAYOUT_macro_description * replaced boilerplate * removed rules.mk from keymap folders * replaced 'qc60/rev1' with 'qc60/proto' * replaced more boilerplate * renamed DEFAULT_FOLDER to point at the correct folder * updated readme --- keyboards/handwired/qc60/config.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 keyboards/handwired/qc60/config.h (limited to 'keyboards/handwired/qc60/config.h') diff --git a/keyboards/handwired/qc60/config.h b/keyboards/handwired/qc60/config.h new file mode 100644 index 0000000000..3b6f84390b --- /dev/null +++ b/keyboards/handwired/qc60/config.h @@ -0,0 +1,24 @@ +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x0C60 +#define DEVICE_VER 0x00C6 +#define MANUFACTURER PeiorisBoards +#define PRODUCT QC60 +#define DESCRIPTION Split 60% staggered keyboard + +/* key matrix size */ +// Rows are doubled-up +#define MATRIX_ROWS 10 +#define MATRIX_COLS 8 + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCING_DELAY 5 + +/* key combination for command */ +#define IS_COMMAND() ( \ + keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ +) -- cgit v1.2.3