summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c
diff options
context:
space:
mode:
authormarksard <38324387+marksard@users.noreply.github.com>2018-07-23 20:44:55 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-23 20:44:55 +0200
commit7e8d4be8aca888113808280f2f0660359513424a (patch)
tree620e1239bcaacf8a4bc38674fcc1b551f55c1f63 /keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c
parentb5d9bee969e49484d6ded13330f5074af73818dc (diff)
downloadqmk_firmware-7e8d4be8aca888113808280f2f0660359513424a.tar.gz
qmk_firmware-7e8d4be8aca888113808280f2f0660359513424a.tar.xz
Keymap: Refactor helix keymap based on changes to default keymap (#3469)
Diffstat (limited to 'keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c')
-rw-r--r--keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c b/keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c
index eeb22df7a..0f689f0f1 100644
--- a/keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c
+++ b/keyboards/helix/rev2/keymaps/five_rows_jis/keymap.c
@@ -1,12 +1,9 @@
-#include "helix.h"
+#include QMK_KEYBOARD_H
#include "bootloader.h"
-#include "action_layer.h"
-#include "eeconfig.h"
#ifdef PROTOCOL_LUFA
#include "lufa.h"
#include "split_util.h"
#endif
-#include "LUFA/Drivers/Peripheral/TWI.h"
#ifdef AUDIO_ENABLE
#include "audio.h"
#endif
@@ -14,12 +11,6 @@
#include "ssd1306.h"
#endif
-// * If you want to recognize that you pressed the Adjust key with the Lower / Raise key you can enable this comment out. However, the binary size may be over. *
-// #define ADJUST_MACRO_ENABLE
-
-// * If you want to use the Kana key you can enable this comment out. However, the binary size may be over. *
-// #define KANA_ENABLE
-
extern keymap_config_t keymap_config;
#ifdef RGBLIGHT_ENABLE
@@ -441,7 +432,6 @@ void matrix_init_user(void) {
#endif
//SSD1306 OLED init, make sure to add #define SSD1306OLED in config.h
#ifdef SSD1306OLED
- TWI_Init(TWI_BIT_PRESCALE_1, TWI_BITLENGTH_FROM_FREQ(1, 800000));
iota_gfx_init(!has_usb()); // turns on the display
#endif
}