add xwiimote config

master
an 2019-06-07 07:33:03 -04:00
parent ea5fe3109d
commit 23c96b006e
2 changed files with 39 additions and 19 deletions

19
61-xwiimote-custom.conf Normal file
View File

@ -0,0 +1,19 @@
Section "InputClass"
Identifier "Nintendo Wii Remote"
MatchProduct "Nintendo Wii Remote"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "off"
Driver "xwiimote"
Option "MotionSource" "ir"
Option "MPNormalization" "On"
Option "MPCalibrationFactor" "5000"
Option "MPZScale" "-1"
Option "MapA" "left-button"
Option "MapIRA" "left-button"
Option "MapB" "right-button"
Option "MapIRB" "right-button"
Option "MapOne" "KEY_SPACE"
Option "MapIROne" "KEY_SPACE"
Option "MapTwo" "KEY_S"
Option "MapIRTwo" "KEY_S"
EndSection

View File

@ -4,25 +4,26 @@ while read t f
do
cp $(find $t) $f
done <<END
$HOME/.XCompose XCompose
$HOME/.Xresources Xresources
$HOME/.cargo/config cargo
$HOME/.config/kitty/kitty.conf kitty.conf
$HOME/.config/mpd/mpd.conf mpd.conf
$HOME/.config/pacman/makepkg.conf makepkg.conf
$HOME/.ncmpcpp/bindings ncmpcpp_bind
$HOME/.ncmpcpp/config ncmpcpp_conf
$HOME/.sharenix.json sharenix.json
$HOME/.vimrc vimrc
$HOME/.xprofile xprofile
$HOME/.zshrc zshrc
$HOME/src/scripts/* .
/etc/icecast.xml icecast.xml
/etc/motsognir.conf motsognir.conf
/etc/nginx/nginx.conf nginx.conf
/etc/systemd/network/* .
/mnt/d/w2/Output/_dlscr/bookmark_get.ps1 bookmark_get.ps1
/usr/share/X11/xkb/symbols/progm progm.xkb
$HOME/.XCompose XCompose
$HOME/.Xresources Xresources
$HOME/.cargo/config cargo
$HOME/.config/kitty/kitty.conf kitty.conf
$HOME/.config/mpd/mpd.conf mpd.conf
$HOME/.config/pacman/makepkg.conf makepkg.conf
$HOME/.ncmpcpp/bindings ncmpcpp_bind
$HOME/.ncmpcpp/config ncmpcpp_conf
$HOME/.sharenix.json sharenix.json
$HOME/.vimrc vimrc
$HOME/.xprofile xprofile
$HOME/.zshrc zshrc
$HOME/src/scripts/* .
/etc/icecast.xml icecast.xml
/etc/motsognir.conf motsognir.conf
/etc/nginx/nginx.conf nginx.conf
/etc/systemd/network/* .
/etc/X11/xorg.conf.d/61-xwiimote-custom.conf 61-xwiimote-custom.conf
/mnt/d/w2/Output/_dlscr/bookmark_get.ps1 bookmark_get.ps1
/usr/share/X11/xkb/symbols/progm progm.xkb
END
sed -i 's/password>.*<\//password>password removed<\//g' icecast.xml