summaryrefslogtreecommitdiffstats
path: root/keyboards/jj4x4/jj4x4.h
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-04-08 20:35:47 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-08 20:35:47 +0200
commitda9bb590551e4e40552f301852074dffccd2c29d (patch)
tree5d8fd5838f6e2060b7cf66619b40a8f8d5533413 /keyboards/jj4x4/jj4x4.h
parent15d7c5f0bdfff97d5d7af6d474cc57d66b6bba94 (diff)
downloadqmk_firmware-da9bb590551e4e40552f301852074dffccd2c29d.tar.gz
qmk_firmware-da9bb590551e4e40552f301852074dffccd2c29d.tar.xz
[Keyboard] Refactor jj4x4 to current standards (#5567)
* Refactor 4x4 in line with current ps2avrgb template * Add backlight pwm bodge till #4324 lands * Disable bootmagic lite as it seems to not work on atmega32a/bootloadHID
Diffstat (limited to 'keyboards/jj4x4/jj4x4.h')
-rw-r--r--keyboards/jj4x4/jj4x4.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/keyboards/jj4x4/jj4x4.h b/keyboards/jj4x4/jj4x4.h
index 5a24b9033..7b8cb8183 100644
--- a/keyboards/jj4x4/jj4x4.h
+++ b/keyboards/jj4x4/jj4x4.h
@@ -19,8 +19,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "quantum.h"
-void matrix_init_user(void); // TODO port this to other PS2AVRGB boards
-
+/* 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( \
K01, K02, K03, K04, \
K11, K12, K13, K14, \