case sensitive maybe works
parent
d9bf3e5c90
commit
f74dde0f29
|
|
@ -91,10 +91,10 @@ fn build_config_std() -> Config {
|
||||||
name: env::var("INPUT_NAME").unwrap_or(String::from("stdin")),
|
name: env::var("INPUT_NAME").unwrap_or(String::from("stdin")),
|
||||||
kafka: None,
|
kafka: None,
|
||||||
gui: Some(GUI{
|
gui: Some(GUI{
|
||||||
up: env::var("INPUT_GUI_BUTTON_UP").unwrap_or(String::from("up")),
|
up: env::var("INPUT_GUI_BUTTON_UP").unwrap_or(String::from("W")),
|
||||||
down: env::var("INPUT_GUI_BUTTON_DOWN").unwrap_or(String::from("down")),
|
down: env::var("INPUT_GUI_BUTTON_DOWN").unwrap_or(String::from("S")),
|
||||||
left: env::var("INPUT_GUI_BUTTON_LEFT").unwrap_or(String::from("left")),
|
left: env::var("INPUT_GUI_BUTTON_LEFT").unwrap_or(String::from("A")),
|
||||||
right: env::var("INPUT_GUI_BUTTON_RIGHT").unwrap_or(String::from("right")),
|
right: env::var("INPUT_GUI_BUTTON_RIGHT").unwrap_or(String::from("D")),
|
||||||
a: env::var("INPUT_GUI_BUTTON_A").unwrap_or(String::from("a")),
|
a: env::var("INPUT_GUI_BUTTON_A").unwrap_or(String::from("a")),
|
||||||
b: env::var("INPUT_GUI_BUTTON_B").unwrap_or(String::from("b")),
|
b: env::var("INPUT_GUI_BUTTON_B").unwrap_or(String::from("b")),
|
||||||
x: env::var("INPUT_GUI_BUTTON_X").unwrap_or(String::from("x")),
|
x: env::var("INPUT_GUI_BUTTON_X").unwrap_or(String::from("x")),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue