-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXBOXdefs.h
29 lines (28 loc) · 1.03 KB
/
XBOXdefs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __xboxdefs_h__
#define __xboxdefs_h__
#endif
//all very questionable
#define XBOX_BUTTON_A (0)
#define XBOX_BUTTON_B (1)
#define XBOX_BUTTON_X (2)
#define XBOX_BUTTON_Y (3)
#define XBOX_BUTTON_L (4)
#define XBOX_BUTTON_R (5)
#define XBOX_BUTTON_CLICK1 (6)
#define XBOX_BUTTON_CLICK2 (7)
#define XBOX_BUTTON_START (8)
#define XBOX_BUTTON_SELECT (9)
#define XBOX_BUTTON_TRIGR (10)
#define XBOX_BUTTON_TRIG2 (11)
//// these may or may not be right but it gets it to build
/*
#define XBOX_HAT_CENTERED (12)
#define XBOX_HAT_UP (13)
#define XBOX_HAT_RIGHT (14)
#define XBOX_HAT_LEFT (15)
#define XBOX_HAT_DOWN (16)
#define XBOX_HAT_LEFTUP (XBOX_HAT_UP|XBOX_HAT_LEFT)
#define XBOX_HAT_RIGHTUP (XBOX_HAT_UP|XBOX_HAT_RIGHT)
#define XBOX_HAT_LEFTDOWN (XBOX_HAT_DOWN|XBOX_HAT_LEFT)
#define XBOX_HAT_RIGHTDOWN (XBOX_HAT_DOWN|XBOX_HAT_RIGHT)
#endif __XBOXdefs_h__ */