Skip to content

Commit e91ad97

Browse files
committed
Remove TODO
I'm not going to make button press duration configurable. If game developer wants to use different settings, then he might just copy and modify entire IsPressedRepeatably function.
1 parent 0be3e14 commit e91ad97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/input/input.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ package input
55

66
func IsPressedRepeatably(duration uint) bool {
77
const (
8-
pressDuration = 15 // make it configurable
9-
pressInterval = 4 // make it configurable
8+
pressDuration = 15
9+
pressInterval = 4
1010
)
1111

1212
if duration == 1 {

0 commit comments

Comments
 (0)