diff --git a/src/config.rs b/src/config.rs index 7f0a730..88161e7 100644 --- a/src/config.rs +++ b/src/config.rs @@ -91,16 +91,16 @@ fn build_config_std() -> Config { name: env::var("INPUT_NAME").unwrap_or(String::from("stdin")), kafka: None, gui: Some(GUI{ - up: env::var("INPUT_GUI_BUTTON_UP").unwrap_or(String::from("W")), - down: env::var("INPUT_GUI_BUTTON_DOWN").unwrap_or(String::from("S")), - left: env::var("INPUT_GUI_BUTTON_LEFT").unwrap_or(String::from("A")), - right: env::var("INPUT_GUI_BUTTON_RIGHT").unwrap_or(String::from("D")), - a: env::var("INPUT_GUI_BUTTON_A").unwrap_or(String::from("a")), - b: env::var("INPUT_GUI_BUTTON_B").unwrap_or(String::from("b")), - x: env::var("INPUT_GUI_BUTTON_X").unwrap_or(String::from("x")), - y: env::var("INPUT_GUI_BUTTON_Y").unwrap_or(String::from("y")), - l: env::var("INPUT_GUI_BUTTON_L").unwrap_or(String::from("l")), - r: env::var("INPUT_GUI_BUTTON_R").unwrap_or(String::from("r")), + up: env::var("INPUT_GUI_BUTTON_UP").unwrap_or(String::from("w")), + left: env::var("INPUT_GUI_BUTTON_LEFT").unwrap_or(String::from("a")), + down: env::var("INPUT_GUI_BUTTON_DOWN").unwrap_or(String::from("s")), + right: env::var("INPUT_GUI_BUTTON_RIGHT").unwrap_or(String::from("d")), + a: env::var("INPUT_GUI_BUTTON_A").unwrap_or(String::from("1")), + b: env::var("INPUT_GUI_BUTTON_B").unwrap_or(String::from("2")), + x: env::var("INPUT_GUI_BUTTON_X").unwrap_or(String::from("3")), + y: env::var("INPUT_GUI_BUTTON_Y").unwrap_or(String::from("4")), + l: env::var("INPUT_GUI_BUTTON_L").unwrap_or(String::from("q")), + r: env::var("INPUT_GUI_BUTTON_R").unwrap_or(String::from("e")), }), device: None, udp: Some(UDP{