Skip to content

Commit 9a3b386

Browse files
committed
chore: bump user config version to 12.0.0
1 parent 00d8133 commit 9a3b386

24 files changed

Lines changed: 62 additions & 5 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "7.0.1",
77
"firmwareVersion": "14.0.1",
88
"deviceProtocolVersion": "4.15.0",
9-
"userConfigVersion": "11.1.0",
9+
"userConfigVersion": "12.0.0",
1010
"hardwareConfigVersion": "1.0.0",
1111
"description": "Agent is the configuration application of the Ultimate Hacking Keyboard.",
1212
"repository": {

packages/uhk-common/src/config-serializer/config-items/host-connection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export class HostConnection {
7373

7474
case 9:
7575
case 11:
76+
case 12:
7677
return this.fromJsonObjectV9(jsonObject, serialisationInfo);
7778

7879
default:
@@ -87,6 +88,7 @@ export class HostConnection {
8788

8889
case 9:
8990
case 11:
91+
case 12:
9092
return this.fromJsonBinaryV9(buffer, serialisationInfo);
9193

9294
default:

packages/uhk-common/src/config-serializer/config-items/key-action/helper.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class Helper {
3838
case 8:
3939
case 9:
4040
case 11:
41+
case 12:
4142
return this.fromUhkBufferV1(buffer, macros, serialisationInfo);
4243

4344
default:
@@ -117,6 +118,7 @@ export class Helper {
117118
case 8:
118119
case 9:
119120
case 11:
121+
case 12:
120122
return this.fromJSONObjectV1(keyAction, macros, serialisationInfo);
121123

122124
default:

packages/uhk-common/src/config-serializer/config-items/key-action/keystroke-action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export class KeystrokeAction extends KeyAction {
8484
case 8:
8585
case 9:
8686
case 11:
87+
case 12:
8788
this.fromJsonObjectV6(jsonObject, serialisationInfo);
8889
break;
8990

@@ -109,6 +110,7 @@ export class KeystrokeAction extends KeyAction {
109110
case 8:
110111
case 9:
111112
case 11:
113+
case 12:
112114
this.fromBinaryV6(buffer, serialisationInfo);
113115
break;
114116

packages/uhk-common/src/config-serializer/config-items/key-action/mouse-action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export class MouseAction extends KeyAction {
6363
case 8:
6464
case 9:
6565
case 11:
66+
case 12:
6667
this.fromJsonObjectV6(jsonObject, serialisationInfo);
6768
break;
6869

@@ -88,6 +89,7 @@ export class MouseAction extends KeyAction {
8889
case 8:
8990
case 9:
9091
case 11:
92+
case 12:
9193
this.fromBinaryV6(buffer, serialisationInfo);
9294
break;
9395

packages/uhk-common/src/config-serializer/config-items/key-action/play-macro-action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class PlayMacroAction extends KeyAction {
3838
case 8:
3939
case 9:
4040
case 11:
41+
case 12:
4142
this.fromJsonObjectV6(jsonObject, macros, serialisationInfo);
4243
break;
4344

@@ -63,6 +64,7 @@ export class PlayMacroAction extends KeyAction {
6364
case 8:
6465
case 9:
6566
case 11:
67+
case 12:
6668
this.fromBinaryV6(buffer, macros, serialisationInfo);
6769
break;
6870

packages/uhk-common/src/config-serializer/config-items/key-action/switch-keymap-action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export class SwitchKeymapAction extends KeyAction {
4242
case 8:
4343
case 9:
4444
case 11:
45+
case 12:
4546
this.fromJsonObjectV6(jsonObject, serialisationInfo);
4647
break;
4748

@@ -117,6 +118,7 @@ export class UnresolvedSwitchKeymapAction extends KeyAction {
117118
case 8:
118119
case 9:
119120
case 11:
121+
case 12:
120122
this.fromBinaryV6(buffer, serialisationInfo);
121123
break;
122124

packages/uhk-common/src/config-serializer/config-items/key-action/switch-layer-action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export class SwitchLayerAction extends KeyAction {
7272
case 8:
7373
case 9:
7474
case 11:
75+
case 12:
7576
this.fromJsonObjectV6(jsonObject, serialisationInfo);
7677
break;
7778

@@ -97,6 +98,7 @@ export class SwitchLayerAction extends KeyAction {
9798
case 8:
9899
case 9:
99100
case 11:
101+
case 12:
100102
this.fromBinaryV6(buffer, serialisationInfo);
101103
break;
102104

packages/uhk-common/src/config-serializer/config-items/keymap.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export class Keymap {
4141
case 8:
4242
case 9:
4343
case 11:
44+
case 12:
4445
this.fromJsonObjectV1(jsonObject, macros, serialisationInfo);
4546
break;
4647

@@ -65,6 +66,7 @@ export class Keymap {
6566
case 8:
6667
case 9:
6768
case 11:
69+
case 12:
6870
this.fromBinaryV1(buffer, macros, serialisationInfo);
6971
break;
7072

packages/uhk-common/src/config-serializer/config-items/layer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export class Layer {
4040
case 8:
4141
case 9:
4242
case 11:
43+
case 12:
4344
this.fromJsonObjectV5(jsonObject, macros, serialisationInfo);
4445
break;
4546

@@ -65,6 +66,7 @@ export class Layer {
6566
case 8:
6667
case 9:
6768
case 11:
69+
case 12:
6870
this.fromBinaryV5(buffer, macros, serialisationInfo);
6971
break;
7072

0 commit comments

Comments
 (0)