A certain block game
Find a file
deadman96385 bbc7e214ae feat: add DInput/WinMM controller support for Windows (DS4, generic gamepads)
Hooks XInputGetState and XInputGetCapabilities via IAT patching so non-XInput controllers (DS4, generic HID gamepads) are visible to 4J_Input.lib and the rest of the game. Uses the WinMM joystick API to read device state and translates it to XINPUT_STATE format, mapping DS4 axes (Z=RSX, Rz=RSY, Ry=R2, Rx=L2) and buttons to their Xbox equivalents. Unoccupied XInput slots are assigned toDInput devices and rescanned every ~3 seconds.
2026-03-01 14:51:32 -06:00
Minecraft.Client feat: add DInput/WinMM controller support for Windows (DS4, generic gamepads) 2026-03-01 14:51:32 -06:00
Minecraft.World Initial commit 2026-03-01 12:16:08 +08:00
x64 Initial commit 2026-03-01 12:16:08 +08:00
.gitignore Add gitignore (#17) 2026-03-02 00:45:30 +08:00
img.png chore: update image asset 2026-03-01 21:37:39 +08:00
MinecraftConsoles.sln remove 4j source control warning when opening the solution 2026-03-01 17:08:31 +00:00
README.md feat: improve mouse input handling 2026-03-02 00:43:04 +08:00

MinecraftConsoles

Discord

img.png

Introduction

This project contains the source code of Minecraft Legacy Console Edition v1.3.0494.0, with some fixes and improvements applied.

Features

  • Fixed compilation and execution in both Debug and Release mode on Windows using Visual Studio 2022
  • Added support for keyboard and mouse input
  • Added fullscreen mode support (toggle using F11)
  • Disabled V-Sync for better performance
  • Auto-detect native monitor resolution with DPI awareness, resulting in sharper visuals on high-resolution displays

Build & Run

  1. Install Visual Studio 2022
  2. Clone the repository
  3. Open the project by double-clicking MinecraftConsoles.sln
  4. Make sure Minecraft.Client is set as the Startup Project
  5. Set the build configuration to Debug (Release is also OK but has some bugs) and the target platform to Windows64, then build and run

Known Issues

  • Builds for other platforms have not been tested and are most likely non-functional
  • There are some render bugs in the Release mode build