Skip to content

feat: SDL support for keybind and window handling - #1018

Merged
Wyvest merged 4 commits into
Polyfrost:v1from
saadndm:feat/sdl
Aug 31, 2026
Merged

feat: SDL support for keybind and window handling#1018
Wyvest merged 4 commits into
Polyfrost:v1from
saadndm:feat/sdl

Conversation

@saadndm

@saadndm saadndm commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Description

We should prob give this to testers for testing before next release

feat: SDL support for keybind and window handling

  • Fixes all keybind/window handling for 26.3, uses shared InputConstants wherever possible
  • Tested on 1.8.9 ornithe with lenis

feat(keybind): migrate keybinds to InputConstant names

  • Saves keybinds using InputConstants key names instead of GLFW specific ints
  • Migrates existing GLFW keyboard and mouse bindings on first load using a GLFW -> SDL table
  • Unsupported keys are unbound with a warning:
image
  • Switching back to old OneConfig versions after migrating will reset the config
  • Tests: MinecraftKeybindCodecTest and OneConfigKeybindAdapterTest

Checklist

  • I made a clear description of what was changed
  • I stated why these changes were necessary
  • I updated documentation or said what needs to be updated
  • I made sure these changes are backwards compatible
  • This pull request is for one feature/bug fix

@Wyvest
Wyvest merged commit 3a47396 into Polyfrost:v1 Aug 31, 2026
1 check passed
@saadndm
saadndm deleted the feat/sdl branch August 31, 2026 03:08
awruff added a commit that referenced this pull request Sep 3, 2026
* closes #997

* Revert "closes #997"

This reverts commit 8b35143.

* fix: title screen panorama rendering in < 1.21.8

* feat(keybind): suppress keybinds while a text field is focused

* feat(compose-bundle): ship skiko linux-arm64 runtime

* fix(ui): disallow renavigation to current page

* fix cme with huds

* feat: SDL support for keybind and window handling (#1018)

Co-authored-by: Julian Chang <wyvest@polyfrost.org>

* fix(ui): reopen smoothly during close animation (#1021)

* fix(ui): position dropdowns on side with more space (#1014)

* fix(compat): hide hidden rconfig configs, categories, and entries

* perf(ui): decode raster icons off the render thread

* perf(hud): only invalidate the redraw cache for HUD-relevant state changes

* chore(release): 1.1.11-beta.1 (not publishing, just for testing)

* chore: make zetvue happy

closes #975

* fix: fix skyblocker huds

* chore: bump to 1.1.11

* fix rare compose crashes

* 1.1.12

* feat(compat): support unrelocated MoulConfig forks like SoftConfig

* fix(events): reject handlers for abstract parent event types

* fix(keybind): stop mouse codes stealing key names

* Update MinecraftKeybindBridgeImpl.java

* feat(legacy): migrate from legacy-lwjgl3 to lenis

---------

Co-authored-by: awruff <sillysys@proton.me>
Co-authored-by: Julian Chang <wyvestbusiness@gmail.com>
Co-authored-by: awruff <contact@awruff.dog>
Co-authored-by: Julian Chang <wyvest@polyfrost.org>
Co-authored-by: Luna <lunaynx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants