Browse Source

pen: Fixed incorrect comment.

(cherry picked from commit dd18d7ff52a8ce3ce32d205e27d39673c61a90c1)
Ryan C. Gordon 4 weeks ago
parent
commit
81d9f30db4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/events/SDL_pen_c.h

+ 1 - 1
src/events/SDL_pen_c.h

@@ -81,7 +81,7 @@ extern void SDL_SendPenAxis(Uint64 timestamp, SDL_PenID instance_id, SDL_Window
 // Backend calls this when a pen's button changes, to generate events and update state.
 extern void SDL_SendPenButton(Uint64 timestamp, SDL_PenID instance_id, SDL_Window *window, Uint8 button, bool down);
 
-// Backend calls this when a pen's button changes, to generate events and update state.
+// Backend calls this when a pen's proximity changes, to generate events and update state.
 extern void SDL_SendPenProximity(Uint64 timestamp, SDL_PenID instance_id, SDL_Window *window, bool in);
 
 // Backend can optionally use this to find the SDL_PenID for the `handle` that was passed to SDL_AddPenDevice.