Expand description
Raw ABI declarations for the SCS Input SDK 1.00 interface.
These definitions mirror scssdk_input.h, scssdk_input_device.h,
scssdk_input_event.h, and the ETS2/ATS input-version headers from the
official SDK 1.14 distribution. The input API was introduced by SDK 1.14;
none of the official SDK 1.0 through 1.13 archives contain these headers.
Structs§
- ScsInput
Device - Raw input-device registration structure.
- ScsInput
Device Input - Information about one bool or float input exposed by a device.
- ScsInput
Event - One event returned by an input device callback.
- ScsInput
Init Params - Opaque common ancestor used by the loader-facing input init function.
- ScsInput
Init Params V100 - Initialization parameters for input API 1.00.
Constants§
- SCS_
INPUT_ ATS_ GAME_ VERSION_ 1_ 00 - Initial and current ATS game version for the input API.
- SCS_
INPUT_ ATS_ GAME_ VERSION_ CURRENT - Latest ATS input game version declared by SDK 1.14.
- SCS_
INPUT_ DEVICE_ TYPE_ GENERIC - SCS_
INPUT_ DEVICE_ TYPE_ INVALID - SCS_
INPUT_ DEVICE_ TYPE_ SEMANTICAL - SCS_
INPUT_ EUT2_ GAME_ VERSION_ 1_ 00 - Initial and current ETS2 game version for the input API.
- SCS_
INPUT_ EUT2_ GAME_ VERSION_ CURRENT - Latest ETS2 input game version declared by SDK 1.14.
- SCS_
INPUT_ EVENT_ CALLBACK_ FLAG_ FIRST_ AFTER_ ACTIVATION - SCS_
INPUT_ EVENT_ CALLBACK_ FLAG_ FIRST_ IN_ FRAME - SCS_
INPUT_ MAX_ INPUT_ COUNT - Maximum number of inputs accepted for one registered device.
- SCS_
INPUT_ VERSION_ 1_ 00 - Initial and current input API version declared by SDK 1.14.
- SCS_
INPUT_ VERSION_ CURRENT - Latest input API version declared by SDK 1.14.
Type Aliases§
- ScsInput
Active Callback - Callback used by SCS to notify a device that it became active or inactive.
- ScsInput
Device Type - Raw discriminator used by
scs_input_device_t::type. - ScsInput
Event Callback - Callback repeatedly invoked by SCS until it returns
SCS_RESULT_NOT_FOUND. - ScsInput
Register Device - Function supplied by SCS for registering one input device during init.
Unions§
- ScsInput
Event Value - Storage written by the plugin when SCS asks for the next input event.