Skip loading qjoypad with games that cause conflicts.
This commit is contained in:
parent
a4f72962fd
commit
c70a3128a1
@ -871,7 +871,9 @@ game_launcher() {
|
|||||||
if command -v qjoypad &> /dev/null ; then
|
if command -v qjoypad &> /dev/null ; then
|
||||||
mkdir -p ~/.qjoypad3
|
mkdir -p ~/.qjoypad3
|
||||||
touch "${HOME}/.qjoypad3/${game%|*}.lyt"
|
touch "${HOME}/.qjoypad3/${game%|*}.lyt"
|
||||||
if [[ "${noqjoypad}" != "true" ]]; then
|
# A | separated list of games that should not start with qjoypad.
|
||||||
|
noQjoypadGames="a-hero's-call"
|
||||||
|
if [[ "${noqjoypad}" != "true" ]] && ! [[ "${game}" =~ ${noQjoypadGames} ]]; then
|
||||||
if pgrep qjoypad &> /dev/null ; then
|
if pgrep qjoypad &> /dev/null ; then
|
||||||
qjoypad -T "${game%|*}" 2> /dev/null
|
qjoypad -T "${game%|*}" 2> /dev/null
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user