Skip to content

Commit 77dd83e

Browse files
committed
[macOS] Remove old embedded window joystick init code.
1 parent 9edc290 commit 77dd83e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

platform/macos/editor/embedded_process_macos.mm

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,6 @@
150150
queue_redraw();
151151
emit_signal(SNAME("embedding_completed"));
152152

153-
// Send initial joystick state.
154-
{
155-
Input *input = Input::get_singleton();
156-
TypedArray<int> joy_pads = input->get_connected_joypads();
157-
for (const Variant &idx : joy_pads) {
158-
String name = input->get_joy_name(idx);
159-
script_debugger->send_message("embed:joy_add", { idx, name });
160-
}
161-
}
162-
163153
layer_host->grab_focus();
164154
} else {
165155
// Another unknown error.

0 commit comments

Comments
 (0)