sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gamepad.h
Go to the documentation of this file.
1 #ifndef _gamepad_h__
2 #define _gamepad_h__
3 
4 typedef struct {
5  // size of reports built by buildReport
7 
8  void (*init)(void);
9  void (*update)(void);
10  char (*changed)(void);
11  void (*buildReport)(unsigned char *buf);
12 
13  /* Check for the controller */
14  char (*probe)(void); /* return true if found */
15 } Gamepad;
16 
17 #endif // _gamepad_h__
18 
19 
int report_size
Definition: gamepad.h:6
tuple buf
Definition: DeviceGeneric.py:119
def init
Definition: ow-slave-test.py:11
Definition: gamepad.h:4