mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
355 B
Plaintext
21 lines
355 B
Plaintext
/*
|
|
* Author: commy2
|
|
* Initializes the modifier key handler.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Public : No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
disableSerialization;
|
|
|
|
params ["_display"];
|
|
|
|
_display displayAddEventHandler ["KeyDown", FUNC(handleModifierKey)];
|
|
_display displayAddEventHandler ["KeyUp", FUNC(handleModifierKeyUp)];
|