From 87dc2efda82b7186423abf21384dc8eb6421d68e Mon Sep 17 00:00:00 2001 From: Fabian Topfstedt Date: Sun, 22 Jul 2018 15:58:01 +0200 Subject: Keymap: Custom (fabian) layout for Iris and Planck (#3460) * fabian layout * added MOUSECURSOR layer that gets activated by holding space * cleanup, meh and tilde and grave as separate keys, toggle switch for mousecursor layer * merged default * #pragma once * including QMK_KEYBOARD_H instead of various imports * using layer toggle instead of a function * deleted obsolete rules.mk (was part of the old makefile system) * #pragma once * including QMK_KEYBOARD_H instead of various imports * use ifndef KEYBOARD_planck_rev6 instead of ifdef KEYBOARD_planck_rev5 --- keyboards/planck/keymaps/fabian/config.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'keyboards/planck/keymaps/fabian/config.h') diff --git a/keyboards/planck/keymaps/fabian/config.h b/keyboards/planck/keymaps/fabian/config.h index b406e2fed9..e8c13caac5 100644 --- a/keyboards/planck/keymaps/fabian/config.h +++ b/keyboards/planck/keymaps/fabian/config.h @@ -1,7 +1,4 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" +#pragma once #ifdef AUDIO_ENABLE #define STARTUP_SONG SONG(PLANCK_SOUND) @@ -13,8 +10,6 @@ } #endif -#define MUSIC_MASK (keycode != KC_NO) - /* * MIDI options */ @@ -25,7 +20,7 @@ /* enable basic MIDI features: - MIDI notes can be sent when in Music mode is on */ - + #define MIDI_BASIC /* enable advanced MIDI features: @@ -39,4 +34,5 @@ /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ //#define MIDI_TONE_KEYCODE_OCTAVES 2 -#endif \ No newline at end of file +// Most tactile encoders have detents every 4 stages +#define ENCODER_RESOLUTION 4 -- cgit v1.2.3