Skip to content

Commit b63b247

Browse files
committed
Removes obsolete "Shift" key binding
Removes the UI elements for a "Shift" key input binding from the settings screen. Also removes the corresponding `KEYBOARD_SHIFT` control state from Lua bindings, as this specific binding is no longer used.
1 parent c1009b3 commit b63b247

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

Data/Base.rte/GUIs/SettingsGUI.ini

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,36 +2806,6 @@ Anchor = Left, Top
28062806
ToolTip = None
28072807
Text = [InputKey]
28082808

2809-
[LabelInputName35]
2810-
ControlType = LABEL
2811-
Parent = CollectionBoxScrollingMappingBox
2812-
X = 5
2813-
Y = 430
2814-
Width = 110
2815-
Height = 20
2816-
Visible = True
2817-
Enabled = True
2818-
Name = LabelInputName35
2819-
Anchor = Left, Top
2820-
ToolTip = None
2821-
Text = InputName
2822-
HAlignment = right
2823-
VAlignment = middle
2824-
2825-
[ButtonInputKey35]
2826-
ControlType = BUTTON
2827-
Parent = CollectionBoxScrollingMappingBox
2828-
X = 120
2829-
Y = 430
2830-
Width = 95
2831-
Height = 20
2832-
Visible = True
2833-
Enabled = True
2834-
Name = ButtonInputKey35
2835-
Anchor = Left, Top
2836-
ToolTip = None
2837-
Text = [InputKey]
2838-
28392809
[CollectionBoxDeviceCapture]
28402810
ControlType = COLLECTIONBOX
28412811
Parent = root

Source/Lua/LuaBindingsSystem.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ LuaBindingRegisterFunctionDefinitionForType(SystemLuaBindings, Controller) {
6969
luabind::value("BODY_CROUCH", ControlState::BODY_PRONE), // awful, but script compat
7070
luabind::value("BODY_PRONE", ControlState::BODY_PRONE),
7171
luabind::value("BODY_WALKCROUCH", ControlState::BODY_CROUCH),
72-
luabind::value("KEYBOARD_SHIFT", ControlState::KEYBOARD_SHIFT),
7372
luabind::value("AIM_UP", ControlState::AIM_UP),
7473
luabind::value("AIM_DOWN", ControlState::AIM_DOWN),
7574
luabind::value("AIM_SHARP", ControlState::AIM_SHARP),

0 commit comments

Comments
 (0)