qmk_firmare/keyboards/preonic/keymaps/sadekbaroudi/config.h

47 lines
1.1 KiB
C
Executable File

#pragma once
#ifdef AUDIO_ENABLE
#define FP_AUDIO_MOUSE_BUTTONS
#define FP_AUDIO_CUT_COPY_PASTE
#define FP_AUDIO_SAVE
#define STARTUP_SONG SONG(STARTUP_SOUND)
#define DEFAULT_LAYER_SONGS \
{ SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND) }
#endif
#define MUSIC_MASK (keycode != KC_NO)
/*
* MIDI options
*/
/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
// #define MIDI_BASIC
/* ws2812 RGB LED */
#undef RGB_DI_PIN
#define RGB_DI_PIN B3
#undef RGBLIGHT_LED_COUNT
#define RGBLIGHT_LED_COUNT 16 // Number of LEDs
// See rgb_stuff.c for how these are applied - I wanted to flip these for my red themed keycaps
#define BASE_LAYER_RGB_HUE 0
#define CAPS_LOCK_RGB_HUE 167
/* enable advanced MIDI features:
- MIDI notes can be added to the keymap
- Octave shift and transpose
- Virtual sustain, portamento, and modulation wheel
- etc.
*/
//#define MIDI_ADVANCED
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2