BLE-Gamepad-Client 0.3.2
Loading...
Searching...
No Matches
BLEControlsEvent.h
1#pragma once
2
3#include "BLEBaseEvent.h"
4
26 float leftStickX{0.0f};
27
34 float leftStickY{0.0f};
35
42 float rightStickX{0.0f};
43
50 float rightStickY{0.0f};
51
53 bool leftStickButton{false};
54
56 bool rightStickButton{false};
57
59 bool dpadUp{false};
60
62 bool dpadDown{false};
63
65 bool dpadLeft{false};
66
68 bool dpadRight{false};
69
71 bool buttonA{false};
72
74 bool buttonB{false};
75
77 bool buttonX{false};
78
80 bool buttonY{false};
81
83 bool leftBumper{false};
84
86 bool rightBumper{false};
87
90 float leftTrigger{0.0f};
91
94 float rightTrigger{0.0f};
95
97 bool share{false};
98
100 bool menu{false};
101
103 bool view{false};
104
106 bool xbox{false};
107};
Definition BLEBaseEvent.h:5
Definition BLEControlsEvent.h:5
float leftTrigger
Pressure level of a left trigger. Takes values between 0.0 and 1.0. No pressure should yield 0....
Definition BLEControlsEvent.h:90
bool xbox
Xbox button, also known as guide button.
Definition BLEControlsEvent.h:106
bool dpadDown
Down button on the directional pad.
Definition BLEControlsEvent.h:62
bool rightBumper
Right bumper button, also known as the R1 or R shoulder button.
Definition BLEControlsEvent.h:86
bool dpadUp
Up button on the directional pad.
Definition BLEControlsEvent.h:59
bool share
Share button.
Definition BLEControlsEvent.h:97
float rightStickY
Right stick deflection along the Y-axis. Takes values between -1.0 and 1.0. No deflection should yiel...
Definition BLEControlsEvent.h:50
float leftStickX
Left stick deflection along the X-axis. Takes values between -1.0 and 1.0. No deflection should yield...
Definition BLEControlsEvent.h:26
bool buttonX
Face button B, also known as the triangle button.
Definition BLEControlsEvent.h:77
bool menu
Menu button, also known as start button.
Definition BLEControlsEvent.h:100
float leftStickY
Left stick deflection along the Y-axis. Takes values between -1.0 and 1.0. No deflection should yield...
Definition BLEControlsEvent.h:34
bool buttonA
Face button A, also known as the cross button.
Definition BLEControlsEvent.h:71
bool buttonB
Face button B, also known as the circle button.
Definition BLEControlsEvent.h:74
bool leftBumper
Left bumper button, also known as the L1 or L shoulder button.
Definition BLEControlsEvent.h:83
float rightStickX
Right stick deflection along the X-axis. Takes values between -1.0 and 1.0. No deflection should yiel...
Definition BLEControlsEvent.h:42
bool rightStickButton
Button activated when pressing down on the right stick, also known as the R3 button.
Definition BLEControlsEvent.h:56
bool dpadLeft
Left button on the directional pad.
Definition BLEControlsEvent.h:65
bool view
View button, also known as back button.
Definition BLEControlsEvent.h:103
bool leftStickButton
Button activated when pressing down on the left stick, also known as the L3 button.
Definition BLEControlsEvent.h:53
bool dpadRight
Right button on the directional pad.
Definition BLEControlsEvent.h:68
bool buttonY
Face button B, also known as the square button.
Definition BLEControlsEvent.h:80
float rightTrigger
Pressure level of a right trigger. Takes values between 0.0 and 1.0. No pressure should yield 0....
Definition BLEControlsEvent.h:94