promotional bannermobile promotional banner

MidnightControls

Adds controller support and enhanced controls overall.

File Details

MidnightControls 1.9.0 - 1.20.2

  • R
  • Oct 3, 2023
  • 574.19 KB
  • 9.3K
  • 1.20.2
  • Fabric + 1

File Name

midnightcontrols-1.9.0+1.20.2.jar

Supported Versions

  • 1.20.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:midnightcontrols-621768:4781077"

Quilt

modImplementation "curse.maven:midnightcontrols-621768:4781077"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

This might very well be the biggest update yet!
I got motivated by my recent aquisition of a Linux-based tablet as well as the stress to release a 1.20.2 port, and ended up rewriting large parts of the mod related to joystick input, touchscreen support, as well as fixing many long-standing issues.

The (huge) changelog:

  • Port to 1.20.2
  • Rewritten joystick input

- Joystick input is now processed using polar coordinates, resulting in better accuracy and fixing tons of issues (Fixes #135, #138, #186 & #180)

- Camera movement is now way smoother by including the previous stick values in the calculation (Fixes #217 & #167)

  • Touchscreen is now actually usable (in theory, I'll have to wait a few weeks for my tablet to arrive to test further)

- Made it possible to place/break blocks and interact with entities & items

- Added a touchscreen mode for interacting with entities and blocks at the position the click was registered at, not just at the crosshair

- Added a close button to screens without their own back button

- Added selection outlines for Break-at-Finger mode

- Breaking blocks/interacting with entities will now just check if the target changed, not the finger position

- Added the ability to create custom touch buttons out of ButtonBindings

- Redesigned top touch buttons

- Added Touch category to simple options screen

- Added emote touch button when Emotecraft is installed

  • Additional keybinds are now loaded from the vanilla list instead of fabric's modded list

- Better support for mods not using the Fabric Keybinding API (Closes #218)

- Also now supports Forge mods via Sinytra Connector

- Added configurable list to exclude certain keybinds

  • Added Eye-Tracker support thanks to @kabliz in #208
  • Fixed virtual mouse cursor sometimes being hidden behind objects (closes #221)
  • updateMappings() is now called asyncronously (Closes #219)
  • Removed old mixins
  • Fixed crash when joining world without the HUD's init method being called (closes #210)

Additional Contributions

Finally... yes, I do plan on backporting these changes to 1.20.1, 1.19.4 and perhaps 1.19.2.
This will likely happen in MidnightControls 2.0.0, along with further big cleanups, a new-and-improved API and maybe even NeoForge / native Quilt support ;)