Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rart4x4 and via support #11095

Merged
merged 15 commits into from
Dec 16, 2020
Prev Previous commit
Next Next commit
Create rart4x4.h
  • Loading branch information
rezaadio committed Dec 1, 2020
commit 91af754fe1772344716d814b51fe2cef6e8ce67c
24 changes: 24 additions & 0 deletions keyboards/rart/rart4x4/rart4x4.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#pragma once
zvecr marked this conversation as resolved.
Show resolved Hide resolved

#include "quantum.h"

/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_ortho_4x4( \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
K20, K21, K22, K23, \
K30, K31, K32, K33 \
) \
{ \
{ K00, K01, K02, K03 }, \
{ K10, K11, K12, K13 }, \
{ K20, K21, K22, K23 }, \
{ K30, K31, K32, K33 }, \
}