Mouse button handling in C

A project log for ReTest-yg

YG's own version of Mateng's ReTest, but with different features and a palindromic project number!

yann-guidon-ygdesYann Guidon / YGDES 11/18/2018 at 15:240 Comments

I just added a 3rd C file that reads the status of the mouse button. It follows the precedent log 6. Got mouse.

It tries to be reasonably clever but be careful, it's a quick and dirty hack, like the other files :-D

At least it reads the event source in a non-blocking way so the main program can poll the buttons at the desired state.