2018-01-03 23:17:09 +06:00
|
|
|
/* Copyright 2017 MechMerlin <mechmerlin@gmail.com>
|
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
#ifndef V2_H
|
|
|
|
#define V2_H
|
|
|
|
|
2018-08-29 05:52:30 +06:00
|
|
|
#include "quantum.h"
|
2018-01-03 23:17:09 +06:00
|
|
|
|
2018-08-16 21:54:17 +06:00
|
|
|
#define ___ KC_NO
|
|
|
|
|
2018-04-03 02:23:21 +06:00
|
|
|
#define LAYOUT_all( \
|
2018-01-03 23:17:09 +06:00
|
|
|
K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, \
|
|
|
|
K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3O, \
|
|
|
|
K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2M, K2O, \
|
|
|
|
K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1M, K1N, K1O, \
|
2018-08-16 21:54:17 +06:00
|
|
|
K0A, K0B, K0C, K0I, K0K, K0M, K0N, K0O \
|
2018-01-03 23:17:09 +06:00
|
|
|
) { \
|
2018-08-16 21:54:17 +06:00
|
|
|
{ K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O }, \
|
|
|
|
{ K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, ___, K3O }, \
|
|
|
|
{ K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2M, ___, K2O }, \
|
|
|
|
{ K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, ___, K1M, K1N, K1O }, \
|
|
|
|
{ K0A, K0B, K0C, ___, ___, ___, ___, ___, K0I, ___, K0K, ___, K0M, K0N, K0O } \
|
2018-01-03 23:17:09 +06:00
|
|
|
}
|
2018-04-03 02:23:21 +06:00
|
|
|
|
2018-04-25 20:44:37 +06:00
|
|
|
#define LAYOUT_60_ansi( \
|
2018-04-03 02:23:21 +06:00
|
|
|
K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4O, \
|
|
|
|
K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3O, \
|
|
|
|
K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2O, \
|
|
|
|
K1A, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1M, K1N, \
|
2018-08-16 21:54:17 +06:00
|
|
|
K0A, K0B, K0C, K0I, K0K, K0M, K0N, K0O \
|
2018-04-03 02:23:21 +06:00
|
|
|
) { \
|
2018-08-16 21:54:17 +06:00
|
|
|
{ K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, ___, K4O }, \
|
|
|
|
{ K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, ___, K3O }, \
|
|
|
|
{ K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, ___, ___, K2O }, \
|
|
|
|
{ K1A, ___, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, ___, K1M, K1N, ___ }, \
|
|
|
|
{ K0A, K0B, K0C, ___, ___, ___, ___, ___, K0I, ___, K0K, ___, K0M, K0N, K0O } \
|
2018-04-03 02:23:21 +06:00
|
|
|
}
|
|
|
|
|
|
|
|
#define LAYOUT_eagle_splits( \
|
|
|
|
K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, \
|
|
|
|
K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3O, \
|
|
|
|
K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2O, \
|
|
|
|
K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1M, K1N, K1O, \
|
2018-08-16 21:54:17 +06:00
|
|
|
K0A, K0B, K0C, K0I, K0K, K0M, K0N, K0O \
|
2018-04-03 02:23:21 +06:00
|
|
|
) { \
|
2018-08-16 21:54:17 +06:00
|
|
|
{ K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O }, \
|
|
|
|
{ K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, ___, K3O }, \
|
|
|
|
{ K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, ___, ___, K2O }, \
|
|
|
|
{ K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, ___, K1M, K1N, K1O }, \
|
|
|
|
{ K0A, K0B, K0C, ___, ___, ___, ___, ___, K0I, ___, K0K, ___, K0M, K0N, K0O } \
|
2018-04-03 02:23:21 +06:00
|
|
|
}
|
|
|
|
|
|
|
|
#define LAYOUT_viper( \
|
|
|
|
K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, \
|
|
|
|
K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3O, \
|
|
|
|
K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2O, \
|
|
|
|
K1A, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1M, K1N, K1O, \
|
2018-08-16 21:54:17 +06:00
|
|
|
K0B, K0C, K0I, K0M, K0N \
|
2018-04-03 02:23:21 +06:00
|
|
|
) { \
|
2018-08-16 21:54:17 +06:00
|
|
|
{ K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O }, \
|
|
|
|
{ K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, ___, K3O }, \
|
|
|
|
{ K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, ___, ___, K2O }, \
|
|
|
|
{ K1A, ___, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, ___, K1M, K1N, K1O }, \
|
|
|
|
{ ___, K0B, K0C, ___, ___, ___, ___, ___, K0I, ___, ___, ___, K0M, K0N, ___ } \
|
2018-04-03 02:23:21 +06:00
|
|
|
}
|
2018-04-24 22:01:40 +06:00
|
|
|
|
2018-04-25 20:44:37 +06:00
|
|
|
#define LAYOUT_eagle LAYOUT_60_ansi
|
2018-08-16 21:54:17 +06:00
|
|
|
|
|
|
|
#endif
|