diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-01-28 17:09:58 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-01-28 17:09:58 -0800 |
commit | 02180c87f2618d6be33f0c171b48418e2b88c800 (patch) | |
tree | 319fc0ff3824c55f3a9fadec8b8494bf0672f42a /keyboards/handwired/space_oddity/space_oddity.h | |
parent | 03d9e3fe799ff70bba2c30b3cc160811c363dce6 (diff) | |
download | qmk_firmware-02180c87f2618d6be33f0c171b48418e2b88c800.tar.gz |
handwired/space_oddity: refactor, Configurator support and readme cleanup (#4977)
* handwired/space_oddity: refactor
- config.h: updated to use #pragma once include guard
- rules.mk: replace `?=` with `=`
- space_oddity.h:
- updated to use #pragma once include guard
- layout macro KEYMAP renamed to LAYOUT
- default keymap:
- updated to use #include QMK_KEYBOARD_H
- replace references to Planck keycodes
- replace fn_actions-powered layer switch keycode
- rebuild keymap block comments
- keymap layers now use short-form keycodes
- refactor action_get_macro keycodes into process_record_user
* handwired/space_oddity: Configurator support
* handwired/space_oddity: readme cleanup
- update readme to better conform with QMK template
- fixed the make command.
Diffstat (limited to 'keyboards/handwired/space_oddity/space_oddity.h')
-rw-r--r-- | keyboards/handwired/space_oddity/space_oddity.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/keyboards/handwired/space_oddity/space_oddity.h b/keyboards/handwired/space_oddity/space_oddity.h index e9270d044..d35bfea58 100644 --- a/keyboards/handwired/space_oddity/space_oddity.h +++ b/keyboards/handwired/space_oddity/space_oddity.h @@ -1,9 +1,8 @@ -#ifndef KB_H -#define KB_H +#pragma once #include "quantum.h" -#define KEYMAP( \ +#define LAYOUT( \ K000, K002, K004, K006, K008, K010, K011, \ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ @@ -18,5 +17,3 @@ { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411 }, \ { K500, K501, K502, K503, KC_NO, K505, KC_NO, K507, K508, K509, K510, K511 } \ } - -#endif
\ No newline at end of file |