Input Categories
Static lookup table defining input binding categories for the controls options UI. Each category has a display order, icon, and localization title.
Static lookup table defining input binding categories for the controls options UI. Each category has a display order, icon, and localization title.
Categories Table
This module returns a plain table (not a module with M):
| Key | Order | Icon | Title Key |
|---|---|---|---|
modifier | 0.5 | settings | ui.options.controls.bindings.Modifier |
vehicle_specific | 1 | local_taxi | ui.options.controls.bindings.VehicleSpecific |
vehicle_specific_unusable | 1.5 | local_taxi | ui.options.controls.bindings.VehicleSpecificUnusable |
vehicle | 2 | directions_car | ui.options.controls.bindings.Vehicle |
general | 3 | language | ui.options.controls.bindings.General |
gameplay | 4 | extension | ui.options.controls.bindings.Gameplay |
camera | 5 | videocam | ui.options.controls.bindings.Camera |
menu | 6 | web | ui.options.controls.bindings.MenuNavigation |
menuExtra | 6.5 | web | ui.options.controls.bindings.MenuNavigationExtra |
slowmotion | 7 | timer | ui.options.controls.bindings.SlowMotion |
replay | 8 | local_movies | ui.options.controls.bindings.Replay |
editor | 9 | editor | ui.options.controls.bindings.Editor |
flowgraph | 10 | editor | Flowgraph Editor |
debug | 11 | bug_report | ui.options.controls.bindings.GeneralDebug |
vehicle_debug | 12 | settings | ui.options.controls.bindings.VehicleDebug |
Usage Example
-- Access categories (loaded as dependency by input/actions and input/bindings)
local cats = core_input_categories
for name, cat in pairs(cats) do
print(name, cat.order, cat.title)
endKey Details
- Referenced by
core_input_actionsto validate actioncatfields. - Used by the UI to group and sort bindings in the controls options screen.
vehicle_specific_unusableseparates bound but unusable vehicle actions.
See Also
- Input Action Filter - Related reference
- Input Actions - Related reference
- Input Bindings - Related reference
- Core Systems Guide - Guide
Input Bindings
Manages input device bindings: reads default + custom bindings from disk, applies diffs, sends to the engine's ActionMap system, handles force feedback (FFB) configuration, device hot-plug, multiseat
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.