AlisterT / openjazz

OpenJazz
GNU General Public License v2.0
275 stars 49 forks source link

Key left & up on keyboards lock everwhere during OpenJazz running #70

Closed AlexandreCastaing closed 1 month ago

AlexandreCastaing commented 3 years ago

Key left & up on keyboards are lock everwhere (menu, game...) I Think all keys of the keyboard are "on" and we can't change the state for all keys. But we can interact with the game by pressing other keys. I notice the problem on Linux/Ubuntu (xubuntu). I don't know yet what the problem comes from.

carstene1ns commented 3 years ago

Try deleting the openjazz.cfg file and then reconfigure the controls.

AlexandreCastaing commented 3 years ago

I have deleted the openjazz.cfg, I have the same problem. Also I have an error "Erreur de segmentation (core dumped)". (I changed the control too). I did the "make" command. My command to run the game is "./OpenJazz ./cd"

AlexandreCastaing commented 3 years ago

Hi, I have add a condition on the code. The var "enable_JoyAxisMotion" on controls.h defined on 0 disable the mouse axis. 1 = enable the mouse axis. I defined enable_JoyAxisMotion with 0 by default.

carstene1ns commented 3 years ago

So your mouse sends SDL joystick axis events? That is not really an OJ issue then.

carstene1ns commented 1 month ago

Closing as this is not a general issue.