You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using CBA_fnc_addKeybind you can map custom user actions 1-5 on to a control, but if you try 6-20 it will fail due to it being incorrectly verified as out of bounds for DIK codes (not taking into account the extra ones added for the user actions for joystick compatibility.)
Additional context:
This was found while migrating a mod (AH-64D apache) from old custom controls to new CBA keybinds due to some people having issues with conflicts. This was intended to provide seamless backwards compatibility.
The text was updated successfully, but these errors were encountered:
Mods
1.98 146373
3.1.5
Description:
Using
CBA_fnc_addKeybind
you can map custom user actions 1-5 on to a control, but if you try 6-20 it will fail due to it being incorrectly verified as out of bounds for DIK codes (not taking into account the extra ones added for the user actions for joystick compatibility.)The issue is with this line
It may also be worth documenting those custom controls somewhere too in existing documentation.
Steps to reproduce:
Expected behaviour:
Keybind
"This one is mapped"
and"This one is not mapped"
should be mapped to custom user actions 5 and 6 respectively.Where did the issue occur?
Log Files:
https://gist.github.com/mattysmith22/a49f9060c2334f7214c8d9575bc16dbf
Specific focus on the following line:
Additional context:
This was found while migrating a mod (AH-64D apache) from old custom controls to new CBA keybinds due to some people having issues with conflicts. This was intended to provide seamless backwards compatibility.
The text was updated successfully, but these errors were encountered: