blob: a54fe9b5a24ac495d63db4347aebdbc562d77343 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
#ifndef _CMESSAGE_INPUT_H
#define _CMESSAGE_INPUT_H
#define MESSAGE_INPUT_KEYBOARD 0x00001100
#define MESSAGE_INPUT_MOUSE 0x00001200
#define MESSAGE_INPUT_WIIMOTE 0x00001400
#ifdef __cplusplus
extern "C" {
#endif
struct input_payload_keyboard
{
int specialkey;
int key;
int modifier;
int x;
int y;
};
struct input_payload_mouse
{
int passive;
int button;
int state;
int x;
int y;
};
#ifdef __cplusplus
}
#endif
#endif
|