diff options
author | Mateusz Urbanek <[email protected]> | 2020-11-22 08:42:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-21 23:42:58 -0800 |
commit | a952bf2d31ec379ec5e5bbf9b1d1b2673ebbacad (patch) | |
tree | 0cbf5640f7a43a29ceb0e0bc2c42e6b3252b50c2 /keyboards/vagrant_10/config.h | |
parent | 44d1b2e717db0387e7138cc24fc5cc15ba8c90f2 (diff) | |
download | qmk_firmware-a952bf2d31ec379ec5e5bbf9b1d1b2673ebbacad.tar.gz qmk_firmware-a952bf2d31ec379ec5e5bbf9b1d1b2673ebbacad.zip |
[Keyboard] Added Vagrant-10 keyboard (#10048)
* Initial commit for Vagrant-10
* Initial commit for Vagrant-10
* customized layout
* Fully working QMK config with default keymap
* Update info.json
* Update info.json
* Update readme.md
* prep
* fixed pull request issues
* Update keyboards/vagrant_10/keymaps/default/keymap.c
* Update keyboards/vagrant_10/keymaps/default/keymap.c
* Update keyboards/vagrant_10/vagrant_10.h
* Update keyboards/vagrant_10/vagrant_10.h
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/rules.mk
* Update keyboards/vagrant_10/readme.md
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/info.json
* Update keyboards/vagrant_10/info.json
* Update keyboards/vagrant_10/vagrant_10.h
* Update keyboards/vagrant_10/keymaps/default/keymap.c
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/readme.md
* Update keyboards/vagrant_10/config.h
* License header
* License header
* License header
* License header.
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/config.h
* Update keyboards/vagrant_10/vagrant_10.h
Diffstat (limited to 'keyboards/vagrant_10/config.h')
-rwxr-xr-x | keyboards/vagrant_10/config.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/keyboards/vagrant_10/config.h b/keyboards/vagrant_10/config.h new file mode 100755 index 0000000000..2771df7895 --- /dev/null +++ b/keyboards/vagrant_10/config.h @@ -0,0 +1,55 @@ + +/** +MIT License + +Copyright (c) 2020 Shanduur & QMK Firmware + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + +#pragma once +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x534C +#define PRODUCT_ID 0x5E99 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Shanduur +#define PRODUCT Vagrant 10 + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 3 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { F7, B1, B3, B2 } +#define MATRIX_COL_PINS { F4, F6, F5 } +#define UNUSED_PINS + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE + +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE |