Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: keilmillerjr on September 21, 2018, 09:02:52 AM

Title: What action causes Transition.EndNavigation?
Post by: keilmillerjr on September 21, 2018, 09:02:52 AM
I’m working on the sequencer experimental branch. It’s important to send signals for themes that move a selected game indicator. I think the plugin is currently causing issues with the fadeart module because it’s triggered by Transition.EndNavigation (or ToNewList). What does attract use as indication of navigation? Repetitive signaling? Probably not. Repetitive input states? I get lost looking at attractmode source.
Title: Re: What action causes Transition.EndNavigation?
Post by: Oomek on October 07, 2018, 05:28:21 AM
Transition.EndNavigation is triggered when you release a navigation button. It's useful for example if you want to swap the snap image flags from Vid.ImagesOnly to Vid.Default so you do not choke the AM with constantly reloading video snaps while scrolling through roms.
Title: Re: What action causes Transition.EndNavigation?
Post by: keilmillerjr on October 07, 2018, 05:34:41 AM
@oomek is there any way to simulate a press of a navigation button?
Title: Re: What action causes Transition.EndNavigation?
Post by: Oomek on October 07, 2018, 05:36:03 AM
fe.signal()
Title: Re: What action causes Transition.EndNavigation?
Post by: keilmillerjr on October 07, 2018, 05:40:15 AM
fe.signal()

Unfortunately, fe.signal() doesn’t work the same as an actual button press. That’s the issue I’m running into.