apparently yours has four buttons:
if ctrl_CommandNr == ctrl.MenuUp: TacxTrainer.Buttons = usbTrainer.UpButton
elif ctrl_CommandNr == ctrl.MenuDown: TacxTrainer.Buttons = usbTrainer.DownButton
elif ctrl_CommandNr == ctrl.MenuSelect: TacxTrainer.Buttons = usbTrainer.CancelButton
elif ctrl_CommandNr == ctrl.Start: TacxTrainer.Buttons = usbTrainer.OKButton
If I would adopt this code, the function of the select button (middle one) would change...
The control has 3 Buttons, but you can long press everyone for a different function.
I changed the code, so the middle button will change the front gear ring for short press, and reset the gearing with long press.
Originally posted by @krusty82 in #381 (comment)
The control has 3 Buttons, but you can long press everyone for a different function.
I changed the code, so the middle button will change the front gear ring for short press, and reset the gearing with long press.
Originally posted by @krusty82 in #381 (comment)