forked from kinx-project/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update a bunch of stuff Better rules, better config, added encoders, lights, audio. * some fmt * more fmt
- Loading branch information
Showing
8 changed files
with
631 additions
and
492 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,36 @@ | ||
#pragma once | ||
|
||
|
||
#ifdef PRODUCT | ||
#undef PRODUCT | ||
#define PRODUCT Iris Keyboard - pvinis | ||
# undef PRODUCT | ||
# define PRODUCT Iris Keyboard - pvinis | ||
#endif | ||
|
||
|
||
// Use I2C or Serial, not both | ||
// Use I2C or Serial, not both. | ||
#define USE_SERIAL | ||
// #define USE_I2C | ||
|
||
|
||
// Select hand configuration | ||
#define MASTER_LEFT | ||
// #define MASTER_RIGHT | ||
// Select hand configuration. | ||
// #define MASTER_LEFT | ||
#define MASTER_RIGHT | ||
// #define EE_HANDS | ||
|
||
|
||
// choose pin to use for audio. c6 is the one iris uses. | ||
// Choose pin to use for audio. C6 is the one iris uses. | ||
#ifdef AUDIO_ENABLE | ||
#define C6_AUDIO | ||
# define C6_AUDIO | ||
# 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 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
AUDIO_ENABLE = no # off for now | ||
RGBLIGHT_ENABLE = no # off for now | ||
TAP_DANCE_ENABLE = yes | ||
AUDIO_ENABLE = no # piezo speaker sounds | ||
RGBLIGHT_ENABLE = yes # rgb leds underlight | ||
ENCODER_ENABLE = yes # rotary knob | ||
|
||
# Some extra stuff to make firmware smaller. | ||
LINK_TIME_OPTIMIZATION_ENABLE = yes | ||
CONSOLE_ENABLE = no | ||
COMMAND_ENABLE = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#pragma once | ||
|
||
#ifdef AUDIO_ENABLE | ||
// #define STARTUP_SONG SONG(SONIC_RING) | ||
// #define DAC_SAMPLE_MAX 65535U // maybe this works for volume? | ||
#endif | ||
|
||
// allow rolling when keys have hold functionality | ||
#define IGNORE_MOD_TAP_INTERRUPT | ||
// #define TAPPING_TERM 150 | ||
|
||
#if defined(MOUSE_KEYS) | ||
# define MOUSEKEY_WHEEL_TIME_TO_MAX 1 | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.