Set the send_control pointer on the drivers

== DETAIL

One minor detail missed in the last commit: actually putting the
send_control function into the driver declaration. Woops.

Not doing the Wii U because it will be using the other methods.
This commit is contained in:
gblues 2017-12-13 23:18:02 -08:00 committed by twinaphex
parent 5b37ced196
commit 982d6893b0
4 changed files with 4 additions and 0 deletions

View File

@ -1477,4 +1477,5 @@ hid_driver_t btstack_hid = {
btstack_hid_joypad_rumble, btstack_hid_joypad_rumble,
btstack_hid_joypad_name, btstack_hid_joypad_name,
"btstack", "btstack",
btpad_connection_send_control
}; };

View File

@ -860,4 +860,5 @@ hid_driver_t iohidmanager_hid = {
iohidmanager_hid_joypad_rumble, iohidmanager_hid_joypad_rumble,
iohidmanager_hid_joypad_name, iohidmanager_hid_joypad_name,
"iohidmanager", "iohidmanager",
iohidmanager_hid_device_send_control,
}; };

View File

@ -655,4 +655,5 @@ hid_driver_t libusb_hid = {
libusb_hid_joypad_rumble, libusb_hid_joypad_rumble,
libusb_hid_joypad_name, libusb_hid_joypad_name,
"libusb", "libusb",
libusb_hid_device_send_control,
}; };

View File

@ -630,4 +630,5 @@ hid_driver_t wiiusb_hid = {
wiiusb_hid_joypad_rumble, wiiusb_hid_joypad_rumble,
wiiusb_hid_joypad_name, wiiusb_hid_joypad_name,
"wiiusb", "wiiusb",
wiiusb_hid_device_send_control,
}; };