From 90c0d3b038995c012932bddcf46ad74dae360a7e Mon Sep 17 00:00:00 2001
From: Christian Colglazier <christian@cacolglazier.com>
Date: Sat, 18 Apr 2020 14:13:05 -0400
Subject: [PATCH] Doom Eternal bindings

---
 g13/doom-eternal.bind | 65 +++++++++++++++++++++++++++++++++++++++++++
 i3/desktop.conf       |  4 +++
 2 files changed, 69 insertions(+)
 create mode 100644 g13/doom-eternal.bind

diff --git a/g13/doom-eternal.bind b/g13/doom-eternal.bind
new file mode 100644
index 0000000..bdd725c
--- /dev/null
+++ b/g13/doom-eternal.bind
@@ -0,0 +1,65 @@
+# =================     ===============     ===============   ========  ========
+# \\ . . . . . . .\\   //. . . . . . .\\   //. . . . . . .\\  \\. . .\\// . . //
+# ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .||
+# || . .||   ||. . || || . .||   ||. . || || . .||   ||. . || ||. . . . . . . ||
+# ||. . ||   || . .|| ||. . ||   || . .|| ||. . ||   || . .|| || . | . . . . .||
+# || . .||   ||. _-|| ||-_ .||   ||. . || || . .||   ||. _-|| ||-_.|\ . . . . ||
+# ||. . ||   ||-'  || ||  `-||   || . .|| ||. . ||   ||-'  || ||  `|\_ . .|. .||
+# || . _||   ||    || ||    ||   ||_ . || || . _||   ||    || ||   |\ `-_/| . ||
+# ||_-' ||  .|/    || ||    \|.  || `-_|| ||_-' ||  .|/    || ||   | \  / |-_.||
+# ||    ||_-'      || ||      `-_||    || ||    ||_-'      || ||   | \  / |  `||
+# ||    `'         || ||         `'    || ||    `'         || ||   | \  / |   ||
+# ||            .===' `===.         .==='.`===.         .===' /==. |  \/  |   ||
+# ||         .=='   \_|-_ `===. .==='   _|_   `===. .===' _-|/   `==  \/  |   ||
+# ||      .=='    _-'    `-_  `='    _-'   `-_    `='  _-'   `-_  /|  \/  |   ||
+# ||   .=='    _-'          `-__\._-'         `-_./__-'         `' |. /|  |   ||
+# ||.=='    _-'                                                     `' |  /==.||
+# =='    _-'                                                            \/   `==
+# \   _-'                                                                `-_   /
+#  `''                                                                      ``'
+
+	    
+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 G15 KEY_LEFTSHIFT
+
+# Weapon Select
+## Glorykill/Use
+bind LEFT KEY_E
+## Flame Belch
+bind DOWN KEY_R
+## Chainsaw
+bind G19 KEY_C
+## Super Shotgun
+bind STICK_LEFT KEY_5
+## Rocket Launcher
+bind STICK_UP KEY_4
+## Heavy Cannon
+bind STICK_RIGHT KEY_2
+## Plasma Rifle
+bind STICK_DOWN KEY_3
+## Ballista
+bind G6 KEY_6
+## BFG-9000
+bind G7 KEY_8
+
+## Chaingun
+bind G5 KEY_7
+
+# Dossier
+bind G1 KEY_TAB
+# Mission Informatmation
+bind G2 KEY_LEFTALT
+
+rgb 66 00 00
diff --git a/i3/desktop.conf b/i3/desktop.conf
index 2bae64d..97a1fa2 100644
--- a/i3/desktop.conf
+++ b/i3/desktop.conf
@@ -44,6 +44,10 @@ for_window [class="Lutris"] move to workspace $ws4
 for_window [class="Wine" title="DOOMx64vk"] move to workspace $ws4
 for_window [class="Wine" title="DOOMx64vk"] exec --no-startup-id cat ~/.config/g13/doom.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/doom.lpbm > /tmp/g13-0
 
+# DOOM Eternal
+for_window [title="DOOMEternal"] move to workspace $ws4
+for_window [title="DOOMEternal"] exec --no-startup-id cat ~/.config/g13/doom-eternal.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/doom.lpbm > /tmp/g13-0
+
 # Starting DaVinci Resolve
 for_window [class="resolve"] move to workspace $wsResolve
 for_window [class="resolve"] exec --no-startup-id cat ~/.config/g13/resolve.bind > /tmp/g13-0 && sleep .1 && cat ~/.config/g13/resolve.lpbm > /tmp/g13-0