Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Allow configuration of combinations and/or long-presses #98

Description

@tcdude

From what I can tell, the configuration currently only allows to assign single, short presses of buttons. Special events such as long-presses and/or pressing multiple buttons at the same time are hard coded and are not directly user configurable.

I would propose enhancing the config file and parsing as follows:

  • Instead of looking for hard coded keys (i.e. button1, button2, ...), maybe loop through the available keys and evaluate the key
  • To enable combinations, keys could be a series of buttons concatenated with the symbol +
  • A prefix could be defined to indicate that the button or button combination that follows only applies for long pressing that combination

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions