keyboard & mouse forwarding

This commit is contained in:
galister
2025-11-11 21:12:01 +01:00
committed by Patrick Nicolas
parent efde4bf247
commit 2063cae3ae
22 changed files with 924 additions and 2 deletions
+26
View File
@@ -18,6 +18,7 @@
*/
#include "scene.h"
#include "application.h"
#include "render/scene_components.h"
#include "utils/contains.h"
@@ -611,3 +612,28 @@ void scene::remove(entt::entity entity)
void scene::on_unfocused() {}
void scene::on_focused() {}
void scene::on_xr_event(const xr::event &) {}
bool scene::on_input_key_down(uint8_t key_code)
{
return false;
}
bool scene::on_input_key_up(uint8_t key_code)
{
return false;
}
bool scene::on_input_mouse_move(float x, float y)
{
return false;
}
bool scene::on_input_button_down(uint8_t button)
{
return false;
}
bool scene::on_input_button_up(uint8_t button)
{
return false;
}
bool scene::on_input_scroll(float h, float v)
{
return false;
}