/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/plugins/PadNull/Pad.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/plugins/PadNull/Pad.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (10 years, 8 months ago) by william
File MIME type: text/plain
File size: 1390 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /* PadNull
2 * Copyright (C) 2004-2010 PCSX2 Dev Team
3 *
4 * PCSX2 is free software: you can redistribute it and/or modify it under the terms
5 * of the GNU Lesser General Public License as published by the Free Software Found-
6 * ation, either version 3 of the License, or (at your option) any later version.
7 *
8 * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 * PURPOSE. See the GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License along with PCSX2.
13 * If not, see <http://www.gnu.org/licenses/>.
14 */
15
16 #ifndef __PAD_H__
17 #define __PAD_H__
18
19 #include <stdio.h>
20
21 #define PADdefs
22 #include "PS2Edefs.h"
23
24 #ifdef _WIN32
25 #include "PadWin.h"
26 #else
27 #include "PadLinux.h"
28 #endif
29
30 /*#ifdef _MSC_VER
31 #define EXPORT_C_(type) extern "C" __declspec(dllexport) type CALLBACK
32 #else
33 #define EXPORT_C_(type) extern "C" type
34 #endif*/
35
36 #ifdef _MSC_VER
37 #define EXPORT_C_(type) extern "C" type CALLBACK
38 #else
39 #define EXPORT_C_(type) extern "C" type
40 #endif
41
42 #define PAD_LOG __Log
43
44 typedef struct
45 {
46 s32 Log;
47 } Config;
48
49 extern Config conf;
50 extern FILE *padLog;
51 extern keyEvent event;
52
53 extern void __Log(char *fmt, ...);
54 extern void SysMessage(char *fmt, ...);
55 extern void SaveConfig();
56 extern void LoadConfig();
57
58 #endif

  ViewVC Help
Powered by ViewVC 1.1.22