mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 13:10:29 +01:00
feat(editor): scripted mouse and keys of a self-test are delivered between frames like real input events, so a press seen by ImGui starts a drag as it does by hand; while a script drives the input the real mouse and keyboard are ignored
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
void on_mouse_button( int const Button, int const Action, int const Mods ) override { /* not handled by the launcher */ }
|
||||
void on_scroll( double const Xoffset, double const Yoffset ) override { /* not handled by the launcher */ }
|
||||
void on_window_resize( int w, int h ) override;
|
||||
void on_event_poll() override { /* not handled by the launcher */ }
|
||||
void on_event_poll() override { m_script.deliver(); }
|
||||
bool is_command_processor() const override { return false; }
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user