From 75e07a6ff7ae9feed5ae6ca0cc1efdd8d0c9c733 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sat, 31 Dec 2022 11:07:30 -0500 Subject: [PATCH] Add Factorio binding --- g13/factorio.bind | 47 ++++++++++++++++++++++++++++++++++++++++++++++ g13/factorio.lpbm | Bin 0 -> 960 bytes i3/desktop.conf | 5 +++++ 3 files changed, 52 insertions(+) create mode 100644 g13/factorio.bind create mode 100644 g13/factorio.lpbm diff --git a/g13/factorio.bind b/g13/factorio.bind new file mode 100644 index 0000000..a27eb8b --- /dev/null +++ b/g13/factorio.bind @@ -0,0 +1,47 @@ +stickzone del STICK_PAGEUP +stickzone del STICK_PAGEDOWN +stickzone bounds STICK_LEFT 0.0 0.3 0.2 0.7 +stickzone bounds STICK_RIGHT 0.8 0.3 1.0 0.7 +stickzone bounds STICK_UP 0.3 0.0 0.7 0.2 +stickzone bounds STICK_DOWN 0.3 0.8 0.7 1.0 + +# Character screen / Confirm Window +bind G5 KEY_E + +# Clear cursor / Pipette tool +bind G3 KEY_Q + +# Rotate +bind G6 KEY_R + +# Flip blueprints horizontal / Pickup ground item +bind G13 KEY_F + +# Flip blueprints vertical +bind G14 KEY_G + +# Drop Item +bind G16 KEY_Z + +# Shoot selected +bind G18 KEY_C + +# +bind STICK_UP KEY_1 +bind STICK_RIGHT KEY_2 +bind STICK_DOWN KEY_3 +bind STICK_LEFT KEY_4 +bind DOWN KEY_ + +# Other +bind G22 KEY_SPACE +bind G15 KEY_LEFTSHIFT +bind G20 KEY_LEFTCTRL + +# Character Movement +bind G4 KEY_W +bind G10 KEY_A +bind G11 KEY_S +bind G12 KEY_D + +rgb 230 145 0 diff --git a/g13/factorio.lpbm b/g13/factorio.lpbm new file mode 100644 index 0000000000000000000000000000000000000000..5ef6ab2ff8673122e6e2825435e29a3a2695fc32 GIT binary patch literal 960 zcmZQz80?_I;lYO=KmPrx+XICw0vH1R)WG2%Ao%g&!2*W`AASItP>B-;2TWjW7`^9; z!UYW&=TA)ysz$Ix#gB>w4h;++Dj>WS(7-YH@#Dt_AoyYT&+bFPhYt^cYz2s1$g02p zLE!KIJN7^rzkr#6ks8n5e$!>`U>Rk zubWddCxd}OSSNVxb?xh`!&gJK1D(xP%Jp3vD5wpzl8Je{_jd2C(JIm|*6zFAcc;%z zzpZ|IdBifX_e_Cu+q0) /tmp/g13-0 && sleep .1 && cat ~/.config/g13/arkham-knight.lpbm > /tmp/g13-0 +# Factorio +for_window [class="factorio" title="Factorio*"] move to workspace $wsGames +for_window [class="factorio" title="Factorio*"] exec --no-startup-id cat ~/.config/g13/factorio.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/factorio.lpbm > /tmp/g13-0 + # The side buttons move the desktop around bindsym --whole-window button9 exec --no-startup-id python3 ~/.config/scripts/i3-mouse.py back bindsym --whole-window button8 exec --no-startup-id python3 ~/.config/scripts/i3-mouse.py forward