mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Add screen-related attributes to mouse input events
This commit is contained in:
@@ -675,6 +675,7 @@ void WebXRInterfaceJS::_update_input_source(int p_input_source_id) {
|
||||
event->set_index(touch_index);
|
||||
event->set_position(position);
|
||||
event->set_relative(delta);
|
||||
event->set_relative_screen_position(delta);
|
||||
Input::get_singleton()->parse_input_event(event);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user