673015ff1c52f1b24bba398c85bbfca7396f2707
[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 }