examples: Added input/02-joystick-events

This commit is contained in:
Ryan C. Gordon
2024-11-24 22:48:48 -05:00
parent a07a88c1b4
commit 1720fc77fe
3 changed files with 235 additions and 0 deletions

View File

@@ -141,6 +141,7 @@ add_sdl_example_executable(audio-simple-playback-callback SOURCES audio/02-simpl
add_sdl_example_executable(audio-load-wav SOURCES audio/03-load-wav/load-wav.c DATAFILES ${CMAKE_CURRENT_SOURCE_DIR}/../test/sample.wav)
add_sdl_example_executable(audio-multiple-streams SOURCES audio/04-multiple-streams/multiple-streams.c)
add_sdl_example_executable(input-joystick-polling SOURCES input/01-joystick-polling/joystick-polling.c)
add_sdl_example_executable(input-joystick-events SOURCES input/02-joystick-events/joystick-events.c)
add_sdl_example_executable(camera-read-and-draw SOURCES camera/01-read-and-draw/read-and-draw.c)
add_sdl_example_executable(pen-drawing-lines SOURCES pen/01-drawing-lines/drawing-lines.c)
add_sdl_example_executable(demo-snake SOURCES demo/01-snake/snake.c)