Skip to content

Commit

Permalink
Update keys_test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
and7ey authored Jan 16, 2025
1 parent 3d3231d commit b67994f
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions keys_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,6 @@

// https://github.com/yumata/lampa-source/blob/main/src/interaction/keypad.js
document.addEventListener("mousemove", function (e) {
e.stopPropagation();

const event = document.createEvent("MouseEvents");
event.initMouseEvent(
"mousemove",
true,
true,
window,
0,
0,
0,
80,
20,
false,
false,
false,
false,
0,
null,
);
document.body.dispatchEvent(event);

if (time > Date.now() - 100) return
time = Date.now();
Expand Down

0 comments on commit b67994f

Please sign in to comment.