feat: modules moved and engine moved to submodule

This commit is contained in:
Jan van der Weide 2025-04-12 18:40:44 +02:00
parent dfb5e645cd
commit c33d2130cc
5136 changed files with 225275 additions and 64485 deletions

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef ANDROID_INPUT_HANDLER_H
#define ANDROID_INPUT_HANDLER_H
#pragma once
#include "core/input/input.h"
@ -63,7 +62,7 @@ public:
int index = 0; // Can be either JoyAxis or JoyButton.
bool pressed = false;
float value = 0;
BitField<HatMask> hat;
BitField<HatMask> hat = HatMask::CENTER;
};
private:
@ -72,7 +71,7 @@ private:
bool control_mem = false;
bool meta_mem = false;
BitField<MouseButtonMask> buttons_state;
BitField<MouseButtonMask> buttons_state = MouseButtonMask::NONE;
Vector<TouchPos> touch;
MouseEventInfo mouse_event_info;
@ -105,5 +104,3 @@ public:
void process_joy_event(JoypadEvent p_event);
void process_key_event(int p_physical_keycode, int p_unicode, int p_key_label, bool p_pressed, bool p_echo);
};
#endif // ANDROID_INPUT_HANDLER_H