Open crslegend opened 3 years ago
i would love for a way to change the keybinds as well because currently its a problem for me
In 1.7 the default controls changed from CellphoneUp/Down/Left/Right
to FrontendUp/Down/Left/Right
which are the controls used by the original game menus. I didn't notice that these frontend controls couldn't be rebinded in the game settings, but the cellphones ones could, I guess that's the issue? Because by default both are binded to the arrow keys.
At the moment, the only way to change the defaults is to recompile with different GameControls here: https://github.com/alexguirre/RAGENativeUI/blob/48e10749d6fc9357ec531017b6a1ac4ee8c8aea2/Source/UIMenu.cs#L333-L347
hi @alexguirre! thanks for your reply. so meaning there is no way currently for me to rebind the keys solely from GTA V menu or through any config files? cus im not really sure how to go about recompiling the gamecontrols with the code quoted
Yeah, recompiling is the only way for now. Will probably add an .ini file in the next version to allow to change the default game controls.
To recompile you need Visual Studio 2019 with .NET Framework 4.7.2, download this repository, open Source/RAGENativeUI.sln
in Visual Studio, modify the SetKey
calls quoted with the cellphone game controls and build it. It should create a new RAGENativeUI.dll file.
These are the game controls used before 1.7: https://github.com/alexguirre/RAGENativeUI/blob/c5681d6ee946e96e0a293f6bb55abc7cfb1104c8/Source/UIMenu.cs#L261-L272
Hi @alexguirre, I tried to modify and compile, but I am getting compilation errors at these few lines
The errors seems to be coming from lines 271 and 272. Am I doing it correctly?
Forgot to say it needs C# 9, try updating Visual Studio to the latest version
Its working now! thanks alot!
For version 1.6.3, i was able to navigate through the menu using the mobile phone navigation keys. However, i am only able to navigate using arrow keys from version 1.7 onwards. Is this expected and is there any way for me to change the key binding?