Skip to content

Revision 21

I worked on the input stuff this morning.  It’s interesting that none of the examples about input handling show off the ability to compare button states with the previous, so as not to repeat – very quickly – the button signal’s capture.  By using a simple comparison, though, i can short-circuit the button press & hold so that it only occurs once.  I imagine with a small timer, i could get a slow repeat to occur.

I think I’ll just grab the buttons, and let the update or draw method deal with interpreting the results, though.  Alternately, if I make the input handler capture that stuff, it can just drop the visual artifacts directly into a list and be done with the messy work.

I’ll think about it at the BBQ.

How tasty!

Post a Comment

You must be logged in to post a comment.