forked from marmalade/s3eHidController
-
Notifications
You must be signed in to change notification settings - Fork 1
/
s3eHidController.s4e
73 lines (48 loc) · 2.14 KB
/
s3eHidController.s4e
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
include:
#include <s3eTypes.h>
functions:
// Returns TRUE if the controller is connected
bool s3eHidControllerIsConnected() false
// Call this once per frame to update the game-pad
bool s3eHidControllerUpdate() false
// Returns value of Stick 1, X Axis between -1.0 and 1.0
float s3eHidControllerGetStick1XAxis() 0
// Returns value of Stick 1, Y Axis between -1.0 and 1.0
float s3eHidControllerGetStick1YAxis() 0
// Returns value of Stick 2, X Axis between -1.0 and 1.0
float s3eHidControllerGetStick2XAxis() 0
// Returns value of Stick 2, Y Axis between -1.0 and 1.0
float s3eHidControllerGetStick2YAxis() 0
// Returns value of Left Analog Trigger Button where 0.0 is not depressed and 1.0 is fully depressed
float s3eHidControllerGetLeftTrigger() 0
// Returns value of Right Analog Trigger Button where 0.0 is not depressed and 1.0 is fully depressed
float s3eHidControllerGetRightTrigger() 0
// Returns value of Button X or Square
bool s3eHidControllerGetButtonX() false
// Returns value of Button Y or Triangle
bool s3eHidControllerGetButtonY() false
// Returns value of Button A or Cross
bool s3eHidControllerGetButtonA() false
// Returns value of Button B or Circle
bool s3eHidControllerGetButtonB() false
// Returns value of DPAD Left button
bool s3eHidControllerGetButtonDPadLeft() false
// Returns value of DPAD Right button
bool s3eHidControllerGetButtonDPadRight() false
// Returns value of DPAD Up button
bool s3eHidControllerGetButtonDPadUp() false
// Returns value of DPAD Down button
bool s3eHidControllerGetButtonDPadDown() false
// Returns value of Left Shoulder button
bool s3eHidControllerGetButtonLShoulderDown() false
// Returns value of Right Shoulder button
bool s3eHidControllerGetButtonRShoulderDown() false
// Returns value of Start button
bool s3eHidControllerGetButtonStart() false
// Returns value of Select button
bool s3eHidControllerGetButtonSelect() false
// Returns value of left stick button - pressing stick itself down
bool s3eHidControllerGetButtonStick1() false
// Returns value of right stick button - pressing stick itself down
bool s3eHidControllerGetButtonStick2() false
bool s3eHidControllerUpdateLegacy(float dt) false