API ReferenceGE Extensionscoreinput
Deprecated Actions
Static lookup table mapping deprecated input action names to their replacements or marking them as obsolete. Used by `core_input_actions.upgradeAction()` during binding loading.
Static lookup table mapping deprecated input action names to their replacements or marking them as obsolete. Used by core_input_actions.upgradeAction() during binding loading.
Format
This module returns a plain table (not a module with M):
return {
["oldActionName"] = { replacement = "newActionName" },
["obsoleteAction"] = { obsolete = true },
}Notable Migrations
| Old Action | Replacement | Notes |
|---|---|---|
steer | steering | Renamed |
steer_direct | steering | Merged |
accelerate_direct | accelerate | Direct mode removed |
brake_direct | brake | Direct mode removed |
clutch_direct | clutch | Direct mode removed |
handle_escape | toggleMenues | Renamed |
gamepadPitch/Yaw | rotate_camera_vertical/horizontal | Unified camera controls |
switch_reset_vehicle | switch_next_vehicle | Renamed |
toggleQuickAccess | toggleMenues | Merged |
toggle_physics | pause | Renamed |
switch_camera | switch_camera_next | Directional split |
camera_hotkey_N | camera_N | Simplified names |
grabNode* | nodegrabber* | Renamed |
slow_motion / realtime_motion | toggle_slow_motion | Merged |
oldEditorToggle | editorToggle | Renamed |
cycle_metrics_fwd/back | cycle_metrics | Merged |
toggleConsole | toggleConsoleNG | New console system |
key_q/e/w/s/a/d/... | obsolete | Generic key actions removed |
Usage Example
-- Automatically handled by core_input_actions.upgradeAction():
local newAction = core_input_actions.upgradeAction("steer")
-- returns "steering"
local gone = core_input_actions.upgradeAction("toggleZoom")
-- returns nil (obsolete)See Also
- Input Action Filter - Related reference
- Input Actions - Related reference
- Input Bindings - Related reference
- Core Systems Guide - Guide
Input Categories
Static lookup table defining input binding categories for the controls options UI. Each category has a display order, icon, and localization title.
Vehicle Switching
Provides custom vehicle cycling order for the switch-next/previous-vehicle input actions. Falls back to default engine behavior when no custom order is set.