_log_warning(info_data,'Split main hand is specified in both config.h (SPLIT_HAND_PIN) and info.json (split.main) (Value: %s), the config.h value wins.'%info_data['split']['main'])
info_data['split']['main']='pin'
ifconfig_c.get('SPLIT_HAND_MATRIX_GRID'):
if'split'notininfo_data:
info_data['split']={}
if'main'ininfo_data['split']:
_log_warning(info_data,'Split main hand is specified in both config.h (SPLIT_HAND_MATRIX_GRID) and info.json (split.main) (Value: %s), the config.h value wins.'%info_data['split']['main'])
_log_warning(info_data,'Split main hand is specified in both config.h (EE_HANDS) and info.json (split.main) (Value: %s), the config.h value wins.'%info_data['split']['main'])
info_data['split']['main']='eeprom'
ifconfig_c.get('MASTER_RIGHT')isTrue:
if'split'notininfo_data:
info_data['split']={}
if'main'ininfo_data['split']:
_log_warning(info_data,'Split main hand is specified in both config.h (MASTER_RIGHT) and info.json (split.main) (Value: %s), the config.h value wins.'%info_data['split']['main'])
info_data['split']['main']='right'
ifconfig_c.get('MASTER_LEFT')isTrue:
if'split'notininfo_data:
info_data['split']={}
if'main'ininfo_data['split']:
_log_warning(info_data,'Split main hand is specified in both config.h (MASTER_LEFT) and info.json (split.main) (Value: %s), the config.h value wins.'%info_data['split']['main'])