Input log settings

This commit is contained in:
2020-11-29 22:02:49 +01:00
parent 62ec222749
commit 0edd6b6411
4 changed files with 50 additions and 24 deletions

View File

@@ -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 {