Compare commits
3 Commits
051c13b716
...
238b415aa4
Author | SHA1 | Date | |
---|---|---|---|
238b415aa4 | |||
a09e0ecdf2 | |||
0599536f37 |
@ -22,12 +22,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
//#define USE_MATRIX_I2C
|
//#define USE_MATRIX_I2C
|
||||||
|
|
||||||
|
#undef SOFT_SERIAL_PIN
|
||||||
|
#define SOFT_SERIAL_PIN B6
|
||||||
|
|
||||||
/* Select hand configuration */
|
/* Select hand configuration */
|
||||||
|
|
||||||
#define MASTER_LEFT
|
#define MASTER_LEFT
|
||||||
// #define MASTER_RIGHT
|
// #define MASTER_RIGHT
|
||||||
// #define EE_HANDS
|
// #define EE_HANDS
|
||||||
|
|
||||||
|
#define SPLIT_WPM_ENABLE
|
||||||
|
|
||||||
//#define QUICK_TAP_TERM 0
|
//#define QUICK_TAP_TERM 0
|
||||||
//#define TAPPING_TERM 100
|
//#define TAPPING_TERM 100
|
||||||
|
|
||||||
|
@ -64,7 +64,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void keyboard_post_init_user(void) {
|
||||||
|
// Customise these values to desired behaviour
|
||||||
|
//debug_enable=true;
|
||||||
|
//debug_matrix=true;
|
||||||
|
//debug_keyboard=true;
|
||||||
|
//debug_mouse=true;
|
||||||
|
}
|
||||||
|
|
||||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||||
|
if (!is_keyboard_master()) {
|
||||||
|
return OLED_ROTATION_0; // flips the display 180 degrees if offhand
|
||||||
|
}
|
||||||
return OLED_ROTATION_270;
|
return OLED_ROTATION_270;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1114,11 +1125,10 @@ static void render_space(void) {
|
|||||||
|
|
||||||
|
|
||||||
bool oled_task_user(void) {
|
bool oled_task_user(void) {
|
||||||
oled_set_brightness(100);
|
if (is_keyboard_master()) {
|
||||||
if (is_keyboard_master()) {
|
|
||||||
arasaka_draw();
|
arasaka_draw();
|
||||||
} else {
|
} else {
|
||||||
render_space();
|
render_space();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user