mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-14 07:35:10 +01:00
✨ Add controller settings GUI and more WIP on controller support.
This commit is contained in:
12
src/main/resources/assets/lambdacontrols/lang/en_us.json
Normal file
12
src/main/resources/assets/lambdacontrols/lang/en_us.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"lambdacontrols.menu.controller_controls": "Controller controls...",
|
||||
"lambdacontrols.menu.controls_mode": "Controls mode",
|
||||
"lambdacontrols.menu.dead_zone": "Dead zone",
|
||||
"lambdacontrols.menu.hud_side": "HUD side",
|
||||
"lambdacontrols.menu.rotation_speed": "Rotation speed",
|
||||
"lambdacontrols.controls_mode.default": "Keyboard/Mouse",
|
||||
"lambdacontrols.controls_mode.controller": "Controller",
|
||||
"lambdacontrols.controls_mode.touchscreen": "Touchscreen",
|
||||
"lambdacontrols.hud_side.left": "left",
|
||||
"lambdacontrols.hud_side.right": "right"
|
||||
}
|
||||
@@ -4,29 +4,33 @@
|
||||
controls = "default"
|
||||
|
||||
[hud]
|
||||
# Dertermines where the movements buttons are.
|
||||
side = "left"
|
||||
# Dertermines where the movements buttons are.
|
||||
side = "left"
|
||||
|
||||
# Controller settings
|
||||
[controller]
|
||||
attack = "button_7"
|
||||
back = "axe_1+"
|
||||
drop = "button_2"
|
||||
forward = "axe_1-"
|
||||
hotbar_left = "button_4"
|
||||
hotbar_right = "button_5"
|
||||
inventory = "button_3"
|
||||
jump = "button_0"
|
||||
left = "axe_0-"
|
||||
right = "axe_0+"
|
||||
sneak = "button_12"
|
||||
sprint = "button_11"
|
||||
start = "button_4"
|
||||
use = "button_6"
|
||||
view_down = "axe_3+"
|
||||
view_left = "axe_2-"
|
||||
view_right = "axe_2+"
|
||||
view_up = "axe_3-"
|
||||
dead_zone = 0.25
|
||||
rotation_speed = 25.0
|
||||
# Controller controls
|
||||
[controller.controls]
|
||||
attack = "button_7"
|
||||
back = "axe_1+"
|
||||
drop = "button_2"
|
||||
forward = "axe_1-"
|
||||
hotbar_left = "button_4"
|
||||
hotbar_right = "button_5"
|
||||
inventory = "button_3"
|
||||
jump = "button_0"
|
||||
left = "axe_0-"
|
||||
right = "axe_0+"
|
||||
sneak = "button_12"
|
||||
sprint = "button_11"
|
||||
start = "button_9"
|
||||
use = "button_6"
|
||||
view_down = "axe_3+"
|
||||
view_left = "axe_2-"
|
||||
view_right = "axe_2+"
|
||||
view_up = "axe_3-"
|
||||
|
||||
# Colors
|
||||
[colors]
|
||||
|
||||
@@ -3,10 +3,15 @@
|
||||
"package": "me.lambdaurora.lambdacontrols.mixin",
|
||||
"compatibilityLevel": "JAVA_8",
|
||||
"client": [
|
||||
"AbstractButtonWidgetAccessor",
|
||||
"AbstractContainerScreenAccessor",
|
||||
"CreativeInventoryScreenMixin",
|
||||
"GameRendererMixin",
|
||||
"InGameHudMixin",
|
||||
"KeyBindingMixin",
|
||||
"MinecraftClientMixin",
|
||||
"MouseMixin"
|
||||
"MouseMixin",
|
||||
"SettingsScreenMixin"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
|
||||
Reference in New Issue
Block a user