Python driver for Logitech G29/G920 steering wheel and pedals. Provides a simple interface to read wheel angle, pedal positions, button states, and force feedback. Version 0.0.14, updated sporadically.
pip install g29pyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize G29, poll data, and print steering wheel angle and throttle position.
Run script with sudo or add a udev rule (see repository README).
Multiply by the max rotation angle (e.g., 900) to get degrees.
Call wheel.set_ffb(strength) inside the loop after poll().
Use 'from g29py.g29 import G29'.
Run as root/sudo, or add udev rules. Verify wheel is connected and in PS4/PC mode.
Close any program that may have claimed the HID interface.