Skip to content

v0.6.0

Choose a tag to compare

@taj-ny taj-ny released this 18 May 14:09
· 542 commits to main since this release
9b1cbd3

Important

This release introduces minor breaking changes (highlighted in bold).

Features

  • Automatic gesture conflict resolution
  • Stroke gesture
  • Mouse gestures (Plasma 6.3 required): press, wheel, stroke, swipe
  • Improved condition system based on variables (support for legacy conditions will be removed in v0.7)
  • any:, all:, none: condition groups
  • Gesture end conditions
  • Touchpad scroll timeout (controls when 2-finger swipes end) can be configured
  • one: action group - only executes a single action from the group, replaces Action.block_other
  • Gesture groups: apply a set of properties, including conditions, to many gestures

Changes

  • Project renamed to Input Actions, will eventually support other environments than just Plasma
  • Moved documentation to https://github.com/InputActions/docs - this allows me to change the documentation for a specific version and not introduce new stuff that doesn't exist in the latest stable version when a PR is merged

Fixed bugs

  • Update actions intervals belonging to single-directional gestures of certain directions only work if negative.

Fixed bugs

  • Non-zero interval actions of bidirectional gestures ignore the delta of the event where the direction changes. Due to the high polling rate, this wasn't noticeable at all.

Configuration

Changes

  • Device - Renamed to EventHandler
  • Gesture.type - New values (wheel, stroke), hold renamed to press but can still be used

New properties/types

  • ConditionGroup
  • EventHandler: blacklist, whitelist
  • Gesture: clear_modifiers, end_conditions, mouse_buttons
  • MouseEventHandler
  • OneConditionGroup
  • Root: mouse
  • TouchpadEventHandler
  • VariableCondition

Removed properties

  • Action.block_other - Use the one: action group instead
  • InputAction.keyboard - Use InputAction.input instead

Deprecated properties

These will continue to work until v0.7.

  • Gesture.fingers - Use the fingers variable in a condition instead.
  • Gesture.keyboard_modifiers - Use the keyboard_modifiers variable in a condition instead.