crash.software
Projects
Pull Requests
Issues
Builds
EvilCrow-Keylogger
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
EvilCrow-Keylogger
Files
🤬
Sign In
master
ROOT
/
libraries
/
USB_Host_Shield_2.0
/
PS4Parser.h
Search
History
374 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_ps4parser_h_
PS4Buttons
(anonymous)
val
:
uint32_tval : 24
touchpadXY
dummy
:
uint8_t
(anonymous)
PS4Status
battery
:
uint8_tbattery : 4
usb
:
uint8_tusb : 1
audio
:
uint8_taudio : 1
mic
:
uint8_tmic : 1
unknown
:
uint8_tunknown : 1
PS4Data
hatValue
:
uint8_t[4]
btn
:
PS4Buttons
trigger
:
uint8_t[2]
dummy
:
uint8_t[3]
gyroY
:
int16_t
gyroZ
:
int16_t
gyroX
:
int16_t
accX
:
int16_t
accZ
:
int16_t
accY
:
int16_t
dummy2
:
uint8_t[5]
status
:
PS4Status
dummy3
:
uint8_t[3]
xy
:
touchpadXY[3]
PS4Output
bigRumble
:
uint8_t
smallRumble
:
uint8_t
r
:
uint8_t
g
:
uint8_t
b
:
uint8_t
flashOn
:
uint8_t
flashOff
:
uint8_t
reportChanged
:
bool
PS4Parser
PS4Parser
(
)
{...}
getButtonPress
(
ButtonEnum
)
:
bool
getButtonClick
(
ButtonEnum
)
:
bool
getAnalogButton
(
ButtonEnum
)
:
uint8_t
getAnalogHat
(
AnalogHatEnum
)
:
uint8_t
getX
(
uint8_t= 0,uint8_t= 0
)
{...}
:
uint16_t
getY
(
uint8_t= 0,uint8_t= 0
)
{...}
:
uint16_t
isTouching
(
uint8_t= 0,uint8_t= 0
)
{...}
:
bool
getTouchCounter
(
uint8_t= 0,uint8_t= 0
)
{...}
:
uint8_t
getAngle
(
AngleEnum
)
{...}
:
float
getSensor
(
SensorEnum
)
{...}
:
int16_t
getBatteryLevel
(
)
{...}
:
uint8_t
getUsbStatus
(
)
{...}
:
bool
getAudioStatus
(
)
{...}
:
bool
getMicStatus
(
)
{...}
:
bool
setAllOff
(
)
{...}
:
void
setRumbleOff
(
)
{...}
:
void
setRumbleOn
(
RumbleEnum
)
{...}
:
void
setRumbleOn
(
uint8_t,uint8_t
)
{...}
:
void
setLedOff
(
)
{...}
:
void
setLed
(
uint8_t,uint8_t,uint8_t
)
{...}
:
void
setLed
(
ColorsEnum
)
{...}
:
void
setLedFlash
(
uint8_t,uint8_t
)
{...}
:
void
Parse
(
uint8_t,uint8_t*
)
:
void
Reset
(
)
:
void
sendOutputReport
(
PS4Output*
)
:
void
checkDpad
(
ButtonEnum
)
:
bool
ps4Data
:
PS4Data
oldButtonState
:
PS4Buttons
buttonClickState
:
PS4Buttons
ps4Output
:
PS4Output
oldDpad
:
uint8_t
All occurrences
Please wait...
Page is in error, reload to recover