ACE3/addons/spectator/functions/fnc_ui_handleKeyUp.sqf
Dedmen Miller d034324e88 More trivial code cleanup (#6859)
* Added a3 include pboprefix

* Add defineDIKCodes header

* defineDIKCodes include case correct

* Use ui_f dikcodes

* Fix fnc_checkfiles macro and dll condition

* Incorrect macro usage in fnc_getVehiclePos

* Incorrect macro usage in fnc_getVehiclePosComplex

* Add defineResincl ui_f include

* Remove include guard from defineResincl

* Incorrect macro usage in fnc_handleMouseButton

* Incorrect macro usage in fnc_setMarkerJIP

* Semicolon after include

* Add defineResinclDesign ui_f include

* Incorrect macro usage fnc_rearmSuccessLocal

* Incorrect macro usage fnc_rearmSuccessLocal

* Stray backslash in fnc_camshake

* Incorrect macro usage in fnc_startNozzleInHandsPFH

* Incorrect amcro usage in fnc_tag

* Incorrect macro usage in fnc_moduleGlobalSetSkill

* Reenable linux checkFiles

* Non-captialized requiredAddons

* Non-captialized requiredAddons
2019-03-21 08:52:32 -05:00

31 lines
564 B
Plaintext

#include "script_component.hpp"
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
/*
* Author: Nelson Duarte, SilentSpike
* Function used to handle key up event
*
* Arguments:
* 0: Spectator display <DISPLAY>
* 1: Key DIK code <NUMBER>
* 2: State of shift <BOOL>
* 3: State of ctrl <BOOL>
* 4: State of alt <BOOL>
*
* Return Value:
* None
*
* Example:
* _this call ace_spectator_fnc_ui_handleKeyUp
*
* Public: No
*/
params ["","_key","_shift","_ctrl","_alt"];
if (_key == DIK_LALT) exitWith {
[false] call FUNC(cam_toggleSlow);
true
};
false