From c426e8d5c150c032ff066607b1a629966e08b97c Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Wed, 8 Nov 2023 01:04:25 +0000 Subject: [PATCH] [+] coca joystick vendorid reporting --- src/cocoa_joystick.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cocoa_joystick.m b/src/cocoa_joystick.m index 865adac7..dc4de511 100644 --- a/src/cocoa_joystick.m +++ b/src/cocoa_joystick.m @@ -277,6 +277,10 @@ static void matchCallback(void* context, js->ns.buttons = buttons; js->ns.hats = hats; + js->usbinfo.vendor = vendor; + js->usbinfo.product = product; + js->usbinfo.version = version; + _glfwInputJoystick(js, GLFW_CONNECTED); }