Add numpad_5x6 layout support for Prime M keyboard (#5149)

* Add numpad_5x6 layout support for Prime M keyboard

* fix default layout
This commit is contained in:
Drashna Jaelre
2019-02-16 18:30:14 -08:00
committed by MechMerlin
parent cbb7e91851
commit 16226274c9
10 changed files with 155 additions and 25 deletions

View File

@@ -13,12 +13,12 @@
* 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 PRIME_M_H
#define PRIME_M_H
#pragma once
#include "quantum.h"
#define ___ KC_NO
#define LAYOUT( \
#define LAYOUT_ortho_5x6( \
K00, K01, K02, K03, K04, K05, \
K10, K11, K12, K13, K14, K15, \
K20, K21, K22, K23, K24, K25, \
@@ -32,4 +32,16 @@
{ K40, K41, K42, K43, K44, K45 } \
}
#endif
#define LAYOUT_numpad_5x6( \
K00, K01, K02, K03, K04, K05, \
K10, K11, K12, K13, K14, \
K20, K21, K22, K23, K24, K15, \
K30, K31, K32, K33, K34, \
K40, K41, K42, K44, K35 \
) { \
{ K00, K01, K02, K03, K04, K05 }, \
{ K10, K11, K12, K13, K14, K15 }, \
{ K20, K21, K22, K23, K24, ___ }, \
{ K30, K31, K32, K33, K34, K35 }, \
{ K40, K41, K42, ___, K44, ___ } \
}