function comment

This commit is contained in:
Denis 2023-11-27 01:53:08 +01:00
parent 18de188cf0
commit b4a49bbbe6
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03

View file

@ -640,6 +640,9 @@ static ds4_dpad_status_t ds4_dpad_from_gamepad(uint8_t dpad) {
return DPAD_RELEASED;
}
/**
* This function arranges HID packets as described on https://www.psdevwiki.com/ps4/DS4-USB
*/
static int send_data(int fd, logic_t *const logic) {
gamepad_status_t gs;
const int gs_copy_res = logic_copy_gamepad_status(logic, &gs);