Skip to content

how can I add custom actions to ambit? #4

@jafny

Description

@jafny

Let me start by saying thanks for this great repo, really excited to play around with it! One question I have is where can I register callbacks to execute when I get an Input? I see that I can use actionmaps for the executeCommand action when I receive input...but I was curious where I can define those callbacks.

Such as the below example: "rotation_left": { "action": "adjustTemperature", "behavior": "delta", "invert": true }

Where can I define what the adjustTemperature string argument maps to a callback function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions