From 5901f5911b7642822b05c53a5a1d6b6549e15199 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 30 Oct 2015 00:49:11 -0400 Subject: atomic files --- keyboard/atomic/atomic.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 keyboard/atomic/atomic.h (limited to 'keyboard/atomic/atomic.h') diff --git a/keyboard/atomic/atomic.h b/keyboard/atomic/atomic.h new file mode 100644 index 000000000..95982ecad --- /dev/null +++ b/keyboard/atomic/atomic.h @@ -0,0 +1,30 @@ +#ifndef ATOMIC_H +#define ATOMIC_H + +#include "matrix.h" +#include "keymap_common.h" +#include "backlight.h" +#include + +// This a shortcut to help you visually see your layout. +// The following is an example using the Planck MIT layout +// The first section contains all of the arguements +// The second converts the arguments into a two-dimensional array +#define KEYMAP_SEMI_STANDARD( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2E, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, K3D, K3E, \ + K40, K41, K43, K46, K4A, K4B, K4C, K4D, K4E \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, K0E }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D, K2E }, \ + { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, K3C, K3D, K3E }, \ + { K40, K41, KC_NO, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D, K4E } \ +} + +void * matrix_init_user(void); +void * matrix_scan_user(void); + +#endif \ No newline at end of file -- cgit v1.2.3-24-g4f1b