MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / handleKeyboardEvent

Function handleKeyboardEvent

lib/pops/src/handler/PopsHandler.ts:498–524  ·  view source on GitHub ↗

* 全局监听键盘事件 * @param keyName 键名|键值 * @param otherKeyList 组合按键,数组类型,包含ctrl、shift、alt和meta(win键或mac的cmd键) * @param callback 回调函数

(keyName: string | number, otherKeyList: string[] = [], callback: (event: KeyboardEvent) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

onMethod · 0.45

Tested by

no test coverage detected