Skip to content

Assigning action to a button #882

Answered by helgoboss
tompad2 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, to some degree. ReaLearn's learn function also captures executions of actions. This works for some actions better than for others, so you will have to see. I built a small example that uses the target "ReaLearn: Modify mapping - Learn target" to leverage this possibility. The downside is that when picking the action, it will also get executed. If you don't want that, a new feature needs to be built.

Let me know if it works!

Import this into the latest pre-release (2.16.0-pre.1 at the moment), not sure if it would work in older versions.

{
    kind = "MainCompartment",
    version = "2.16.0-pre.1",
    value = {
        mappings = {
            {
                id = "VvGtPhIWdS3q9xbQ…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by helgoboss
Comment options

You must be logged in to vote
1 reply
@helgoboss
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants