tangled
alpha
login
or
join now
buttplug.io
/
buttplug
20
fork
atom
Buttplug sex toy control library
20
fork
atom
overview
issues
pulls
pipelines
chore: Fix how we comment out device tester for now.
qdot.tngl.sh
6 months ago
4d81f72a
5d78e34b
+9
-4
1 changed file
expand all
collapse all
unified
split
crates
examples
src
bin
device_tester.rs
+9
-4
crates/examples/src/bin/device_tester.rs
···
1
1
-
/*
2
1
// Buttplug Rust Source Code File - See https://buttplug.io for more info.
3
2
//
4
3
// Copyright 2016-2025 Nonpolynomial Labs LLC. All rights reserved.
···
6
5
// Licensed under the BSD 3-Clause license. See LICENSE file in the project root
7
6
// for full license information.
8
7
8
8
+
9
9
+
use tracing::Level;
10
10
+
11
11
+
/*
9
12
use buttplug_client::device::{ClientDeviceFeature, ClientDeviceOutputCommand};
10
13
use buttplug_client::{ButtplugClient, ButtplugClientDevice, ButtplugClientEvent};
11
14
use buttplug_client_in_process::ButtplugInProcessClientConnectorBuilder;
···
28
31
use std::collections::{HashMap, HashSet};
29
32
use std::{fs, sync::Arc, time::Duration};
30
33
use tokio::time::sleep;
31
31
-
use tracing::Level;
32
34
33
35
async fn set_level_and_wait(
34
36
dev: &ButtplugClientDevice,
···
361
363
// And now we're done!
362
364
println!("Exiting example");
363
365
}
364
364
-
366
366
+
*/
365
367
#[tokio::main(flavor = "current_thread")]
366
368
async fn main() {
367
369
tracing_subscriber::fmt()
368
370
.with_max_level(Level::DEBUG)
369
371
.init();
372
372
+
panic!("Reimplement me!");
373
373
+
/*
370
374
device_tester().await;
375
375
+
*/
371
376
}
372
372
-
*/
377
377
+