Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/autopilot/src/autopilot.ts>default#toggleKey

🚀 Cross-platform desktop automation module for Deno.
Go to Latest
method default.prototype.toggleKey
import { default } from "https://deno.land/x/autopilot@0.3.2/src/autopilot.ts";

Parameters

The key to be toggled

down: boolean

Whether to press the key or unpress it