forked from mirrors/qmk_userspace
images, docks, clean-up [skip ci]
This commit is contained in:
parent
d707738616
commit
ce01f88c43
13 changed files with 367 additions and 2 deletions
|
@ -7,13 +7,22 @@
|
|||
#include "split_util.h"
|
||||
#include "matrix.h"
|
||||
#include "i2c.h"
|
||||
#include "serial.h"
|
||||
#include "keyboard.h"
|
||||
#include "config.h"
|
||||
|
||||
volatile bool isLeftHand = true;
|
||||
|
||||
static void setup_handedness(void) {
|
||||
#ifdef EE_HANDS
|
||||
isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS);
|
||||
#else
|
||||
#ifdef I2C_MASTER_RIGHT
|
||||
isLeftHand = !has_usb();
|
||||
#else
|
||||
isLeftHand = has_usb();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
static void keyboard_master_setup(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue