Input log settings
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
use serde_derive::{Serialize, Deserialize};
|
||||
use toml;
|
||||
use std::fs;
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, Copy)]
|
||||
pub struct LogConfigInput {
|
||||
pub mouse_motion: bool,
|
||||
pub buttons: bool,
|
||||
pub missing_bindings: bool
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, Copy)]
|
||||
pub struct LogConfig {
|
||||
pub input_events: bool,
|
||||
pub vulkan_validation_layers: bool,
|
||||
pub mesh_load_info: bool,
|
||||
pub input: LogConfigInput
|
||||
}
|
||||
|
||||
impl LogConfig {
|
||||
|
||||
Reference in New Issue
Block a user