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

Fixes for keyboard controls #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christoffer00
Copy link

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.

GTA2 Manager

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:

; Select default keyboard controls.
; 0 = FrontendFix
; 1 = Original
; 2 = Classic
DefaultControls = 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant