Skip to content

Commit 6fcaefc

Browse files
committed
fix: Fix tcode maximums
Should be 1 less than 10^x
1 parent acc9924 commit 6fcaefc

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

crates/buttplug_server_device_config/build-config/buttplug-device-config-v5.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": {
33
"major": 5,
4-
"minor": 1
4+
"minor": 2
55
},
66
"protocols": {
77
"activejoy": {
@@ -22093,17 +22093,17 @@
2209322093
"hw_position_with_duration": {
2209422094
"duration": [
2209522095
0,
22096-
100000
22096+
99999
2209722097
],
2209822098
"value": [
2209922099
0,
22100-
1000
22100+
999
2210122101
]
2210222102
},
2210322103
"position": {
2210422104
"value": [
2210522105
0,
22106-
1000
22106+
999
2210722107
]
2210822108
}
2210922109
}

crates/buttplug_server_device_config/device-config/protocols/tcode-v03.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ defaults:
99
position:
1010
value:
1111
- 0
12-
- 1000
12+
- 999
1313
hw_position_with_duration:
1414
value:
1515
- 0
16-
- 1000
16+
- 999
1717
duration:
1818
- 0
19-
- 100000
19+
- 99999
2020
index: 0
2121
id: 5c1195a5-a2e4-4643-bd47-8cb3a1e067f4
2222
communication:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version:
22
major: 5
3-
minor: 1
3+
minor: 2

0 commit comments

Comments
 (0)