Skip to content

Offer "connect/disconnect input device" as a trigger #2095

@GfEW

Description

@GfEW

Have you checked if an issue already exists for this feature request?

  • Nobody else has requested this feature before

What feature would you like added?

The Problem

KeyMapper, as of v4.0.5--foss 247, doesn't seem to offer a way to trigger specific actions upon connect/disconnect of a given input device. Although doing so might stretch the limits of a pure "key mapper", it's so closely related it would make a lot of sense.

Example scenarios include switching the input language after disconnect, or turning NumLock on upon connect (which is notoriously reset on some Android devices).

Suggested Solution

Offer one trigger each for "device connected" and "device disconnected", with the same device selector options like plain key triggers (currently Any device/This device/ID, to be improved).
I don't know if technically feasible, but UX wise, you could even capture it the same way, i. e. press "Tap to record trigger", then connect or disconnect your bluetooth keyboard (provided it's paired already).

App version

4.0.5-foss 247

Device model and manufacturer

diverse

Extra info

  • My device is rooted

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions