MidnightControls 1.8.0 - 1.19.4, New GUI handling, Better reacharound

- Port to 1.19.4
- Drastically improve GUI handling
  - Directions are now respected instead of acting like the Tab key (possible thanks to 1.19.4)
  - The new tabs can be navigated using the shoulder buttons
- Sodium and Iris now have way better controller navigation thanks to isXander's PRs to them
- Improved reacharound thanks to MonstoBusta
- Cleaner advanced options screen
- Better auto-detection of the Steam Deck
This commit is contained in:
Motschen
2023-03-15 19:14:48 +01:00
parent 6e49667ada
commit 66cdca30fe
11 changed files with 22 additions and 23 deletions

View File

@@ -6,7 +6,6 @@ import net.minecraft.client.gui.tab.TabManager;
import net.minecraft.client.gui.widget.TabNavigationWidget;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
import org.spongepowered.asm.mixin.gen.Invoker;
@Mixin(TabNavigationWidget.class)
public interface TabNavigationWidgetAccessor {
@@ -14,6 +13,4 @@ public interface TabNavigationWidgetAccessor {
TabManager getTabManager();
@Accessor
ImmutableList<Tab> getTabs();
@Invoker("getCurrentTabIndex")
int getCurrentTabIndex();
}