Files
mmyduckx 097c3cead0 keyboard input support for wechat program (#14836)
* add keyboard input adapter for wechat program

* refine

* refine
2023-04-20 18:53:56 +08:00

35 lines
806 B
JavaScript
Executable File

// app.js
App({
GameGlobal: {
screencanvas: undefined,
canvas: undefined,
System: undefined,
Image: undefined,
cc: undefined,
CocosEngine: undefined,
ccwindow: undefined,
fsUtils: undefined,
document: undefined,
requestAnimationFrame: undefined,
cancelAnimationFrame: undefined,
Image: undefined,
ImageBitmap: undefined,
XMLHttpRequest: undefined,
WebSocket: undefined,
DOMParser: undefined,
WebAssembly: undefined,
WXWebAssembly: undefined,
_touchStart: undefined,
_touchMove: undefined,
_touchEnd: undefined,
_touchCancel: undefined,
showInput: false,
indexThis: undefined,
_onKeyboardInput: undefined,
_onKeyboardConfirm: undefined,
_onKeyboardComplete: undefined,
},
onLaunch() {
},
})