From 5749c54cd18d55e4aece4cf2c463ca37c80ece6c Mon Sep 17 00:00:00 2001 From: Mr-VIT Date: Mon, 4 Sep 2023 22:21:35 +0300 Subject: [PATCH] fix LowLevelHook example README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 46a8813..36e6f29 100644 --- a/README.md +++ b/README.md @@ -1231,7 +1231,7 @@ import { LowLevelHook } from "keysender"; new LowLevelHook({ device: "keyboard", - key: "a", + button: "a", mode: "hold", action() { console.log("'a' pressed"); @@ -1242,7 +1242,7 @@ new LowLevelHook({ new LowLevelHook({ device: "mouse", - key: "left", + button: "left", mode: "once", action() { console.log("left mouse button was pressed");