The device-buttons interface
device-buttons allows read and write access to device buttons exposed as input events. Such buttons can be defined using
gpio-keys inside the device tree bindings. Consult kernel documentation on gpio-keys for more details.
The interface can access
/dev/input/event* devices that are udev marked with
ID_INPUT_KEY=1 but are not keyboards (
Requires snapd version 2.37+.
Last updated a month ago. Help improve this document in the forum.