From d292a830a1a40921db726d64d000c0b5cb15a156 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 24 Mar 2023 14:09:31 -0600 Subject: [PATCH] set up players 1..5 rusty-pipe.yamls --- host.d/README.md | 16 +--------------- host.d/config.d/rusty-pipe.d/1.yaml | 24 ++++++++++++++++++++++++ host.d/config.d/rusty-pipe.d/2.yaml | 24 ++++++++++++++++++++++++ host.d/config.d/rusty-pipe.d/3.yaml | 24 ++++++++++++++++++++++++ host.d/config.d/rusty-pipe.d/4.yaml | 24 ++++++++++++++++++++++++ host.d/config.d/rusty-pipe.d/5.yaml | 24 ++++++++++++++++++++++++ 6 files changed, 121 insertions(+), 15 deletions(-) create mode 100644 host.d/config.d/rusty-pipe.d/1.yaml create mode 100644 host.d/config.d/rusty-pipe.d/2.yaml create mode 100644 host.d/config.d/rusty-pipe.d/3.yaml create mode 100644 host.d/config.d/rusty-pipe.d/4.yaml create mode 100644 host.d/config.d/rusty-pipe.d/5.yaml diff --git a/host.d/README.md b/host.d/README.md index 71f3f11..33414f9 100644 --- a/host.d/README.md +++ b/host.d/README.md @@ -17,21 +17,7 @@ Each client needs 1 executable and 1 env file with a unique set of buttons The server cannot be a client because math. Maybe a VM on the client as a server would work tho. -```bash -INPUT_NAME=gui -OUTPUT_UDP_HOST=ip -OUTPUT_UDP_PORT=port -INPUT_GUI_BUTTON_A=X -INPUT_GUI_BUTTON_B=X -INPUT_GUI_BUTTON_DOWN=X -INPUT_GUI_BUTTON_L=X -INPUT_GUI_BUTTON_LEFT=X -INPUT_GUI_BUTTON_R=X -INPUT_GUI_BUTTON_RIGHT=X -INPUT_GUI_BUTTON_UP=X -INPUT_GUI_BUTTON_X=X -INPUT_GUI_BUTTON_Y=X -``` +See `./config.d/rusty-pipe.d` # Server diff --git a/host.d/config.d/rusty-pipe.d/1.yaml b/host.d/config.d/rusty-pipe.d/1.yaml new file mode 100644 index 0000000..a237f25 --- /dev/null +++ b/host.d/config.d/rusty-pipe.d/1.yaml @@ -0,0 +1,24 @@ +streams: + input: + engine: + name: gui + gui: + press: {prefix: "", suffix: ""} + release: {prefix: "!", suffix: ""} + buttons: + up: '1' + down: '2' + left: '3' + right: '4' + l: '5' + r: '6' + a: '7' + b: '8' + x: '9' + y: '0' + output: + engine: + name: udp + udp: + host: mayhem-party.home.blapointe.com + port: 17070 diff --git a/host.d/config.d/rusty-pipe.d/2.yaml b/host.d/config.d/rusty-pipe.d/2.yaml new file mode 100644 index 0000000..f0e2bda --- /dev/null +++ b/host.d/config.d/rusty-pipe.d/2.yaml @@ -0,0 +1,24 @@ +streams: + input: + engine: + name: gui + gui: + press: {prefix: "", suffix: ""} + release: {prefix: "!", suffix: ""} + buttons: + up: 'q' + down: 'w' + left: 'e' + right: 'r' + l: 't' + r: 'y' + a: 'u' + b: 'i' + x: 'o' + y: 'p' + output: + engine: + name: udp + udp: + host: mayhem-party.home.blapointe.com + port: 17070 diff --git a/host.d/config.d/rusty-pipe.d/3.yaml b/host.d/config.d/rusty-pipe.d/3.yaml new file mode 100644 index 0000000..441533b --- /dev/null +++ b/host.d/config.d/rusty-pipe.d/3.yaml @@ -0,0 +1,24 @@ +streams: + input: + engine: + name: gui + gui: + press: {prefix: "", suffix: ""} + release: {prefix: "!", suffix: ""} + buttons: + up: 'a' + down: 's' + left: 'd' + right: 'f' + l: 'g' + r: 'h' + a: 'j' + b: 'k' + x: 'l' + y: ';' + output: + engine: + name: udp + udp: + host: mayhem-party.home.blapointe.com + port: 17070 diff --git a/host.d/config.d/rusty-pipe.d/4.yaml b/host.d/config.d/rusty-pipe.d/4.yaml new file mode 100644 index 0000000..6a59c45 --- /dev/null +++ b/host.d/config.d/rusty-pipe.d/4.yaml @@ -0,0 +1,24 @@ +streams: + input: + engine: + name: gui + gui: + press: {prefix: "", suffix: ""} + release: {prefix: "!", suffix: ""} + buttons: + up: 'z' + down: 'x' + left: 'c' + right: 'v' + l: 'b' + r: 'n' + a: 'm' + b: ',' + x: '.' + y: '/' + output: + engine: + name: udp + udp: + host: mayhem-party.home.blapointe.com + port: 17070 diff --git a/host.d/config.d/rusty-pipe.d/5.yaml b/host.d/config.d/rusty-pipe.d/5.yaml new file mode 100644 index 0000000..04e05e6 --- /dev/null +++ b/host.d/config.d/rusty-pipe.d/5.yaml @@ -0,0 +1,24 @@ +streams: + input: + engine: + name: gui + gui: + press: {prefix: "", suffix: ""} + release: {prefix: "!", suffix: ""} + buttons: + up: '!' + down: '@' + left: '#' + right: '$' + l: '%' + r: '^' + a: '&' + b: '*' + x: '(' + y: ')' + output: + engine: + name: udp + udp: + host: mayhem-party.home.blapointe.com + port: 17070