Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard mode ovverides gamepad/controller presence in the UI and in-game #4166

Open
krystianwlr opened this issue Dec 9, 2024 · 1 comment
Labels
bug:unconfirmed Someone works on identifying the issue

Comments

@krystianwlr
Copy link

Describe the bug

Problem description

In the main UI controller gets detected, however whenever keyboard/mouse is used it prevents from using it in-game. Even when buttons on a gamepad are pressed, keyboard mode immediately takes over and makes it impossible to use a controller. It is problematic, as once gamepad is detected, it should be considered as the main input source.

Feature description

Alternatives

Additional information

  • problem occuring in most of the games, e.g God of War (Epic Store)

Add logs

(12:26:08) INFO:    [Legendary]:        Legendary location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary

(12:26:08) INFO:    [Gog]:              GOGDL location: /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl

(12:26:08) INFO:    [Connection]:       Connectivity: check-online

(12:26:08) INFO:    [Connection]:       Pinging external endpoints

(12:26:08) INFO:    [Gog]:              Checking for existing gog manifests

(12:26:08) INFO:    [Nile]:             Refreshing library...

(12:26:08) INFO:    [Nile]:             Refreshing Amazon Games...

(12:26:08) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync

(12:26:08) INFO:    [Nile]:             Game list updated, got 18 games

(12:26:08) WARNING: [Backend]:          Failed to register protocol with OS.

(12:26:08) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version

(12:26:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json --version

(12:26:08) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile --version

(12:26:08) INFO:    [Connection]:       Connectivity: online

(12:26:08) INFO:    [Gog]:              Checking if login is valid

(12:26:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(12:26:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(12:26:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(12:26:08) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded

(12:26:08) INFO:    [Backend]:          

System Information:

CPU: 16x AMD Ryzen 9 6900HX with Radeon Graphics

Memory: 32.89 GB (used: 3.69 GB)

GPUs:

  GPU 0:

    Name: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M]

    IDs: D=1681 V=1002 SD=0124 SV=1002

    Driver: amdgpu

  GPU 1:

    Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S]

    IDs: D=73ef V=1002 SD=0124 SV=1002

    Driver: amdgpu

OS: Linux Mint 22 (Wilma) (linux)

The current system is not a Steam Deck

We are running inside a Flatpak container

Software Versions:

  Heroic: 2.15.2 Emeth

  Legendary: 0.20.36 Urban Flight (Heroic)

  gogdl: 1.1.2

  comet: comet 0.1.2

  Nile: 1.1.2 Will A. Zeppeli

(12:26:08) INFO:    [Nile]:             Saved user data to config file

(12:26:08) INFO:    [Frontend]:         Refreshing undefined Library

(12:26:08) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager

(12:26:08) INFO:    [Legendary]:        Refreshing library...

(12:26:08) INFO:    [Legendary]:        Refreshing Epic Games...

(12:26:08) INFO:    [Nile]:             Refreshing library...

(12:26:08) INFO:    [Nile]:             Refreshing Amazon Games...

(12:26:08) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync

(12:26:08) INFO:    [Nile]:             Game list updated, got 18 games

(12:26:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(12:26:08) INFO:    [Backend]:          Frontend Ready

(12:26:08) INFO:    [Gog]:              Getting GOG library

(12:26:08) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(12:26:08) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(12:26:08) INFO:    [Backend]:          Checking for current version changelog

(12:26:08) INFO:    [Gog]:              GOG presence set

(12:26:09) INFO:    [Gog]:              Saved username to config file

(12:26:10) INFO:    [Legendary]:        Game list updated, got 21 games & DLCs

(12:26:10) INFO:    [Gog]:              Saved games data

(12:26:10) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager

(12:26:10) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gogdlConfig /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json auth

(12:26:10) INFO:    [Gog]:              Found 0 game(s) to update

(12:26:10) INFO:    [Winetricks]:       Downloading Winetricks

(12:26:10) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party

(12:26:12) INFO:    [Legendary]:        Found 0 games to update

(12:26:12) INFO:    [Nile]:             Looking for updates...

(12:26:12) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/krs/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile list-updates --json

(12:26:13) INFO:    [WineDownloader]:   Updating wine versions info

(12:26:13) INFO:    [WineDownloader]:   Fetching upstream information...

(12:26:13) INFO:    [Backend]:          Starting the Download Queue

(12:26:14) INFO:    [WineDownloader]:   wine versions updated

Steps to reproduce

  1. Open the app
  2. Connected the controller (bluetooth)
  3. Use the controller to navigate the UI, use keyboard/mouse
  4. Use a controller again and launch a game by using it
  5. Problem occurs and keyboard mode takes over

Expected behavior

Once controller is used, it should be prioritized over keyboard/mouse

Screenshots

No response

Heroic Version

Latest Stable

System Information

Linux Mint 22 6.2.9

Additional information

No response

@krystianwlr krystianwlr added the bug:unconfirmed Someone works on identifying the issue label Dec 9, 2024
@arielj
Copy link
Collaborator

arielj commented Dec 24, 2024

Sorry, not sure I follow the exact issue, what do you mean by keyboard mode?

Heroic itself doesn't have any control over what games detect for controllers/keyboards, Heroic just tells wine/proton to launch the game and then it's on the wine/proton side to handle input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:unconfirmed Someone works on identifying the issue
Projects
None yet
Development

No branches or pull requests

2 participants