blob: b53f64d4d20c8653ca0f3aeb81fde2f7b64beb6d (
plain) (
blame)
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
38
39
40
41
42
43
44
45
46
47
|
/* PADwin
* Copyright (C) 2002-2004 PADwin Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __PAD_H__
#define __PAD_H__
#include "PadSSSPSXres.h"
typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
typedef __int64 s64;
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned __int64 u64;
typedef struct
{
u32 key;
u32 event;
} keyEvent;
typedef struct
{
u32 keys[2][21];
u32 dualshock;
u32 visualvibration[2];
} Config;
#endif
|