From a98ae738ddf4be525d42f846c4f11a78c8d5454c Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Tue, 29 Mar 2022 20:25:16 -0400 Subject: [PATCH] Arkham Knight bindings --- g13/arkham-knight.bind | 36 ++++++++++++++++++++++++++++++++++++ g13/arkham-knight.lpbm | Bin 0 -> 960 bytes i3/desktop.conf | 4 ++++ 3 files changed, 40 insertions(+) create mode 100644 g13/arkham-knight.bind create mode 100644 g13/arkham-knight.lpbm diff --git a/g13/arkham-knight.bind b/g13/arkham-knight.bind new file mode 100644 index 0000000..11e0e9d --- /dev/null +++ b/g13/arkham-knight.bind @@ -0,0 +1,36 @@ +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 Movement +bind G4 KEY_W +bind G10 KEY_A +bind G11 KEY_S +bind G12 KEY_D +bind G22 KEY_SPACE +bind G20 KEY_RIGHTCTRL +bind G15 KEY_RIGHTCTRL + +# Hook +bind STICK_UP KEY_F +bind STICK_DOWN KEY_F + +# Enter Batmobile +bind DOWN KEY_E + +# Detective Mode +bind G5 LEFT KEY_X + +# Choose gadget +bind G14 KEY_G + +# Augmented Reality Challenges +bind G19 KEY_ C + +# Mission Choice +bind G1 KEY_V + +rgb 255 5 5 diff --git a/g13/arkham-knight.lpbm b/g13/arkham-knight.lpbm new file mode 100644 index 0000000000000000000000000000000000000000..98c66a1cf52f320666fb881039b2627477e3d426 GIT binary patch literal 960 zcmc(au}TCn5QZlkxoyPt4Ps}jorM_R##XQrPLns-7dQ|rUqMjVSZ#TQjfHS|gNtmF z!`U4tt0K#Z$Z_Zo2{V(K`M&`CTGl%6Lx>S^GRm^$Is0C6%P%n6M8p_F@ZQ;vzHi!A zD>)w`V9UC=tEt!c;FO)%>dVX#F+q$S;U_?Pc5cUR2d)ym=JRP~(tL*y7<4t9!Ib08 zh6R^N?YS(8)Xi;G-Cvh%m7rVE-<*g=Q|shUs%{n{1?KAEc{Y1`oN7*hPd7e0DYORO zNnKnA;(!-~$YidVS?j}nHqzQ8+g>TamvY`92L?>ByLZ%gFw5446k@pQ4>KWTUZ~?l Qsa287|0DVN(`yHN1Lusiz5oCK literal 0 HcmV?d00001 diff --git a/i3/desktop.conf b/i3/desktop.conf index ed2df2b..fc842d1 100644 --- a/i3/desktop.conf +++ b/i3/desktop.conf @@ -99,6 +99,10 @@ for_window [class="TPH.x86_64" title="Two Point Hospital"] exec --no-startup-id for_window [class="Minecraft*" title="Minecraft*"] move to workspace $wsGames for_window [class="Minecraft*" title="Minecraft*"] exec --no-startup-id cat ~/.config/g13/minecraft.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/minecraft.lpbm > /tmp/g13-0 +# Arkham Knight +for_window [class="steam_app_208650" title="*"] move to workspace $wsGames +for_window [class="steam_app_208650" title="*"] exec --no-startup-id cat ~/.config/g13/arkham-knight.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/arkham-knight.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