diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-12-21 19:39:48 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-12-21 19:39:48 -0800 |
commit | ea1fe35ae7c5fa026309a1d51cd90450e48c6b39 (patch) | |
tree | 1b16e0ce28a1bb8c2b89fec497a1afd42142b88e /keyboards/infinity60/infinity60.h | |
parent | 4d98c69e0297973789564ce508f2e8dafe69c32b (diff) | |
download | qmk_firmware-ea1fe35ae7c5fa026309a1d51cd90450e48c6b39.tar.gz |
Keyboard: Infinity60 refactor, Configurator support and readme update (#4707)
* Infinity60: refactor
- infinity60.h / keymap.c
- renamed layout macro to LAYOUT_60_ansi_split_bs_rshift; removed layout macro alias
- updated to #pragma once
- keymaps now use #include QMK_KEYBOARD_H
- keymaps/jpetermans/config.h updated to #pragma once
- keymaps/jpetermans/rules.mk deleted (complete contents were deprecated make instructions)
* Infinity 60%: Configurator support
* Infinity60: readme update
Updated the Docs links.
* Infinity60: bugfix depariel keymap
Had a typo.
* Infinity60: edit matrix.c
per @drashna
- https://github.com/qmk/qmk_firmware/pull/4707#issuecomment-449540676
Diffstat (limited to 'keyboards/infinity60/infinity60.h')
-rw-r--r-- | keyboards/infinity60/infinity60.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/keyboards/infinity60/infinity60.h b/keyboards/infinity60/infinity60.h index 21b8eeba2..a71921045 100644 --- a/keyboards/infinity60/infinity60.h +++ b/keyboards/infinity60/infinity60.h @@ -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 |