G29 Connector reads the state of the connected G29 Driving Force Racing Wheel and hosts a http server to transmit it to your program.
This program needs the following external libraries. Download them.
When compiling, the following settings are required.
- Include Path
- cpp-httplib
- LogitechSteeringWheelSDK_X.Y.Z\Include
- Additional Library Directories
- LogitechSteeringWheelSDK_X.Y.Z\Lib\x64
- Additional Dependencies
- LogitechSteeringWheelLib.lib
Connect your G29 device to your PC before launch G29Connector. G29Connector hosts a http server to communicate with your program.
- Hostname :
localhost - Port :
3829
- Request
- Endpoint :
/ - Method :
GET - Header : None
- Endpoint :
- Response
- Content Type :
text/json - Body Structure: The following
- Content Type :
| Property | Type | Description |
|---|---|---|
scalars |
object | Collection of states in numerical form |
scalars.range_rad |
double | The operating steering range which is set by G29. You can change the range by Logitech G Hub app. |
scalars.steering_rad |
double | Steering angle by radian |
scalars.throttle |
double | The range is |
scalars.brake |
double | The range is |
scalars.timestamp |
double | Epoch time at which this state was collected |
buttons |
object | Collection of states in boolean form, especially whether or not each button is pressed. The following properties are available: circle, triangle, square, cross, R2, R3, L2, L3, plus, minus, share, options, playstation, return, paddle_right, paddle_left. |