You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00: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