diff --git a/g29py/params.py b/g29py/params.py index c936c1c..b6f1f2f 100644 --- a/g29py/params.py +++ b/g29py/params.py @@ -1,4 +1,5 @@ # Description: Parameters for the Logitech G29 Driving Force Racing Wheel +# using ints instead of heaxadecimal for easier reading # DEVICE NAME = "Logitech G29 Driving Force Racing Wheel" @@ -13,14 +14,14 @@ GAME_PAD = 0 BUTTON_MISC = 1 BUTTON_PLUS = 2 -BUTTON_MINUS = 3 +BUTTON_MISC2 = 3 STEERING_COARSE = 4 STEERING_FINE = 5 PEDAL_ACCELERATOR = 6 PEDAL_BRAKE = 7 PEDAL_CLUTCH = 8 -# GAME PAD +# GAME PAD (axis 0) GAME_PAD_NIL = 8 GAME_PAD_UP = 0 @@ -33,7 +34,7 @@ GAME_PAD_CIRCLE = 72 GAME_PAD_TRIANGLE = 136 -# MISC +# MISC (axis 1) MISC_NIL = 0 MISC_R2 = 4 MISC_R3 = 64 @@ -41,3 +42,12 @@ MISC_L3 = 128 MISC_SHARE = 16 MISC_OPTIONS = 32 + +BUTTON_PLUS_NIL = 0 +BUTTON_PLUS_ON = 128 + +MISC2_TRACK_RIGHT = 2 +MISC2_TRACK_LEFT = 4 +MISC2_BACK = 8 +MISC2_MINUS = 1 +MISC_PSTATION = 16