Code: Select all
for button in ["K_PAGEDOWN","pad_righty_pos"]:
key button action Function(yadj.change, yadj.value + 50), renpy.restart_interaction
Page Down key on my keyboard KEYPAD isn't detected and doesn't work at all.
repeat_K_PAGEDOWN also does not work.
However, that's not my question for this post.
My question for this post is: How do I make the function run many times when holding down the right stick on controller?
Currently it only runs ONCE and I have to press down many times on the right stick of my controller. I want it to smoothly scroll, or repeat the functions.
What the documentation calls an 'Analog Axis event', I want this event to be repeated as long as the stick is held in a certain direction.
Note that repeat_pad_righty_pos doesn't work.
Solved
I used a different method, so I no longer need to know how to do this.
Method described in the solution to viewtopic.php?f=8&t=60375