blob: f3a955b27b1c22cc06c78965ea7442fb2f1de4db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "keysym.h"
#include <stdint.h>
/* Generic Desktop Page (0x01) */
#define KS_PWR KS_SYSTEM_POWER
#define KS_SLEP KS_SYSTEM_SLEEP
#define KS_WAKE KS_SYSTEM_WAKE
enum keysym_system {
KS_SYSTEM_POWER = SPECIAL(0, S_SYSTEM),
KS_SYSTEM_SLEEP,
KS_SYSTEM_WAKE,
};
uint16_t keysym_to_system(uint32_t keysym);
|