more haptic for sliders

This commit is contained in:
minjaesong
2024-04-04 00:08:19 +09:00
parent 54e38b114d
commit 7416f15def
3 changed files with 26 additions and 7 deletions

View File

@@ -284,7 +284,9 @@ abstract class UIItem(var parentUI: UICanvas, val initialX: Int, val initialY: I
}
object UIItemAccessibilityUtil {
// TODO have multiple bop instances (num of copies equal to guiTracks), then play the track with its index according to getFreeGuiTrack()
fun playHapticNudge() {
App.playGUIsound(CommonResourcePool.getAs("sound:haptic_bup"), 0.25)
}
fun playHapticCursorHovered() {
App.playGUIsound(CommonResourcePool.getAs("sound:haptic_bap"), 0.25)
}