aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-11-13 00:16:17 +0800
committerGuangxiong Lin <[email protected]>2022-11-13 00:16:17 +0800
commit958f3c669b45dcb81f3e89b4f647f04da7f9d3d4 (patch)
treefbdb982cd98a0394f7f8be8a9a0b5d5da3b48d81
parent1d7640555a1669d74d7fa8112b879efae69b6f97 (diff)
downloaddotfiles-958f3c669b45dcb81f3e89b4f647f04da7f9d3d4.tar.gz
dotfiles-958f3c669b45dcb81f3e89b4f647f04da7f9d3d4.tar.bz2
dotfiles-958f3c669b45dcb81f3e89b4f647f04da7f9d3d4.zip
Remap xbox keymap
-rw-r--r--.env3
1 files changed, 3 insertions, 0 deletions
diff --git a/.env b/.env
index c54c572..0b18f25 100644
--- a/.env
+++ b/.env
@@ -19,3 +19,6 @@ fi
if command -v delta > /dev/null; then
export GIT_PAGER='delta --diff-highlight'
fi
+
+# XBOX Controller Remap
+export SDL_GAMECONTROLLERCONFIG='050000005e040000130b000013050000,Xbox Series X Controller,a:b1,b:b0,x:b4,y:b3,back:b10,guide:b12,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4,platform:Linux,'