Main Content

Logitech G29 Steering Wheel

Receive Logitech G29 Steering Wheel read data

  • Logitech G29 Steering Wheel block

Libraries:
Simulink Real-Time / Logitech G29

Description

The Logitech G29 Steering Wheel block reads data from a Logitech® G29 Steering Wheel (PS3 only). The block does not support a Stick Shift module.

Ports

Output

expand all

The Buttons output is a vector of Boolean values that indicate the status of buttons on the steering wheel. The order of the button values in the vector is:

  1. Square

  2. X

  3. Circle

  4. Triangle

  5. LPaddle

  6. RPaddle

  7. L2

  8. R2

  9. L3

  10. R3

  11. Share

  12. Option

  13. PS

Data Types: Boolean

The Steering output value indicates the position of the steering wheel.

Data Types: uint16

The Pedals output is a vector of values that indicate the status of the throttle, brake, and clutch pedals. The order of the pedal values in the vector is:

  1. Throttle

  2. Brake

  3. Clutch

Data Types: uint8

The Direction output value indicates a button press on the direction pad. When you press the direction pad in between the pad buttons, intermediate values occur.

Data Types: uint8

The Status output value indicates successful communications with the steering wheel (0) or unsuccessful communications (negative value).

Data Types: int32

Parameters

expand all

Select the sample time for steering wheel data. The recommended sampleTime is 10ms.

Programmatic Use

Block Parameter: sampleTime

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2018b