Compare commits
1 Commits
238b415aa4
...
051c13b716
Author | SHA1 | Date | |
---|---|---|---|
051c13b716 |
@ -22,17 +22,12 @@ 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,18 +64,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1125,10 +1114,11 @@ static void render_space(void) {
|
|||||||
|
|
||||||
|
|
||||||
bool oled_task_user(void) {
|
bool oled_task_user(void) {
|
||||||
if (is_keyboard_master()) {
|
oled_set_brightness(100);
|
||||||
|
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