numbers for abxy

master
Bel LaPointe 2023-03-23 16:08:44 -06:00
parent f74dde0f29
commit e9ef0b249f
1 changed files with 10 additions and 10 deletions

View File

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