Since Lua only runs at 10 Hz and the GUI at a higher frequency, events sometimes are skipped unless we store them in a buffer. This buffer is only two slots, but can be expanded by changing EVENT_BUFFER_SIZE.
Since Lua only runs at 10 Hz and the GUI at a higher frequency, events sometimes are skipped unless we store them in a buffer. This buffer is only two slots, but can be expanded by changing EVENT_BUFFER_SIZE.