Jump to content
  • 0

[Linux] Some keys of my keyboard can't be bind or used for playing


auze

Question

Hello everyone !

 

I'm posting this after tons of debug/testing with no luck.

I actually run the game under GNU/Linux Debian (Testing/Sid), and I can't bind some essential key in French or US layout :

 

Example :
 

EN   FR

1      &

2      é

3      "

4      '     → working

5      (

6      -     → working

7      è

8      _     → working

9      ç

0      à

-      )

=      =     → working      

 

If I go to the settings → keybinding and i hit "1" nothing occurs but if hit "alt gr" + "1", key 1 is binded.

I tried running the game in debug mode and I can use all keys of my keyboards in the LUA console (I can write in the text field)

image.png.8cb15879beb179d5d0bc8451835b2dfd.png.

I'm using a wireless keyboard, so I tested with another wired keyboard (french, again) with no luck too.

I have found the file in lua/keys.ini but I don't know how to edit it.

 

To illustrate, if I want to change my weapon, I need to hit "ALT GR" + "2" instead of just pressing 2.

 

I have some lines like this in the log, but I can't say if it's relevant :

Quote

LOG  : General     , 1621529291132> Failed to open device (/dev/input/event27): Failed to open device /dev/input/event27 (13)

 

Some more information :

Distro:Debian GNU/Linux bullseye/sid
Kernel:5.10.0-6-amd64
RAM:16 GB
GPU Driver:NVIDIA 460.73.01
GPU:NVIDIA GeForce GTX 1080
CPU:Intel Core i5-4670K @ 3.40GHz
 
Game version tested :
 - iwillbackupmysave Build 41 beta
- Build 41
- Build 39 vehicles
 
 
Keyboard tested :
- Logitech G915 TKL (French & Wireless)
- Dell Standard Keyboard
 
Sorry for the long post and I hope anyone can help me !
 
Auze
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Hello again !


There must be some event when I press these keys and some errors somewhere.

I think, the steam launch the "projectomboid.sh" script.
Is there any argument in this script like --verbose .


PZ works fine in most Linux's distribution, debian included, so there is a problem with my configuration/system but with no logs I can't where exactly.

Let me know if there is some more debug level

Thanks :)

 

Auze

Link to comment
Share on other sites

I fix it.

Solution:
- You need to remove all keyboard layouts except English (British) (maybe it will work with American English too, I have not tested it).
  And then the buttons all work. And if, after deleting the layout, add the Russian or any other layout again?
  The buttons work in the game.

Linux Mint 20.2 Uma (Cinnamon) 64 bit

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...