mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-05-29 01:21:20 +02:00
feat(hid): remove HID-RPC related code and improve keyboard handling logic
Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
@@ -462,11 +462,6 @@ export default function PCHome() {
|
||||
setDiskChannel(diskDataChannel);
|
||||
};
|
||||
|
||||
const hidDataChannel = pc.createDataChannel("hid");
|
||||
hidDataChannel.onopen = () => {
|
||||
useRTCStore.getState().setHidChannel(hidDataChannel);
|
||||
};
|
||||
|
||||
setPeerConnection(pc);
|
||||
}, [
|
||||
forceHttp,
|
||||
|
||||
Reference in New Issue
Block a user