examples: add descriptions to missing files

While at it, move all descriptions to the top of the file.
This commit is contained in:
Simon Ser 2024-11-28 20:04:15 +01:00
parent c0d4d7217b
commit 80ef27c1b7
9 changed files with 48 additions and 19 deletions

View file

@ -1,3 +1,10 @@
/* Paints a cursor and moves it based on pointer, touch and tablet events.
*
* Left, middle and right pointer buttons change the background color to blue,
* green and red respectively. Axis pointer events change the brightness of the
* background color.
*/
#include <assert.h>
#include <math.h>
#include <stdio.h>