aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/jj4x4/jj4x4.h
diff options
context:
space:
mode:
authorGravatar zvecr <git@zvecr.com>2019-02-13 01:04:47 +0000
committerGravatar Drashna Jaelre <drashna@live.com>2019-02-12 17:04:47 -0800
commit6fcc6538c71abd649ff8c8ac60b190ebd26f3b61 (patch)
tree111817df095c17f96def62faf6157a23deb89893 /keyboards/jj4x4/jj4x4.h
parentb2ee290c9f506e42dd9c4577c8147646c405aeb0 (diff)
downloadqmk_firmware-6fcc6538c71abd649ff8c8ac60b190ebd26f3b61.tar.gz
[Keyboard] Refactor jj4x4 to enable ortho_4x4 LAYOUT (#5112)
* Correct configurator info.json * Refactor to support ortho_4x4 * Refactor to support ortho_4x4 - remove commented out code
Diffstat (limited to 'keyboards/jj4x4/jj4x4.h')
-rw-r--r--keyboards/jj4x4/jj4x4.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/keyboards/jj4x4/jj4x4.h b/keyboards/jj4x4/jj4x4.h
index 03cf5d8a6..5a24b9033 100644
--- a/keyboards/jj4x4/jj4x4.h
+++ b/keyboards/jj4x4/jj4x4.h
@@ -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