Dummy Shift Logic
A minimal shift logic implementation that provides the required interface without actual shifting behavior. Used for direct-drive vehicles, single-speed EVs, or testing scenarios.
A minimal shift logic implementation that provides the required interface without actual shifting behavior. Used for direct-drive vehicles, single-speed EVs, or testing scenarios.
State Fields
| Field | Type | Description |
|---|---|---|
gearboxHandling, timer, timerConstants, inputValues, shiftPreventionData, shiftBehavior, smoothedValues | table | shared controller state. |
currentGearIndex, maxGearIndex, minGearIndex | number | gear range. |
throttle, brake, clutchRatio, shiftingAggression | number | raw user inputs. |
isArcadeSwitched, isSportModeActive, isShifting | boolean | dummy status flags. |
smoothedAvgAVInput, rpm, idleRPM, maxRPM | number | speed telemetry. |
engineThrottle, engineLoad, engineTorque, flywheelTorque, gearboxTorque | number | load metrics. |
ignition, isEngineRunning | boolean | motor state. |
oilTemp, waterTemp, checkEngine | number | thermal state. |
energyStorages | table | fuel sources. |
Public API
| Function | Description |
|---|---|
getGearName() | Returns empty or default gear metadata. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData, sharedFunctionTable) | Placeholder initialization. |
updateGearboxGFX(dt) | Minimal GFX update. |
See Also
- Vehicle Controller — Parent controller
- Electric Motor — Electric motor shift logic
DCT Gearbox Shift Logic
Shift logic module for Dual-Clutch Transmissions (DCT). Pre-selects the next gear on the alternate shaft for near-instantaneous shifts. Manages clutch engagement, pre-selection strategy, and launch control integration.
Electric Motor Shift Logic
Shift logic for electric motor drivetrains. Manages single or multi-speed EV transmissions, regenerative braking integration, and one-pedal driving mode. Handles the unique torque characteristics of electric motors.