MCPcopy Index your code
hub / github.com/callstack/agent-device / pressLinux

Function pressLinux

src/platforms/linux/input-actions.ts:91–93  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

89}
90
91export async function pressLinux(x: number, y: number): Promise<void> {
92 await clickLinuxButton(x, y, 'primary', '1', '0xC0');
93}
94
95export async function rightClickLinux(x: number, y: number): Promise<void> {
96 await clickLinuxButton(x, y, 'secondary', '3', '0xC1');

Callers 5

createLinuxInteractorFunction · 0.90
focusLinuxFunction · 0.85
fillLinuxFunction · 0.85

Calls 1

clickLinuxButtonFunction · 0.85

Tested by

no test coverage detected