summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/iris/keymaps/pvinis/config.h
blob: 19925d3a914b2d946bcb390a5b7eb3bd233810a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once

#ifdef PRODUCT
#    undef PRODUCT
#    define PRODUCT "Iris Keyboard - pvinis"
#endif

// Use I2C or Serial, not both.
#define USE_SERIAL
// #define USE_I2C

// Select hand configuration.
// #define MASTER_LEFT
#define MASTER_RIGHT
// #define EE_HANDS

// Choose pin to use for audio. C6 is the one iris uses.
#ifdef AUDIO_ENABLE
#    define AUDIO_PIN C6
#    define STARTUP_SONG SONG(NO_SOUND)  // No startup song.
#endif

#ifdef RGBLIGHT_ENABLE
#    undef RGBLED_NUM
#    define RGBLED_NUM 16
#endif

#ifdef ENCODER_ENABLE
#    define ENCODERS_PAD_A \
        { F5 }  // I connected the encoder to F4 and F5.
#    define ENCODERS_PAD_B \
        { F4 }
//   #define ENCODERS_PAD_A_RIGHT { B5 }
//   #define ENCODERS_PAD_B_RIGHT { C6 }
#    define ENCODER_RESOLUTION 2
#endif