Skip to content

Define hotkeys #457

@raphaelm

Description

@raphaelm

Hi!

First of all, thanks for cage, we love it!

We work on a kiosk device with a touchscreen and a device like this for accessibility for blind people:
https://www.storm-interface.com/atp/assistive-technology-products/audio-nav/audionavtm-cx-ble-module-white-led.html

We run chrome inside cage, and can easily handle the key codes of the arrow keys in our webapp.

However, the volume key is something we'd like to handle on higher level, i.e. when it gets pressed, we'd want to cycle through three different volume levels set through pipewire/pulseaudio. The key sends a regular key event with the key code F17.

I can't seem to figure out any way to bind F17 to a linux-level event. Is there any way to do this within cage?

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