Skip to content
Discussion options

You must be logged in to vote

The reason is that games sample input once per frame. oaf also updates state once per frame. If the game happens to sample input just before oaf updates state the game won't see the changes until the next frame.

This can be worked around by updating the state faster. I believe Nintendo does it 400 times per frame which is also insane but very responsive. This would come at the cost of increased battery usage.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HybridEidolon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants