Luanti 5.16.0-dev
Loading...
Searching...
No Matches
touchcontrols.h File Reference
#include "irrlichttypes.h"
#include "IEventReceiver.h"
#include <memory>
#include <optional>
#include <unordered_map>
#include <vector>
#include "itemdef.h"
#include "touchscreenlayout.h"
#include "util/basic_macros.h"
#include "client/keycode.h"
Include dependency graph for touchcontrols.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  button_info
class  TouchControls

Namespaces

namespace  gui

Macros

#define BUTTON_REPEAT_DELAY   0.5f
#define BUTTON_REPEAT_INTERVAL   0.333f
#define SIMULATED_CLICK_DURATION_MS   50

Enumerations

enum class  TapState { None , ShortTap , LongTap }

Variables

TouchControlsg_touchcontrols

Macro Definition Documentation

◆ BUTTON_REPEAT_DELAY

#define BUTTON_REPEAT_DELAY   0.5f

◆ BUTTON_REPEAT_INTERVAL

#define BUTTON_REPEAT_INTERVAL   0.333f

◆ SIMULATED_CLICK_DURATION_MS

#define SIMULATED_CLICK_DURATION_MS   50

Enumeration Type Documentation

◆ TapState

enum class TapState
strong
Enumerator
None 
ShortTap 
LongTap 

Variable Documentation

◆ g_touchcontrols