MCPcopy
hub / github.com/liriliri/aya / inputKey

Function inputKey

src/renderer/main/components/overview/RemoteControllerModal.tsx:12–19  ·  view source on GitHub ↗
(keyCode: AndroidKeyCode)

Source from the content-addressed store, hash-verified

10
11export default observer(function RemoteControllerModal(props: IModalProps) {
12 function inputKey(keyCode: AndroidKeyCode) {
13 return () => {
14 if (!store.device) {
15 return
16 }
17 main.inputKey(store.device.id, keyCode)
18 }
19 }
20
21 return createPortal(
22 <LunaModal

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected