ACE3/addons/spike/initKeybinds.sqf
2021-12-11 20:55:03 -07:00

80 lines
2.2 KiB
Plaintext

["ACE3 Weapons", QGVAR(Designate), localize LSTRING(Designate),
{
[SPIKE_KEY_DESIGNATE, true] call FUNC(keyDown);
},
{
[SPIKE_KEY_DESIGNATE, false] call FUNC(keyDown);
},
[15, [false, false, false]], false] call CBA_fnc_addKeybind; // Tab
["ACE3 Weapons", QGVAR(LeaveCamera), localize LSTRING(LeaveCamera),
{
[SPIKE_KEY_LEAVE, true] call FUNC(keyDown);
},
{
[SPIKE_KEY_LEAVE, false] call FUNC(keyDown);
},
[15, [false, true, false]], false] call CBA_fnc_addKeybind; // Ctrl+Tab
["ACE3 Weapons", QGVAR(PanUp), localize LSTRING(PanUp),
{
[CAMERA_KEY_UP, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_UP, false] call FUNC(keyDown);
},
[200, [false, false, false]], false] call CBA_fnc_addKeybind; //Up Arrow
["ACE3 Weapons", QGVAR(PanLeft), localize LSTRING(PanLeft),
{
[CAMERA_KEY_LEFT, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_LEFT, false] call FUNC(keyDown);
},
[203, [false, false, false]], false] call CBA_fnc_addKeybind; //Left
["ACE3 Weapons", QGVAR(PanRight), localize LSTRING(PanRight),
{
[CAMERA_KEY_RIGHT, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_RIGHT, false] call FUNC(keyDown);
},
[205, [false, false, false]], false] call CBA_fnc_addKeybind; //Right
["ACE3 Weapons", QGVAR(PanDown), localize LSTRING(PanDown),
{
[CAMERA_KEY_DOWN, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_DOWN, false] call FUNC(keyDown);
},
[208, [false, false, false]], false] call CBA_fnc_addKeybind; //Down
["ACE3 Weapons", QGVAR(CycleVisionMode), localize LSTRING(Camera_ViewModeCycle),
{
[CAMERA_KEY_CHANGE_VISION_MODE, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_CHANGE_VISION_MODE, false] call FUNC(keyDown);
},
[49, [false, false, false]], false] call CBA_fnc_addKeybind; //N
["ACE3 Weapons", QGVAR(ZoomIn), localize LSTRING(ZoomIn),
{
[CAMERA_KEY_ZOOM_IN, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_ZOOM_IN, false] call FUNC(keyDown);
},
[78, [false, false, false]], false] call CBA_fnc_addKeybind; //Keypad+
["ACE3 Weapons", QGVAR(ZoomOut), localize LSTRING(ZoomOut),
{
[CAMERA_KEY_ZOOM_OUT, true] call FUNC(keyDown);
},
{
[CAMERA_KEY_ZOOM_OUT, false] call FUNC(keyDown);
},
[74, [false, false, false]], false] call CBA_fnc_addKeybind; //Keypad-