]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/jj4x4/jj4x4.h
[Keyboard] Refactor jj4x4 to enable ortho_4x4 LAYOUT (#5112)
[qmk_firmware.git] / keyboards / jj4x4 / jj4x4.h
index 03cf5d8a62caf119c7f8970b8fbbf331a4ce87ef..5a24b90333dcc1efe72b1d6d2280f56bdf2c0289 100644 (file)
@@ -15,20 +15,13 @@ 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 KEYMAP_COMMON_H
-#define KEYMAP_COMMON_H
+#pragma once
 
 #include "quantum.h"
-#include "quantum_keycodes.h"
-#include "keycode.h"
-#include "action.h"
 
 void matrix_init_user(void);  // TODO port this to other PS2AVRGB boards
-
-#define XXX KC_NO
-
        
-#define LAYOUT( \
+#define LAYOUT_ortho_4x4( \
        K01, K02, K03, K04, \
        K11, K12, K13, K14, \
        K21, K22, K23, K24, \
@@ -40,7 +33,3 @@ void matrix_init_user(void);  // TODO port this to other PS2AVRGB boards
   { K21, K22, K23, K24 }, \
   { K31, K32, K33, K34 } \
 }      
-
-
-
-#endif