From cc6db9c5408ad303b9d3f47e4deaf78b4fc854d3 Mon Sep 17 00:00:00 2001 From: ishtob Date: Tue, 11 Jul 2017 13:53:50 -0400 Subject: Adds Hadron Keyboard (#1492) * adding hadron keymaps * fix embedded comment * fixed TWI driver path * Delete glcdfont.c * Delete ssd1306.c * Delete ssd1306.h * Update readme.md --- keyboards/hadron/keymaps/default/config.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 keyboards/hadron/keymaps/default/config.h (limited to 'keyboards/hadron/keymaps/default/config.h') diff --git a/keyboards/hadron/keymaps/default/config.h b/keyboards/hadron/keymaps/default/config.h new file mode 100644 index 0000000000..4a5a8fad38 --- /dev/null +++ b/keyboards/hadron/keymaps/default/config.h @@ -0,0 +1,20 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +#define LEADER_TIMEOUT 300 +//#define BACKLIGHT_BREATHING +#define PREVENT_STUCK_MODIFIERS + +#define USE_I2C +#define SSD1306OLED + +/* ws2812 RGB LED*/ +#define RGB_DI_PIN D4 +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 14 // Number of LEDs +#define RGBLIGHT_HUE_STEP 10 +#define RGBLIGHT_SAT_STEP 17 + +#endif -- cgit v1.2.3 From 087af43dee545792f486069481460ed5997bc41b Mon Sep 17 00:00:00 2001 From: ishtob Date: Wed, 12 Jul 2017 12:10:28 -0400 Subject: fix implementation issues from SSD1306 clean up, added rotation (#1494) * moved OLED update task to keymap * fix splitting render display to keymap * Added rotation option for OLED, fixed splitting display render update to keymap * issues with attribute --- keyboards/hadron/keymaps/default/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'keyboards/hadron/keymaps/default/config.h') diff --git a/keyboards/hadron/keymaps/default/config.h b/keyboards/hadron/keymaps/default/config.h index 4a5a8fad38..0f349ad932 100644 --- a/keyboards/hadron/keymaps/default/config.h +++ b/keyboards/hadron/keymaps/default/config.h @@ -9,6 +9,7 @@ #define USE_I2C #define SSD1306OLED +#define OLED_ROTATE180 /* ws2812 RGB LED*/ #define RGB_DI_PIN D4 -- cgit v1.2.3