From 4871f5dfc770ec0686d7e66563ad9e8d887dd5a8 Mon Sep 17 00:00:00 2001 From: ManDude <7569514+ManDude@users.noreply.github.com> Date: Sat, 23 Sep 2023 16:46:21 +0100 Subject: [PATCH] [jak2] also allow analog for play select fast scroll (#3015) --- goal_src/jak2/engine/ui/progress/progress.gc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goal_src/jak2/engine/ui/progress/progress.gc b/goal_src/jak2/engine/ui/progress/progress.gc index 8dbcd0338eb..296c677b96d 100644 --- a/goal_src/jak2/engine/ui/progress/progress.gc +++ b/goal_src/jak2/engine/ui/progress/progress.gc @@ -2881,14 +2881,14 @@ ) ) ;; og:preserve-this - Added to make scrolling these menus faster (jak3 has this) - ((or (cpad-pressed? 0 left) (and (cpad-hold? 0 left) (>= (- (current-time) (-> obj last-move)) (seconds 0.075)))) + ((or (cpad-pressed? 0 left l-analog-left) (and (cpad-hold? 0 left l-analog-left) (>= (- (current-time) (-> obj last-move)) (seconds 0.075)))) (when (> (-> obj task-index) 0) (set! (-> obj last-move) (current-time)) (set! s4-0 #t) (set! (-> obj task-index) (max (- (-> obj task-index) 5) 0)) (set! (-> arg0 sliding-height) 0.0))) ;; og:preserve-this - Added to make scrolling these menus faster (jak3 has this) - ((or (cpad-pressed? 0 right) (and (cpad-hold? 0 right) (>= (- (current-time) (-> obj last-move)) (seconds 0.075)))) + ((or (cpad-pressed? 0 right l-analog-right) (and (cpad-hold? 0 right l-analog-right) (>= (- (current-time) (-> obj last-move)) (seconds 0.075)))) (let ((max-task-index -1)) (dotimes (s2-0 (-> *game-info* play-list length)) (let* ((v1-41 (-> *game-info* play-list s2-0))