enable large file support on Wii. used by tinysmb.
[libogc.git] / wiiuse / guitar_hero_3.h
blob353fe2285451a5fc2665c58ca3c8776fcf21c001
1 /*
2 * wiiuse
4 * Written By:
5 * Michael Laforest < para >
6 * Email: < thepara (--AT--) g m a i l [--DOT--] com >
8 * Copyright 2006-2007
10 * This file is part of wiiuse.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
25 * $Header: /lvm/shared/ds/ds/cvs/devkitpro-cvsbackup/libogc/wiiuse/guitar_hero_3.h,v 1.1 2008-05-08 09:42:14 shagkur Exp $
29 /**
30 * @file
31 * @brief Guitar Hero 3 expansion device.
34 #ifndef GUITAR_HERO_3_H_INCLUDED
35 #define GUITAR_HERO_3_H_INCLUDED
37 #include "wiiuse_internal.h"
39 #define GUITAR_HERO_3_JS_MASK 0x3F
40 #define GUITAR_HERO_3_TOUCH_MASK 0x1F
41 #define GUITAR_HERO_3_WHAMMY_MASK 0x1F
43 #define GUITAR_HERO_3_JS_MIN_X 0x05
44 #define GUITAR_HERO_3_JS_MAX_X 0x3C
45 #define GUITAR_HERO_3_JS_CENTER_X 0x20
46 #define GUITAR_HERO_3_JS_MIN_Y 0x05
47 #define GUITAR_HERO_3_JS_MAX_Y 0x3A
48 #define GUITAR_HERO_3_JS_CENTER_Y 0x20
49 #define GUITAR_HERO_3_WHAMMY_BAR_MIN 0x0F
50 #define GUITAR_HERO_3_WHAMMY_BAR_MAX 0x1A
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
56 int guitar_hero_3_handshake(struct wiimote_t* wm, struct guitar_hero_3_t* gh3, ubyte* data, uword len);
58 void guitar_hero_3_disconnected(struct guitar_hero_3_t* gh3);
60 void guitar_hero_3_event(struct guitar_hero_3_t* gh3, ubyte* msg);
62 #ifdef __cplusplus
64 #endif
66 #endif // GUITAR_HERO_3_H_INCLUDED