]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/infinity60/infinity60.h
Keyboard: Infinity60 refactor, Configurator support and readme update (#4707)
[qmk_firmware.git] / keyboards / infinity60 / infinity60.h
index 21b8eeba2dafff978e34caca9745b7ed0201bd1c..a71921045138953e022964fab350554788dd4997 100644 (file)
@@ -14,16 +14,14 @@ GNU General Public License for more details.
 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"
 
-#define LAYOUT_60_ansi_split_bs_rshift KEYMAP
-
 #ifdef INFINITY_PROTOTYPE
+
 /* Infinity prototype */
-#define KEYMAP( \
+#define LAYOUT_60_ansi_split_bs_rshift( \
     K00, K10, K20, K30, K40, K50, K60, K70, K80, K01, K11, K21, K31, K41, K86, \
     K51, K61, K71, K81, K02, K12, K22, K32, K42, K52, K62, K72, K82, K03, \
     K13, K23, K33, K43, K53, K63, K73, K83, K04, K14, K24, K34, K44, \
@@ -44,7 +42,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #else
 
 /* Infinity production */
-#define KEYMAP( \
+#define LAYOUT_60_ansi_split_bs_rshift( \
     K00, K10, K20, K30, K40, K50, K60, K70, K80, K01, K11, K21, K31, K41, K51, \
     K61, K71, K81, K02, K12, K22, K32, K42, K52, K62, K72, K82, K03, K13, \
     K23, K33, K43, K53, K63, K73, K83, K04, K14, K24, K34, K44, K54, \
@@ -64,4 +62,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #endif
 
-#endif