Welcome to mirror list, hosted at ThFree Co, Russian Federation.

wiimote.h - github.com/ClusterM/nes2wii.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 26890d04d8784aded41d0de08dee4ad948760497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef wiimote_h

#include "defines.h"
#include <string.h>
#include <avr/io.h>
#include <util/delay.h>
#include <util/twi.h>
#include <avr/interrupt.h>

extern volatile unsigned char twi_reg[256];
extern volatile unsigned int twi_reg_addr;

// initialize wiimote interface with id, starting data, and calibration data
void wm_init(unsigned char *, unsigned char *, void (*)(void));

// set button data
void wm_newaction(unsigned char *);

#define wiimote_h
#endif