func repeatingKeyPressed(key ebiten.Key) bool {
	const (
		delay    = 30
		interval = 3
	)
	d := inpututil.KeyPressDuration(key)
	if d == 1 {
		return true
	}
	if d >= delay && (d-delay)%interval == 0 {
		return true
	}
	return false
}
func repeatingKeyPressed(key ebiten.Key) bool {
	const (
		delay    = 30
		interval = 3
	)
	d := inpututil.KeyPressDuration(key)
	if d == 1 {
		return true
	}
	if d >= delay && (d-delay)%interval == 0 {
		return true
	}
	return false
}
func repeatingKeyPressed ( key ebiten . Key ) bool { const ( delay = 30 interval = 3 ) d := inpututil . KeyPressDuration ( key ) if d == 1 { return true } if d >= delay && ( d - delay ) % interval == 0 { return true } return false }
// repeatingKeyPressed return true when key is pressed considering the repeat state.
repeatingKeyPressed return true when key is pressed considering the repeat state .