-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transition.EndNavigation not always triggered #586
Comments
The same goes for changing the
For For left and right it's called only after
I don't know yet what would be the best way around it. Maybe a new Squirrel function that would allow to remap the default signals for the directional controls ( those in brackets )? |
Conclusions: Current implementation only allows vertical layouts to benefit from Shouldn't the |
Just a rough idea. It would be temporary if the layout sets it. |
I've opened a new branch in my fork with a new function I've added
|
I think I've got a fix for this |
- frontend should now consistently trigger Transition.EndNavigation when navigating using fe.signal()
Not neccessarily, if you just suppress the signal without calling |
With my commit we can take advantage of the navigation acceleration without remapping actions every time we change the layout. |
🤦♂️ |
- corrected error with last commit so EndNavigation transition isn't triggered when a script signal handler catches and stops the navigation - smarter handling of key repeats when a script has a signal handler that is remapping navigation actions
Hats off to your commit a45bff8 It actually fixed the underlying problem. I have to admit that my commit was a workaround as I've decided to not to mess with the main loop too much. By adding just:
we have now proper transitions calling and acceleration. |
Thats great! Thanks for the reports and for testing this.
That main loop is a monster with way too much going on for my liking... what was I thinking
… On Dec 7, 2019, at 4:50 AM, Radek Dutkiewicz ***@***.***> wrote:
Hats off to your commit a45bff8
It actually fixed the underlying problem. I have to admit that my commit was a workaround as I've decided to not to mess with the main loop too much.
By adding just:
case "left":
fe.signal( "prev_game" )
return true
case "right":
fe.signal( "next_game" )
return true
we have now proper transitions calling and acceleration.
Closing the issue. Thanks Andrew.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Let assume we want to remap the navigation buttons for a certain layout without remapping default controls in settings. When we intercept all the signals
up
down
left
right
and callnext_game
andprev_game
we have the following output in the log:As you can see the
EndNavigation
transition is only triggered for buttons that are mapped in Controls asnext_game
andprev_game
Here is a minimalistic code that is showing the problem
The text was updated successfully, but these errors were encountered: