4 Commits

Author SHA1 Message Date
MrTheShy 3dbe479606 Add SDL3 input bridge + N-player splitscreen viewport API
- Input: SDL3-backed PollPadAsXInput bridges DInput/HIDAPI gamepads
  past the XInput 4-pad cap. Exposed via INP_SdlBridge for use by
  callers that need to enumerate all connected pads.
- Render: VIEWPORT_TYPE_GRID_CELL enum + StateSetViewportRect(x,y,w,h)
  for parametric N-player cell rects. The pre-built lib's enum-based
  StateSetViewport leaves the D3D viewport stack-uninitialized in its
  default case, so the grid-cell path takes a direct rect to avoid
  the 0xCC fill -> RSSetViewports validation error.
- CMake: SDL3 static link wiring + Windows build helpers
  (build_libs.bat, configure_only.bat).

Used by: MrTheShy/MinecraftConsoles auth branch (8-player splitscreen).
2026-05-03 00:11:50 +02:00
Patoke f567d33ccb fix(input): git, am i cooked?
mixed up left thumb and right thumbs on SetJoypadValues
2026-04-21 20:52:10 -04:00
Patoke 1f3759d75c chore: use standard Windows64 platform name for Windows_Libs 2026-04-21 02:52:42 -04:00
gsds e0ae7b1ec1 feat: better cmake support (#21)
* feat: CMakeSettings.json

* chore: remove visual studio stuff
chore: move .clang-format to main directory

* feat: new file structure, easier to implement as a submodule within existing projects

* chore: we actually include some code now...

* chore: remove prebuilt libraries (oops)

* feat: new shader building script using cmake

* chore: add debug postfix specifier

* fix: forgot that windows builds use 4J_Render_PC for the render library

* fix: didn't add the output directory (where shaders are saved to) to the include directories of 4J_Render
2026-04-21 02:07:59 -04:00