Chrysalis icon indicating copy to clipboard operation
Chrysalis copied to clipboard

Add Sleep & and Power keys to our database

Open algernon opened this issue 3 years ago • 1 comments
trafficstars

Borrowed from the forums: It would be nice if Chrysalis would make it easier to assign sleep & power keys.

Possible keycodes listed in this post, as:

  • System_Sleep: 16770
  • System_PowerDown: 16769
  • Consumer_Sleep: 18482
  • Consumer_Power: 18480

I have no idea whether we want the system or the consumer ones, or both.

algernon avatar Oct 11 '22 09:10 algernon

Long time ago, in a PR far far away, I've tried to address this...

https://github.com/Rom1deTroyes/Chrysalis/commit/6416d67956afdc7dedbdf6a8d1472dc939e809fb

I use these codes on Debian/GnuLinux since 1 year now, without any problem : db.lookup(18480), // power db.lookup(18481), // reset db.lookup(18482) // sleep

(don't have any idea why I haven't made a PR lately )-:

Rom1deTroyes avatar Oct 11 '22 11:10 Rom1deTroyes