ToastFreeware
/
gregoa
/
zavai.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Power button event
[gregoa/zavai.git]
/
src
/
linux-input.vapi
1
[CCode (lower_case_cprefix="", cprefix="", cheader_filename="linux/input.h")]
2
namespace LinuxInput
3
{
4
[CCode (cname = "struct input_event")]
5
public struct Event
6
{
7
public Posix.timeval time;
8
public uint16 type;
9
public uint16 code;
10
[CCode (cname="value")]
11
public int32 val;
12
}
13
14
[CCode (cprefix="KEY_")]
15
public enum Key
16
{
17
POWER
18
}
19
20
[CCode (cprefix="EV_")]
21
public enum Type
22
{
23
SYN,
24
KEY,
25
REL,
26
ABS,
27
MSC,
28
SW,
29
LED,
30
SND,
31
REP,
32
FF,
33
PWR,
34
FF_STATUS
35
}
36
}