Forums » Linux

Keyboard does not work in-game.

Jun 29, 2021 arkmetal link
====SYSTEM====
OS: Debian 10 (Buster)
Desktop: Gnome 3.30.2
Graphics: Intel I7 integrated graphics

====DESCRIPTION====
As soon as the game is launched the keyboard stops working.
This issue occurred when the game was first installed.
Discovered that the keyboard input is not being captured by the game application but is going to another open program.
The keyboard input is captured by the update window but is then passed to another random application when the game is actually launched.

====TROUBLESHOOTING====
Rebooting seems to fix the issue temporarily. The issue will recur at random when the game is closed then started again.

Closing all open programs sometimes increases the chance that the keyboard input will go to the game but sometimes the input just goes to the desktop.

Vendetta does not show up on the SUPER+TAB menu.

Attempting to run the game in a second gnome-session causes the game to crash after the title screen.
Command used: startx gnome-session

====RESOLUTION====

Best solution:
Install xdotool.
Open a command terminal.
Launch the game (use a seperate command terminal if needed).
Press SUPER+TAB to switch to an available command terminal.
Enter the following command to manually switch focus to Vendetta:
xdotool windowfocus $(xdotool search --name vendetta)

Other solutions:
Playing the game in windowed mode allows it to grab keyboard input but the window's control bar gets in the way.
Jul 05, 2021 We all float link
What keyboard?
Nov 13, 2021 LinuxDonald link
I have the same problem when i use KDE with wayland. With Xorg it works without problems.
Feb 20, 2022 haxmeister link
I have just encountered this issue though it might not be for the same reason. Keyboard and mouse disabled in game suddenly. Started when I ran 3 clients at once the other day. Now it is unplayable completely even after reinstall and removal of configs.
Jun 09, 2022 SIGTERM link
Re OP: I believe GNOME defaults to Wayland and VO does not support Wayland. This might be the issue.

Re haxmeister: Try switching to a different DE. If it still does not work, we will be sure the DE is not interfering.
Jun 09, 2022 LinuxDonald link
on KDE Plasma it dont work too.