mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 15:25:08 +01:00
Changes from LambdaControls: - Support for Steam Deck and Dualsense - Support for L4, L5, R4, R5 buttons - Updated Libraries - New Logo and Name - Lots of Bugfixes - MidnightConfig backend
29 lines
802 B
Java
29 lines
802 B
Java
/*
|
|
* Copyright © 2021 LambdAurora <aurora42lambda@gmail.com>
|
|
*
|
|
* This file is part of midnightcontrols.
|
|
*
|
|
* Licensed under the MIT license. For more information,
|
|
* see the LICENSE file.
|
|
*/
|
|
|
|
package eu.midnightdust.midnightcontrols.client;
|
|
|
|
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
|
import com.terraformersmc.modmenu.api.ModMenuApi;
|
|
import eu.midnightdust.midnightcontrols.client.gui.MidnightControlsSettingsScreen;
|
|
|
|
/**
|
|
* Represents the API implementation of ModMenu for midnightcontrols.
|
|
*
|
|
* @author LambdAurora
|
|
* @version 1.7.0
|
|
* @since 1.1.0
|
|
*/
|
|
public class MidnightControlsModMenu implements ModMenuApi {
|
|
@Override
|
|
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
|
return parent -> new MidnightControlsSettingsScreen(parent, false);
|
|
}
|
|
}
|