Remove X11 from olcPGEX_Gamepad.h for headless mode.
Some checks failed
Emscripten Build / Build_and_Deploy_Web_Build (push) Failing after 1m55s
Some checks failed
Emscripten Build / Build_and_Deploy_Web_Build (push) Failing after 1m55s
This commit is contained in:
parent
e56b3bd29c
commit
e04103b935
@ -280,7 +280,9 @@ namespace olc {
|
||||
|
||||
static void enumerateGamepads();
|
||||
static GamePad *openGamepad(const std::string &path);
|
||||
#ifndef OLC_PGE_HEADLESS
|
||||
static X11::Display *display;
|
||||
#endif
|
||||
static std::optional<int> inotifyFd;
|
||||
|
||||
constexpr static const int32_t buttonCodes[GP_BUTTON_COUNT]{BTN_X,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user