Skip to content

Retrieve & Serve Logicool G29 Inputs

License

Notifications You must be signed in to change notification settings

Mya-Mya/G29Connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G29Connector

G29 Connector reads the state of the connected G29 Driving Force Racing Wheel and hosts a http server to transmit it to your program.

⚠️Note that this program only works on Windows.

Compile

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

How to Use

Connect your G29 device to your PC before launch G29Connector. G29Connector hosts a http server to communicate with your program.

Server Information

  • Hostname : localhost
  • Port : 3829

Retrieve the state of G29

  • Request
    • Endpoint : /
    • Method : GET
    • Header : None
  • Response
    • Content Type : text/json
    • Body Structure: The following

Response Body Structure

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 $[0,1]$.
scalars.brake double The range is $[0,1]$.
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.

About

Retrieve & Serve Logicool G29 Inputs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages