Skip to content

KeyCapture - extension for key combinations #175

@benjaminaigner

Description

@benjaminaigner

The key capture plugin should support keycode combinations (e.g., CTRL+ALT+DEL) as property to trigger the event, similar to the actuator.keyboard plugin.

Following changes are necessary:

  • Add a new property "keyString", allowing backwards compatibility. This property allows key combinations, but NOT with integer keycodes. Modifiers will be escaped, similar to actuator.keyboard
  • Add a new output port to send out detected key-combinations or to send out every detected key in the same format as it is expected in the keyString property.
  • The current input port should be modified: If there is only one number given, it should be interpreted as keycode. If there is a string, it will be interpreted like the property "keyString". If someone needs pressed number keys, one or more numbers need to be escaped, enabling string interpretation.
  • Add 2 events, which switch the output port configuration (only detected combinations or "throughput")
  • Extend documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority 1That issue is highly essential and must be fixed/implementedenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions