diff options
Diffstat (limited to 'keyboards/ckeys')
| -rw-r--r-- | keyboards/ckeys/nakey/config.h | 5 | ||||
| -rw-r--r-- | keyboards/ckeys/nakey/nakey.h | 24 | ||||
| -rw-r--r-- | keyboards/ckeys/obelus/config.h | 5 | ||||
| -rw-r--r-- | keyboards/ckeys/obelus/obelus.h | 8 |
4 files changed, 16 insertions, 26 deletions
diff --git a/keyboards/ckeys/nakey/config.h b/keyboards/ckeys/nakey/config.h index 728eb8f13..26ba86e14 100644 --- a/keyboards/ckeys/nakey/config.h +++ b/keyboards/ckeys/nakey/config.h | |||
| @@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| @@ -108,5 +107,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 108 | //#define NO_ACTION_ONESHOT | 107 | //#define NO_ACTION_ONESHOT |
| 109 | //#define NO_ACTION_MACRO | 108 | //#define NO_ACTION_MACRO |
| 110 | //#define NO_ACTION_FUNCTION | 109 | //#define NO_ACTION_FUNCTION |
| 111 | |||
| 112 | #endif | ||
diff --git a/keyboards/ckeys/nakey/nakey.h b/keyboards/ckeys/nakey/nakey.h index bbf531fb6..bdb26afa2 100644 --- a/keyboards/ckeys/nakey/nakey.h +++ b/keyboards/ckeys/nakey/nakey.h | |||
| @@ -13,27 +13,27 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #ifndef NAKEY_H | 16 | |
| 17 | #define NAKEY_H | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #include "quantum.h" | 19 | #include "quantum.h" |
| 20 | 20 | ||
| 21 | #define XXX KC_NO | ||
| 22 | |||
| 21 | // This a shortcut to help you visually see your layout. | 23 | // This a shortcut to help you visually see your layout. |
| 22 | // The following is an example using the Planck MIT layout | 24 | // The following is an example using the Planck MIT layout |
| 23 | // The first section contains all of the arguments | 25 | // The first section contains all of the arguments |
| 24 | // The second converts the arguments into a two-dimensional array | 26 | // The second converts the arguments into a two-dimensional array |
| 25 | #define LAYOUT_numpad_5x4( \ | 27 | #define LAYOUT_numpad_5x4( \ |
| 26 | k00, k01, k02, k03, \ | 28 | k00, k01, k02, k03, \ |
| 27 | k10, k11, k12, \ | 29 | k10, k11, k12, \ |
| 28 | k20, k21, k22, k13, \ | 30 | k20, k21, k22, k13, \ |
| 29 | k30, k31, k32, \ | 31 | k30, k31, k32, \ |
| 30 | k40, k41, k33 \ | 32 | k40, k41, k33 \ |
| 31 | ) { \ | 33 | ) { \ |
| 32 | { k00, k01, k02, k03 }, \ | 34 | { k00, k01, k02, k03 }, \ |
| 33 | { k10, k11, k12, k13 }, \ | 35 | { k10, k11, k12, k13 }, \ |
| 34 | { k20, k21, k22, KC_NO }, \ | 36 | { k20, k21, k22, XXX }, \ |
| 35 | { k30, k31, k32, k33 }, \ | 37 | { k30, k31, k32, k33 }, \ |
| 36 | { k40, KC_NO, k41, KC_NO }, \ | 38 | { k40, XXX, k41, XXX } \ |
| 37 | } | 39 | } |
| 38 | |||
| 39 | #endif | ||
diff --git a/keyboards/ckeys/obelus/config.h b/keyboards/ckeys/obelus/config.h index 45bbd27ec..00e224c20 100644 --- a/keyboards/ckeys/obelus/config.h +++ b/keyboards/ckeys/obelus/config.h | |||
| @@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| @@ -109,5 +108,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 109 | #define AUDIO_PIN C6 | 108 | #define AUDIO_PIN C6 |
| 110 | #define STARTUP_SONG SONG(STARTUP_SOUND) | 109 | #define STARTUP_SONG SONG(STARTUP_SOUND) |
| 111 | #endif | 110 | #endif |
| 112 | |||
| 113 | #endif | ||
diff --git a/keyboards/ckeys/obelus/obelus.h b/keyboards/ckeys/obelus/obelus.h index 371b79df2..76ff4f1a9 100644 --- a/keyboards/ckeys/obelus/obelus.h +++ b/keyboards/ckeys/obelus/obelus.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef OBELUS_H | 1 | #pragma once |
| 2 | #define OBELUS_H | ||
| 3 | 2 | ||
| 4 | #include "quantum.h" | 3 | #include "quantum.h" |
| 5 | 4 | ||
| @@ -12,12 +11,9 @@ | |||
| 12 | k10, k11, k12, k13, \ | 11 | k10, k11, k12, k13, \ |
| 13 | k20, k21, k22, k23, \ | 12 | k20, k21, k22, k23, \ |
| 14 | k30, k31, k32, k33 \ | 13 | k30, k31, k32, k33 \ |
| 15 | ) \ | 14 | ) { \ |
| 16 | { \ | ||
| 17 | { k00, k01, k02, k03 }, \ | 15 | { k00, k01, k02, k03 }, \ |
| 18 | { k10, k11, k12, k13 }, \ | 16 | { k10, k11, k12, k13 }, \ |
| 19 | { k20, k21, k22, k23 }, \ | 17 | { k20, k21, k22, k23 }, \ |
| 20 | { k30, k31, k32, k33 } \ | 18 | { k30, k31, k32, k33 } \ |
| 21 | } | 19 | } |
| 22 | |||
| 23 | #endif | ||
