Skip to content

Commit ea960e8

Browse files
slonkazoidqdot
authored andcommitted
fixup! Merge remote-tracking branch 'upstream/master'
1 parent c6cf1df commit ea960e8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/buttplug_client/src/client_event_loop.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ where
301301
let device = self.create_client_device(device);
302302
self.send_client_event(ButtplugClientEvent::DeviceAdded(device));
303303
}
304+
self.send_client_event(ButtplugClientEvent::DeviceListReceived);
304305
true
305306
}
306307
}

crates/buttplug_client/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ pub enum ButtplugClientEvent {
123123
/// Emitted when a scanning session (started via a StartScanning call on
124124
/// [ButtplugClient]) has finished.
125125
ScanningFinished,
126+
/// Emitted when the device list is received as a response to a
127+
/// DeviceListRequest call, which is sent during the handshake.
128+
DeviceListReceived,
126129
/// Emitted when a device has been added to the server. Includes a
127130
/// [ButtplugClientDevice] object representing the device.
128131
DeviceAdded(ButtplugClientDevice),

0 commit comments

Comments
 (0)