Added two patches with fixes for keyboard controls.
The first one fixes an issue were it was not possible to select certain keys, e.g. the arrows keys, when configuring keyboard controls in-game. I have tested it quite a bit but I'm not certain I got it completely right. I used the dinput.h file from the glfw project as reference https://github.com/glfw/glfw/blob/master/deps/mingw/dinput.h. I think I excluded all of the keys mentioned in the NOTTHISKEY macro but maybe I missed some.
The second adds the default controls which are present in the GTA2 Manager as options which can be selected in the settings file FrontendFixII.ini.
The settings file is not present in the repository but something similar to this could maybe be added to the settings file in the release package:
Added two patches with fixes for keyboard controls.
The first one fixes an issue were it was not possible to select certain keys, e.g. the arrows keys, when configuring keyboard controls in-game. I have tested it quite a bit but I'm not certain I got it completely right. I used the
dinput.h
file from the glfw project as reference https://github.com/glfw/glfw/blob/master/deps/mingw/dinput.h. I think I excluded all of the keys mentioned in theNOTTHISKEY
macro but maybe I missed some.The second adds the default controls which are present in the GTA2 Manager as options which can be selected in the settings file
FrontendFixII.ini
.The settings file is not present in the repository but something similar to this could maybe be added to the settings file in the release package: