Skip to content

Commit ff26c9d

Browse files
committed
Fixing Infinity Ergodox slaves not working
- Fixes Issue #349 - Likely some of the errors were causing issues and not allowing the keyboard to initialize - Cleaned up the error messages - Fixed the USB VID:PID pairs for Infinity Ergodox - Cleaned up K-Type defaults
1 parent 239cdce commit ff26c9d

5 files changed

Lines changed: 37 additions & 11 deletions

File tree

Keyboards/ergodox-l.bash

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Keyboard: Ergodox
44
#
55
# These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
6-
# Jacob Alexander 2015-2017
6+
# Jacob Alexander 2015-2019
77

88

99

@@ -12,6 +12,11 @@
1212
#################
1313

1414

15+
# VID:PID Mapping
16+
export VENDOR_ID="0x308F"
17+
export PRODUCT_ID="0x0004"
18+
19+
1520
# Feel free to change the variables in this section to configure your keyboard
1621

1722
BuildPath="ICED-L"

Keyboards/ergodox-r.bash

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@
33
# Keyboard: Ergodox
44
#
55
# These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
6-
# Jacob Alexander 2015-2017
6+
# Jacob Alexander 2015-2019
77

88

99

1010
#################
1111
# Configuration #
1212
#################
1313

14+
15+
# VID:PID Mapping
16+
export VENDOR_ID="0x308F"
17+
export PRODUCT_ID="0x0025"
18+
19+
1420
# Feel free to change the variables in this section to configure your keyboard
1521

1622
BuildPath="ICED-R"

Keyboards/ergodox.bash

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
# Keyboard: Ergodox
44
#
55
# These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
6-
# Jacob Alexander 2015-2018
7-
8-
9-
# VID:PID Mapping
10-
export VENDOR_ID="0x308F"
11-
export PRODUCT_ID="0x0004"
6+
# Jacob Alexander 2015-2019
127

138

149
# Build the Left Side

Keyboards/k-type.bash

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# This is a build script template
33
# These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
4-
# Jacob Alexander 2016-2018
4+
# Jacob Alexander 2016-2019
55

66

77

@@ -27,14 +27,16 @@ BaseMap="scancode_map"
2727
# This is the default layer of the keyboard
2828
# NOTE: To combine kll files into a single layout, separate them by spaces
2929
# e.g. DefaultMap="mylayout mylayoutmod"
30-
DefaultMap="k-type/release.1 stdFuncMap"
30+
DefaultMap="k-type/update.1 stdFuncMap"
3131

3232
# This is where you set the additional layers
3333
# NOTE: Indexing starts at 1
3434
# NOTE: Each new layer is another array entry
3535
# e.g. PartialMaps[1]="layer1 layer1mod"
3636
# PartialMaps[2]="layer2"
3737
# PartialMaps[3]="layer3"
38+
PartialMaps[1]="k-type/update.1.layer.1 stdFuncMap"
39+
PartialMaps[2]="k-type/update.1.layer.2 stdFuncMap"
3840

3941

4042

Macro/PartialMap/macro.c

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,16 @@ uint8_t Macro_pressReleaseAdd( void *trigger_ptr )
531531
case TriggerType_Rotation1:
532532
break;
533533

534+
case TriggerType_Animation1:
535+
case TriggerType_Animation2:
536+
case TriggerType_Animation3:
537+
case TriggerType_Animation4:
538+
case TriggerType_Sleep1:
539+
case TriggerType_Resume1:
540+
case TriggerType_Active1:
541+
case TriggerType_Inactive1:
542+
break;
543+
534544
// Invalid TriggerGuide type for Interconnect
535545
default:
536546
erro_msg("Invalid type - ");
@@ -1058,13 +1068,21 @@ void Macro_periodic()
10581068
break;
10591069

10601070
case TriggerType_Rotation1:
1071+
case TriggerType_Animation1:
1072+
case TriggerType_Animation2:
1073+
case TriggerType_Animation3:
1074+
case TriggerType_Animation4:
1075+
case TriggerType_Sleep1:
1076+
case TriggerType_Resume1:
1077+
case TriggerType_Active1:
1078+
case TriggerType_Inactive1:
10611079
// Do not re-add
10621080
break;
10631081

10641082
// Not implemented
10651083
default:
10661084
erro_msg("Interconnect Trigger Event Type - Not Implemented ");
1067-
printInt8( macroInterconnectCache[ c ].type );
1085+
printHex( macroInterconnectCache[ c ].type );
10681086
print( NL );
10691087
break;
10701088
}

0 commit comments

Comments
 (0)