diff --git a/src/tables.c b/src/tables.c new file mode 100644 index 0000000..2f42e43 --- /dev/null +++ b/src/tables.c @@ -0,0 +1,111 @@ +const char *channel_tables[] = {"Ambient Temperature", + "Brake Pos", + "Brake Pos Unfiltered", + "Brake Thickness", + "Brakes Air Temp", + "Brakes Force", + "Brakes Temp", + "Clutch Pos", + "Clutch Pos Unfiltered", + "Clutch RPM", + "Drag", + "Engine Oil Temp", + "Engine RPM", + "Engine Water Temp", + "FFB Output", + "Front3rdDeflection", + "FrontDownForce", + "FrontRideHeight", + "FrontWingHeight", + "Fuel Level", + "G Force Lat", + "G Force Long", + "G Force Vert", + "GPS Latitude", + "GPS Longitude", + "GPS Speed", + "GPS Time", + "Ground Speed", + "Lap Dist", + "Lateral Acceleration", + "Longitudinal Acceleration", + "OverheatingState", + "Path Lateral", + "ReadDownForce", + "Rear3rdDeflection", + "RearRideHeight", + "Regen Rate", + "RideHeights", + "SoC", + "Steered Angle", + "Steering Pos", + "Steering Pos Unfiltered", + "Steering Shaft Torque", + "Susp Pos", + "Throttle Pos", + "Throttle Pos Unfiltered", + "Time Behind Next", + "Total Dist", + "Track Edge", + "Track Temperature", + "Turbo Boost Pressure", + "Tyres Wear", + "TyresCarcassTemp", + "TyresPressure", + "TyresRimTemp", + "TyresRubberTemp", + "TyresTempCentre", + "TyresTempLeft", + "TyresTempRight", + "Virtual Energy", + "Wheel Speed", + "Wind Heading", + "Wind Speed", + "Yaw Rate"}; + +const int channel_table_count = sizeof(channel_tables) / sizeof(channel_tables[0]); + +const char *event_tables[] = {"ABS", + "ABSLevel", + "AntiStall Activated", + "Best LapTime", + "Best Sector1", + "Best Sector2", + "Brake Bias Rear", + "Brake Migration", + "CloudDarkness", + "Current LapTime", + "Current Sector", + "Current Sector1", + "Current Sector2", + "Engine Max RPM", + "Finish Status", + "FrontFlapActivated", + "FuelMixtureMap", + "Gear", + "Headlights State", + "In Pits", + "Lap", + "Lap Time", + "Last Sector1", + "Last Sector2", + "LastImpactMagnitude", + "LaunchControlActive", + "Minimum Path Wetness", + "OffpathWetness", + "RearFlapActivated", + "RearFlapLegalStatus", + "Sector1 Flag", + "Sector2 Flag", + "Sector3 Flag", + "Speed Limiter", + "SurfaceTypes", + "TC", + "TCCut", + "TCLevel", + "TCSlipAngle", + "TyresCompound", + "WheelsDetached", + "Yellow Flag State"}; + +const int event_table_count = sizeof(event_tables) / sizeof(event_tables[0]);