mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
Merge branch 'feat/improvements-relay-and-friends' of github.com:nestrilabs/nestri into capacitor-testings
This commit is contained in:
@@ -11,12 +11,11 @@
|
||||
"sync:android": "npm run build && npx cap sync android"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^9.4.2",
|
||||
"@capacitor/android": "^7.4.3",
|
||||
"@capacitor/cli": "^7.4.3",
|
||||
"@capacitor/core": "^7.4.3",
|
||||
"@capacitor/ios": "^7.4.3",
|
||||
"@nestri/input": "*",
|
||||
"astro": "5.14.5"
|
||||
"@astrojs/node": "9.5.0",
|
||||
"astro": "5.15.1"
|
||||
}
|
||||
}
|
||||
@@ -89,11 +89,7 @@ if (envs_map.size > 0) {
|
||||
let nestriControllers: Controller[] = [];
|
||||
|
||||
window.addEventListener("gamepadconnected", (e) => {
|
||||
// Ignore gamepads with id including "nestri"
|
||||
console.log("Gamepad connected:", e.gamepad);
|
||||
if (e.gamepad.id.toLowerCase().includes("nestri"))
|
||||
return;
|
||||
|
||||
const controller = new Controller({
|
||||
webrtc: stream,
|
||||
e: e,
|
||||
|
||||
Reference in New Issue
Block a user