Skip to content

ANT-remote has more functions (long press) #454

@WouterJD

Description

@WouterJD
          > 

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfuture developmentThis is not on the backlog for the coming releases

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions