wiiuse
tatacon.h
Go to the documentation of this file.
1 /*
2  * wiiuse
3  *
4  * Written By:
5  * pixelomer
6  *
7  * Copyright 2026
8  *
9  * Adapted from nunchuk.h
10  *
11  * Written By:
12  * Michael Laforest < para >
13  * Email: < thepara (--AT--) g m a i l [--DOT--] com >
14  *
15  * Copyright 2006-2007
16  *
17  * This file is part of wiiuse.
18  *
19  * This program is free software; you can redistribute it and/or modify
20  * it under the terms of the GNU General Public License as published by
21  * the Free Software Foundation; either version 3 of the License, or
22  * (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program. If not, see <http://www.gnu.org/licenses/>.
31  *
32  * $Header$
33  *
34  */
35 
41 #ifndef TATACON_H_INCLUDED
42 #define TATACON_H_INCLUDED
43 
44 #include "wiiuse_internal.h"
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
52 int tatacon_handshake(struct wiimote_t *wm, struct tatacon_t *tatacon, byte *data, unsigned short len);
53 
54 void tatacon_disconnected(struct tatacon_t *tatacon);
55 
56 void tatacon_event(struct tatacon_t *tatacon, byte *msg);
57 
58 void tatacon_pressed_buttons(struct tatacon_t *tatacon, byte now);
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* TATACON_H_INCLUDED */
Main Wiimote device structure.
Definition: wiiuse.h:751
General internal wiiuse stuff.
void tatacon_disconnected(struct tatacon_t *tatacon)
The tatacon disconnected.
Definition: tatacon.c:76
Tatacon expansion device.
Definition: wiiuse.h:604
void tatacon_event(struct tatacon_t *tatacon, byte *msg)
Handle tatacon event.
Definition: tatacon.c:86
void tatacon_pressed_buttons(struct tatacon_t *tatacon, byte now)
Find what buttons are pressed.
Definition: tatacon.c:98