@@ -1,3 +1,5 @@
+#pragma once
+
#ifdef OLED_ENABLE
void render_logo(void);
@@ -14,4 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
void render_bongocat(void);
@@ -15,4 +15,6 @@
void render_layer_status(void);
@@ -7,6 +7,8 @@
* With this disgusting bodge, you can just edit your .defs and compile!
// Clear all X Macros
#define PRES BLANK
#define KEYS BLANK
#include "engine.h"
// Configuration options for the engine
// Keymap helpers
// define reference layers per layer.
#define REF_LAYER_FOR_LAYER(LAYER, REF_LAYER) \
@@ -6,6 +6,9 @@
* using a external generator (Like is done for the ASETNIOP base keymaps)
#include "g/engine.h"
@@ -15,6 +15,8 @@
extern const unsigned char font[] PROGMEM;
#define ROW_1 OLED_DISPLAY_WIDTH
#include "quantum.h"
typedef enum taphold_mode_t {
#define COLOR_BLANK 0, 0, 0
#define COLOR_BLACK 0, 0, 0
void rgbsps_set(uint8_t index, uint8_t r, uint8_t g, uint8_t b);
void rgbsps_setall(uint8_t r, uint8_t g, uint8_t b);
void rgbsps_turnoff(void);
// list of OUTPUT(row) ports
#define MATRIX_OUT_PORTS (Port_D, MCU_GPIO, D0), (Port_C, MCU_GPIO, C0), (Port_E, MCU_GPIO, E0), (Port_B, MCU_GPIO, B0)
// list of OUTPUT(row) pins
#define MATRIX_EXTENSION_74HC157 B2
// #define MATRIX_EXTENSION_74HC153 B2, B6
#if defined(__AVR__)
/* -------------------- AVR (Pro Micro) ----------------------- */
@@ -1,8 +1,5 @@
-#ifndef SUART
-#define SUART
void xmit(uint8_t);
uint8_t rcvr(void);
uint8_t recv(void);
-
-#endif /* SUART */
void render_galaxy(void);
#include <stdint.h>
#include "action.h"
@@ -14,6 +14,8 @@
#ifndef VIA_ENABLE
enum layer_names {