pen: Fixed incorrect comment.

(cherry picked from commit dd18d7ff52)
This commit is contained in:
Ryan C. Gordon
2026-02-03 19:44:29 -05:00
committed by Sam Lantinga
parent 38b9c9117d
commit 81d9f30db4

View File

@@ -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.