Closed Astrophobia closed 9 years ago
In both sdl2-jstest.c, sdl-jstest.c, there is a small typo that causes the two values displayed for each 'ball' to be the same:
printw(" %2d: %6d %6d\n", i, balls[2*i+0], balls[2*i+0]);
Should be:
printw(" %2d: %6d %6d\n", i, balls[2*i+0], balls[2*i+1]);
What kind of hardware does actually emit ball events? Never seen any that does.
In both sdl2-jstest.c, sdl-jstest.c, there is a small typo that causes the two values displayed for each 'ball' to be the same:
Should be: