Skip to content

Commit 6443504

Browse files
blackspherefollowerqdot
authored andcommitted
feat: Add support for the JoyHub Diego
1 parent 0d7246c commit 6443504

3 files changed

Lines changed: 76 additions & 3 deletions

File tree

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

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": {
33
"major": 4,
4-
"minor": 175
4+
"minor": 176
55
},
66
"protocols": {
77
"activejoy": {
@@ -5813,7 +5813,8 @@
58135813
"J-Perseus",
58145814
"J-Pogo",
58155815
"J-Pyro",
5816-
"J-MaxSensr"
5816+
"J-MaxSensr",
5817+
"J-Diego"
58175818
],
58185819
"services": {
58195820
"0000ffa0-0000-1000-8000-00805f9b34fb": {
@@ -9676,6 +9677,51 @@
96769677
"J-MaxSensr"
96779678
],
96789679
"name": "JoyHub MaxSensr"
9680+
},
9681+
{
9682+
"features": [
9683+
{
9684+
"id": "606f197a-5b57-40e0-b2a6-ff5e708e8dd2",
9685+
"index": 0,
9686+
"output": {
9687+
"oscillate": {
9688+
"value": [
9689+
0,
9690+
255
9691+
]
9692+
}
9693+
}
9694+
},
9695+
{
9696+
"id": "9b714873-28ec-490c-a3e7-11b4a70dd74b",
9697+
"index": 1,
9698+
"output": {
9699+
"vibrate": {
9700+
"value": [
9701+
0,
9702+
255
9703+
]
9704+
}
9705+
}
9706+
},
9707+
{
9708+
"id": "70802c01-4a36-40fe-bdc2-a9e162437566",
9709+
"index": 5,
9710+
"output": {
9711+
"temperature": {
9712+
"value": [
9713+
0,
9714+
1
9715+
]
9716+
}
9717+
}
9718+
}
9719+
],
9720+
"id": "d862601d-1567-48c3-9dd8-bd4596a6657e",
9721+
"identifier": [
9722+
"J-Diego"
9723+
],
9724+
"name": "JoyHub Diego"
96799725
}
96809726
],
96819727
"defaults": {

crates/buttplug_server_device_config/device-config-v4/protocols/joyhub.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,6 +2247,32 @@ configurations:
22472247
- 7
22482248
index: 4
22492249
id: 6760c297-4a6a-4b0b-b14f-6151b96fc6a0
2250+
- identifier:
2251+
- J-Diego
2252+
name: JoyHub Diego
2253+
features:
2254+
- id: 606f197a-5b57-40e0-b2a6-ff5e708e8dd2
2255+
output:
2256+
oscillate:
2257+
value:
2258+
- 0
2259+
- 255
2260+
index: 0
2261+
- id: 9b714873-28ec-490c-a3e7-11b4a70dd74b
2262+
output:
2263+
vibrate:
2264+
value:
2265+
- 0
2266+
- 255
2267+
index: 1
2268+
- id: 70802c01-4a36-40fe-bdc2-a9e162437566
2269+
output:
2270+
temperature:
2271+
value:
2272+
- 0
2273+
- 1
2274+
index: 5
2275+
id: d862601d-1567-48c3-9dd8-bd4596a6657e
22502276
communication:
22512277
- btle:
22522278
names:
@@ -2379,6 +2405,7 @@ communication:
23792405
- J-Pogo
23802406
- J-Pyro
23812407
- J-MaxSensr
2408+
- J-Diego
23822409
services:
23832410
0000ffa0-0000-1000-8000-00805f9b34fb:
23842411
tx: 0000ffa1-0000-1000-8000-00805f9b34fb
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version:
22
major: 4
3-
minor: 175
3+
minor: 176

0 commit comments

Comments
 (0)