mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Always add finger keybind so it is changeable (#3914)
This commit is contained in:
parent
2870944067
commit
a6766b611f
@ -7,17 +7,17 @@ GVAR(fingersHash) = HASH_CREATE;
|
||||
GVAR(pfeh_id) = -1;
|
||||
|
||||
["ace_settingsInitialized", {
|
||||
//If not enabled, dont't bother adding keybind or eventhandler
|
||||
//If not enabled, dont't bother adding eventhandler
|
||||
TRACE_1("ace_settingsInitialized eh", GVAR(enabled));
|
||||
if (!GVAR(enabled)) exitWith {};
|
||||
|
||||
[QGVAR(fingered), {_this call FUNC(incomingFinger)}] call CBA_fnc_addEventHandler;
|
||||
|
||||
["ACE3 Common",
|
||||
QGVAR(finger),
|
||||
[(localize LSTRING(keyComb)), (localize LSTRING(keyComb_description))],
|
||||
{
|
||||
_this call FUNC(keyPress);
|
||||
},
|
||||
{false},
|
||||
[41, [true, false, false]], true] call CBA_fnc_addKeybind; // Shift + Tilda (hold)
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
//Add Keybind:
|
||||
["ACE3 Common", QGVAR(finger), [(localize LSTRING(keyComb)), (localize LSTRING(keyComb_description))],
|
||||
{
|
||||
if (!GVAR(enabled)) exitWith {false};
|
||||
_this call FUNC(keyPress);
|
||||
},
|
||||
{false},
|
||||
[41, [true, false, false]], true] call CBA_fnc_addKeybind; // Shift + Tilda (hold)
|
||||
|
Loading…
Reference in New Issue
Block a user