mscroggs / KLBFAX

KLBFAX
http://www.klbfax.co.uk
MIT License
6 stars 1 forks source link

keyboad doesn't block and each page has a configurable duration #13

Closed afiodorov closed 8 years ago

afiodorov commented 9 years ago

It occurred to me that my name_page_handler was responsible for calling page_factory and waiting until a page loads - but that's a bad practice as the keyboard thread shouldn't do any processing. Whilst I was fixing it I rewrote the main loop slightly - and now each page has capability for duration: Page.duration_sec is set to 30, NamePage to 5, Fail and Fake pages to 3 :). I suggest you adjust durations of empty pages such as subtitles and chalkdust as you see fit to make use of this feature.