/******************************************************************** Minecraft: Pocket Edition - Decompilation Project Copyright (C) 2023 iProgramInCpp The following code is licensed under the BSD 1 clause license. SPDX-License-Identifier: BSD-1-Clause ********************************************************************/ #pragma once #ifdef USE_SDL #include "../thirdparty/SDL2/SDL2.h" // because SDL sucks and makes no sense and sets bit 1<<30 for some keycodes for some godamn reason enum eSDLVirtualKeys { #define CODE(x) SDLVK_ ## x, #include "SDLKeyCodes.h" #undef CODE }; #endif #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include #endif #ifdef __ANDROID__ #include #define AKEYCODE_ARROW_LEFT AKEYCODE_DPAD_LEFT #define AKEYCODE_ARROW_RIGHT AKEYCODE_DPAD_RIGHT #endif