Skip to content

Commit

Permalink
faster input repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbuick committed Dec 26, 2024
1 parent 252ae74 commit d1ea8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zss/gadget/userinput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const inputstate: Record<INPUT, boolean> = {
// handle input repeat
let acc = 0
let previous = performance.now()
const INPUT_RATE = 250
const INPUT_RATE = 200

function inputdown(input: INPUT) {
// make sure to trigger input event
Expand Down

0 comments on commit d1ea8da

Please sign in to comment.