Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Detect Power Button Devices for all supported systems #33

@Vincinator

Description

@Vincinator

Implement a method to get a list of power button devices, so that events from all power buttons of the system can be handled by auraed.

  • multiple power buttons are possible (depends on hardware)
  • detect the reboot button and handle it with a reboot instead
  • linux specific:
    • devices are listed in /proc/bus/input/devices
    • The integer X in /dev/input/eventX will vary. Thus, another reason why the detection is required.

Note a linux specific listener implementation: #31. BSD, OSX or other may handle input devices differently (I don't know yet).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueNew to the project? Looking for something to get started with?PID 1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions