diff options
Diffstat (limited to 'keyboards/meira')
| -rw-r--r-- | keyboards/meira/config.h | 5 | ||||
| -rw-r--r-- | keyboards/meira/featherble/config.h | 5 | ||||
| -rw-r--r-- | keyboards/meira/featherble/featherble.h | 6 | ||||
| -rwxr-xr-x | keyboards/meira/issi.h | 5 | ||||
| -rwxr-xr-x | keyboards/meira/lighting.h | 5 | ||||
| -rw-r--r-- | keyboards/meira/meira.h | 26 | ||||
| -rw-r--r-- | keyboards/meira/promicro/config.h | 5 | ||||
| -rw-r--r-- | keyboards/meira/promicro/promicro.h | 5 |
8 files changed, 19 insertions, 43 deletions
diff --git a/keyboards/meira/config.h b/keyboards/meira/config.h index 4d864a8a7..999ab1bf8 100644 --- a/keyboards/meira/config.h +++ b/keyboards/meira/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 | ||
| @@ -44,5 +43,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 44 | 43 | ||
| 45 | #define RGBLED_NUM 15 // Number of LEDs | 44 | #define RGBLED_NUM 15 // Number of LEDs |
| 46 | #endif | 45 | #endif |
| 47 | |||
| 48 | #endif | ||
diff --git a/keyboards/meira/featherble/config.h b/keyboards/meira/featherble/config.h index b3ee95474..24f50ec17 100644 --- a/keyboards/meira/featherble/config.h +++ b/keyboards/meira/featherble/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 FEATHERBLECONFIG_H | 18 | #pragma once |
| 19 | #define FEATHERBLECONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| @@ -144,5 +143,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 144 | //#define NO_ACTION_ONESHOT | 143 | //#define NO_ACTION_ONESHOT |
| 145 | //#define NO_ACTION_MACRO | 144 | //#define NO_ACTION_MACRO |
| 146 | //#define NO_ACTION_FUNCTION | 145 | //#define NO_ACTION_FUNCTION |
| 147 | |||
| 148 | #endif | ||
diff --git a/keyboards/meira/featherble/featherble.h b/keyboards/meira/featherble/featherble.h index b7599b994..afc05d7c7 100644 --- a/keyboards/meira/featherble/featherble.h +++ b/keyboards/meira/featherble/featherble.h | |||
| @@ -1,9 +1,5 @@ | |||
| 1 | #ifndef FEATHERBLE_H | 1 | #pragma once |
| 2 | #define FEATHERBLE_H | ||
| 3 | 2 | ||
| 4 | #include "../meira.h" | 3 | #include "../meira.h" |
| 5 | 4 | ||
| 6 | #include "quantum.h" | 5 | #include "quantum.h" |
| 7 | |||
| 8 | |||
| 9 | #endif | ||
diff --git a/keyboards/meira/issi.h b/keyboards/meira/issi.h index 51777f6ee..74379ddbc 100755 --- a/keyboards/meira/issi.h +++ b/keyboards/meira/issi.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 1 | #ifdef ISSI_ENABLE | 3 | #ifdef ISSI_ENABLE |
| 2 | #ifndef ISSI_H | ||
| 3 | #define ISSI_H | ||
| 4 | 4 | ||
| 5 | typedef struct ISSIDeviceStruct{ | 5 | typedef struct ISSIDeviceStruct{ |
| 6 | uint8_t fn_dirty; // function registers need to be resent | 6 | uint8_t fn_dirty; // function registers need to be resent |
| @@ -37,4 +37,3 @@ void activateLED(uint8_t matrix, uint8_t cx, uint8_t cy, uint8_t pwm); | |||
| 37 | void update_issi(uint8_t device_addr, uint8_t blocking); | 37 | void update_issi(uint8_t device_addr, uint8_t blocking); |
| 38 | 38 | ||
| 39 | #endif | 39 | #endif |
| 40 | #endif \ No newline at end of file | ||
diff --git a/keyboards/meira/lighting.h b/keyboards/meira/lighting.h index dc55b70ef..42fee8ac9 100755 --- a/keyboards/meira/lighting.h +++ b/keyboards/meira/lighting.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | #ifndef LIGHTING_H | 1 | #pragma once |
| 2 | #define LIGHTING_H | ||
| 3 | 2 | ||
| 4 | void led_test(void); | 3 | void led_test(void); |
| 5 | void force_issi_refresh(void); | 4 | void force_issi_refresh(void); |
| 6 | void set_backlight(uint8_t level); | 5 | void set_backlight(uint8_t level); |
| 7 | void set_backlight_by_keymap(uint8_t col, uint8_t row); | 6 | void set_backlight_by_keymap(uint8_t col, uint8_t row); |
| 8 | |||
| 9 | #endif | ||
diff --git a/keyboards/meira/meira.h b/keyboards/meira/meira.h index d96839440..c88561fa0 100644 --- a/keyboards/meira/meira.h +++ b/keyboards/meira/meira.h | |||
| @@ -13,8 +13,8 @@ | |||
| 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 MEIRA_H | 16 | |
| 17 | #define MEIRA_H | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #include "quantum.h" | 19 | #include "quantum.h" |
| 20 | #include "issi.h" | 20 | #include "issi.h" |
| @@ -26,19 +26,15 @@ void reset_keyboard_kb(void); | |||
| 26 | // The first section contains all of the arguments | 26 | // The first section contains all of the arguments |
| 27 | // The second converts the arguments into a two-dimensional array | 27 | // The second converts the arguments into a two-dimensional array |
| 28 | #define LAYOUT_ortho_4x12( \ | 28 | #define LAYOUT_ortho_4x12( \ |
| 29 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 29 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 30 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 30 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 31 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 31 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 32 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b \ | 32 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B \ |
| 33 | ) \ | 33 | ) { \ |
| 34 | { \ | 34 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 35 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ | 35 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 36 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ | 36 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 37 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ | 37 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B } \ |
| 38 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b } \ | ||
| 39 | } | 38 | } |
| 40 | 39 | ||
| 41 | #define LAYOUT LAYOUT_ortho_4x12 | 40 | #define LAYOUT LAYOUT_ortho_4x12 |
| 42 | |||
| 43 | #endif | ||
| 44 | |||
diff --git a/keyboards/meira/promicro/config.h b/keyboards/meira/promicro/config.h index 53844745b..0fb8b5207 100644 --- a/keyboards/meira/promicro/config.h +++ b/keyboards/meira/promicro/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 PROMICROCONFIG_H | 18 | #pragma once |
| 19 | #define PROMICROCONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| @@ -135,5 +134,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 135 | //#define NO_ACTION_ONESHOT | 134 | //#define NO_ACTION_ONESHOT |
| 136 | //#define NO_ACTION_MACRO | 135 | //#define NO_ACTION_MACRO |
| 137 | //#define NO_ACTION_FUNCTION | 136 | //#define NO_ACTION_FUNCTION |
| 138 | |||
| 139 | #endif | ||
diff --git a/keyboards/meira/promicro/promicro.h b/keyboards/meira/promicro/promicro.h index 9e6800b49..afc05d7c7 100644 --- a/keyboards/meira/promicro/promicro.h +++ b/keyboards/meira/promicro/promicro.h | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #ifndef FEATHERBLE_H | 1 | #pragma once |
| 2 | #define FEATHERBLE_H | ||
| 3 | 2 | ||
| 4 | #include "../meira.h" | 3 | #include "../meira.h" |
| 5 | 4 | ||
| 6 | #include "quantum.h" | 5 | #include "quantum.h" |
| 7 | |||
| 8 | #endif | ||
