diff options
author | Fabian Topfstedt <topfstedt@schneevonmorgen.com> | 2018-07-22 15:58:01 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-22 06:58:01 -0700 |
commit | 87dc2efda82b7186423abf21384dc8eb6421d68e (patch) | |
tree | 7afae01fb7f978c0213be0d050f70d842a4de244 /keyboards/planck/keymaps/fabian/config.h | |
parent | ed99581161b35b383ee9e1f5c070574524e9ea36 (diff) |
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
Diffstat (limited to 'keyboards/planck/keymaps/fabian/config.h')
-rw-r--r-- | keyboards/planck/keymaps/fabian/config.h | 12 |
1 files changed, 4 insertions, 8 deletions
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 |