diff --git a/internal/uidriver/js/ui_js.go b/internal/uidriver/js/ui_js.go index 8df5fcb70..9dd000048 100644 --- a/internal/uidriver/js/ui_js.go +++ b/internal/uidriver/js/ui_js.go @@ -446,11 +446,6 @@ func setWindowEventHandlers(v js.Value) { } return nil })) - - v.Call("addEventListener", "gamepadconnected", js.FuncOf(func(this js.Value, args []js.Value) interface{} { - // Do nothing. - return nil - })) } func setCanvasEventHandlers(v js.Value) {