File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
crates/buttplug_client/src Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ) ,
You can’t perform that action at this time.
0 commit comments