function comment
This commit is contained in:
parent
18de188cf0
commit
b4a49bbbe6
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue