Chrysalis
Chrysalis copied to clipboard
Add Sleep & and Power keys to our database
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: 16770System_PowerDown: 16769Consumer_Sleep: 18482Consumer_Power: 18480
I have no idea whether we want the system or the consumer ones, or both.
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 )-: