diff --git a/src/components/devices/deviceController.js b/src/components/devices/deviceController.js index fa4d6da..38e7ee3 100644 --- a/src/components/devices/deviceController.js +++ b/src/components/devices/deviceController.js @@ -318,11 +318,10 @@ export default class DeviceController { wsManager.send({ type: 'remoteControl', - deviceId: this.connectedDeviceSn, - data: { - axes: state.axes, - buttons: state.buttons, - }, + remoteData: state, + token: this.userInfo.token, + userName: this.userInfo.username, + }); } }