From 67e01563466f7a8e92b6df11a37e6bdf8ee51625 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 12 Aug 2024 00:58:27 -0400
Subject: [PATCH] pen: Fixed a comment about Web APIs.
(Emscripten has nothing to do with this limitation, as this is what the
Javascript Pointer Events API offers.)
---
src/video/emscripten/SDL_emscriptenevents.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video/emscripten/SDL_emscriptenevents.c b/src/video/emscripten/SDL_emscriptenevents.c
index 591ba3cfa7753..102a56ff0be43 100644
--- a/src/video/emscripten/SDL_emscriptenevents.c
+++ b/src/video/emscripten/SDL_emscriptenevents.c
@@ -700,7 +700,7 @@ static void Emscripten_UpdatePointerFromEvent(SDL_WindowData *window_data, const
EMSCRIPTEN_KEEPALIVE void Emscripten_HandlePointerEnter(SDL_WindowData *window_data, const Emscripten_PointerEvent *event)
{
- // Emscripten offers almost none of this information as specifics, but can without warning offer any of these specific things.
+ // Web browsers offer almost none of this information as specifics, but can without warning offer any of these specific things.
SDL_PenInfo peninfo;
SDL_zero(peninfo);
peninfo.capabilities = SDL_PEN_CAPABILITY_PRESSURE | SDL_PEN_CAPABILITY_ROTATION | SDL_PEN_CAPABILITY_XTILT | SDL_PEN_CAPABILITY_YTILT | SDL_PEN_CAPABILITY_TANGENTIAL_PRESSURE | SDL_PEN_CAPABILITY_ERASER;