-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDekiInputModule.h
More file actions
34 lines (29 loc) · 868 Bytes
/
DekiInputModule.h
File metadata and controls
34 lines (29 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
/**
* @file DekiInputModule.h
* @brief Central header for the Deki Input Module
*
* The input module provides:
* - InputCollider: Hit area component with pointer event callbacks
* - DekiInputSystem: Dispatches input events to InputCollider components
* - InputDispatch: Gesture claim system (in deki-engine-core)
*/
// DLL export macro
#ifdef DEKI_EDITOR
#ifdef _WIN32
#if defined(DEKI_INPUT_EXPORTS) || defined(DEKI_PLUGIN_EXPORTS)
#define DEKI_INPUT_API __declspec(dllexport)
#else
#define DEKI_INPUT_API __declspec(dllimport)
#endif
#else
#define DEKI_INPUT_API
#endif
#else
#define DEKI_INPUT_API
#endif
// Include all module headers when module is enabled
#ifdef DEKI_MODULE_INPUT
#include "InputCollider.h"
#include "DekiInputSystem.h"
#endif // DEKI_MODULE_INPUT