diff --git a/README.md b/README.md index 4690584..5ea93a2 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Options: -p, --port port to connect to (default: 5000) -c, --config buttons and touchpads config (default: standart) --polling-interval - polling interval in microseconds (minimum = 4000) + polling interval in microseconds (minimum = 6000) -d, --debug enable debug mode -v, --version show version information -s, --sample-config diff --git a/client/config.toml b/client/config.toml deleted file mode 100644 index e9ffbee..0000000 --- a/client/config.toml +++ /dev/null @@ -1,22 +0,0 @@ -# Sample Configuration file for the VitaOxiPad -# Refer ReadMe for all available options - -# The IP address to bind to -ip = "192.168.0.14" - -# The port to listen on -port = 5000 - -# Path to another configuration file (if needed) -# Touchpad config to use: -# - standart -# - alt_triggers -# - rear_touchpad -# - front_touchpad -config = "standart" - -# Polling interval in microseconds -polling_interval = 4000 - -# Enable or disable debug mode -debug = false diff --git a/client/packages/cli/src/config.rs b/client/packages/cli/src/config.rs index f4f9102..3ce0de1 100644 --- a/client/packages/cli/src/config.rs +++ b/client/packages/cli/src/config.rs @@ -21,7 +21,7 @@ impl Default for Config { ip: Some("192.168.0.100".to_string()), port: Some(5000), configuration: Some("standart".to_string()), - polling_interval: Some(4000), + polling_interval: Some(6000), debug: Some(false), } } @@ -123,7 +123,7 @@ port = 5000 config = "standart" # Polling interval in microseconds -polling_interval = 4000 +polling_interval = 6000 # Enable or disable debug mode debug = false"#); diff --git a/client/packages/cli/src/main.rs b/client/packages/cli/src/main.rs index 356422b..3e19131 100644 --- a/client/packages/cli/src/main.rs +++ b/client/packages/cli/src/main.rs @@ -27,7 +27,7 @@ struct Args { #[argh(option, short = 'c')] configuration: Option, - /// polling interval in microseconds (minimum = 4000) + /// polling interval in microseconds (minimum = 6000) #[argh(option)] polling_interval: Option,