Repository navigation
Cursor editable con su forma real de Windows (estáticos, animados y personalizados) - #19
Merged
Merged
Conversation
Screen is captured without the cursor (ddagrab draw_mouse=0, WGC cursor off) and a 60 Hz poll logs what Windows shows: each new handle is captured once via CopyIcon/GetIconInfo/DrawIconEx (every step of animated cursors from GetCursorFrameInfo), drawn over black and white for exact alpha and invert pixels, keyed by content hash, with hotspot and DPI scale. The poll also logs programmatic moves the mouse hook misses. CursorTrack (Original, Cinematic smoothing pinned to clicks, Custom image for the arrow; scale, opacity, hide-idle) drives both the preview and the export (sendcmd-driven overlays in source space, so the cursor follows zooms). Hidden or uncapturable cursors draw nothing new, so app-drawn pointers aren't duplicated; old recordings keep the cursor that is in their video. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auditoría (antes)
ddagrab … draw_mouse=1; ventana: WGCIsCursorCaptureEnabled = true→ el cursor quedaba dentro del video, imposible de editar.Qué cambia
Grabación («Cursor editable», activado por defecto en Ajustes del grabador)
GetCursorInforegistra solo los cambios de forma (cursor-shapes.txt).CopyIcon→GetIconInfo(tamaño y punto de clic) →DrawIconExsobre negro y sobre blanco → transparencia exacta y píxeles de inversión (cursor de texto clásico).GetCursorFrameInfo+DrawIconEx(istep)y su duración (p. ej. espera de Windows 11: 18 fotogramas × 50 ms).cursorScale= tamaño que Windows usa en ese monitor (GetSystemMetricsForDpi) ÷ mapa de bits capturado.SetCursorPos, escritorio remoto) que el gancho de ratón no ve — fallo encontrado con la grabación real de prueba.Estrategia híbrida / sin duplicados
cursorInVideoausente =true): el cursor del video se conserva tal cual y no se dibuja otro.Edición y composición (página Cursor y clics, también en modo simple)
CursorTrack.At(t)es la única fuente para vista previa y exportación (forma, fotograma de animación, posición, escala, opacidad). En la exportación: una superposición por forma, controlada porsendcmd, en coordenadas de la grabación → sigue a los zooms automáticos.Pruebas
CreateIconIndirect(píxeles y punto de clic exactos), tamaños 32/48/64/128 (escalas DPI), caché/deduplicación🤖 Generated with Claude Code