Skip to content

0.3.1: el control ya no escribe teclas fantasma en iPadOS - #3

Merged
Mtbolanos merged 1 commit into
mainfrom
v0.3.1
Oct 13, 2026
Merged

Mtbolanos merged 1 commit into
mainfrom
v0.3.1

Conversation

@Mtbolanos

Copy link
Copy Markdown
Owner

0.3.1

  • Ubicación: patches/libultraship-ios.patch: parche nuevo de SDL cmake/dependencies/patches/sdl2-uikit-controller-presses.patch (aplicado desde cmake/dependencies/ios.cmake). Revierte el GCEventInteraction de PR iOS: entrada del control solo por Game Controller (DualSense en iPadOS 27) #2.
  • Cambio: en iOS, scancodeFromPress de SDL ignora los presses de UIKit que no traen tecla de teclado (press.key == nil).
  • Justificación: el build de diagnóstico mostró que iPadOS 27 entrega cada botón del control dos veces: por Game Controller y como press de navegación sin tecla. SDL los convertía en flechas, Return, Escape y Pause. Pasaba igual con DualSense y con Xbox, y ○/B abría el menú. GCEventInteraction no tuvo efecto.
  • Regresiones posibles: la navegación del menú con las flechas falsas del control desaparece (se usa la navegación con control de ImGui). El teclado físico no cambia, porque siempre trae press.key.
  • Pruebas: DualSense y Xbox sin teclas fantasma, juego y menú con el control, controles táctiles, teclado físico, iPhone sin cambios.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HV5aPxGAoSFXjdZ5dsEUJd


Generated by Claude Code

iPadOS delivers controller input twice: through Game Controller and as UIKit
navigation presses with no keyboard key (arrows, select, menu, play/pause).
SDL turned those into Up/Down/Left/Right, Return, Escape and Pause, so a
DualSense or Xbox controller also drove the keyboard mappings (and B/circle
toggled the menu). A small SDL patch ignores presses without a keyboard key
on iOS. Reverts the GCEventInteraction attempt, which had no effect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HV5aPxGAoSFXjdZ5dsEUJd
@Mtbolanos
Mtbolanos merged commit 322be21 into main Oct 13, 2026
3 checks passed
@Mtbolanos
Mtbolanos deleted the v0.3.1 branch October 14, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant