Parse back the log entries
[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
37     [CCode (cprefix="EVIO")]
38     public enum Evio
39     {
40         CGRAB
41     }
42 }