mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
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.)
This commit is contained in:
parent
3d3f611965
commit
67e0156346
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue