ParkyDR and I were wondering if we could possibly tell when /dev/GPIO changes so that we save the changes and thus queue the key presses so that none could be missed, as you can miss key presses when you only look at the state of /dev/GPIO if the main loop is too slow.
He suggested to use select() in order to tell when a change would happen be tested without any success. So I don't really have any idea on how we could tell when a change happens, so if anyone has any ideas, that would be great. I think pretty much all games could more or less benefit from not ever missing a key press.
He suggested to use select() in order to tell when a change would happen be tested without any success. So I don't really have any idea on how we could tell when a change happens, so if anyone has any ideas, that would be great. I think pretty much all games could more or less benefit from not ever missing a key press.